@atlaskit/adf-schema 44.6.0 → 44.6.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 +6 -0
- package/dist/cjs/validator-schema/generated/validatorSpec.js +883 -883
- package/dist/es2019/validator-schema/generated/validatorSpec.js +883 -883
- package/dist/esm/validator-schema/generated/validatorSpec.js +883 -883
- package/dist/json-schema/v1/full.json +1502 -1502
- package/dist/json-schema/v1/stage-0.json +1719 -1719
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +779 -779
- package/json-schema/v1/full.json +1502 -1502
- package/json-schema/v1/stage-0.json +1719 -1719
- package/package.json +2 -2
@@ -4,6 +4,58 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
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
|
+
var alignment = exports.alignment = {
|
8
|
+
props: {
|
9
|
+
type: {
|
10
|
+
type: 'enum',
|
11
|
+
values: ['alignment']
|
12
|
+
},
|
13
|
+
attrs: {
|
14
|
+
props: {
|
15
|
+
align: {
|
16
|
+
type: 'enum',
|
17
|
+
values: ['center', 'end']
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
};
|
23
|
+
var annotation = exports.annotation = {
|
24
|
+
props: {
|
25
|
+
type: {
|
26
|
+
type: 'enum',
|
27
|
+
values: ['annotation']
|
28
|
+
},
|
29
|
+
attrs: {
|
30
|
+
props: {
|
31
|
+
id: {
|
32
|
+
type: 'string'
|
33
|
+
},
|
34
|
+
annotationType: {
|
35
|
+
type: 'enum',
|
36
|
+
values: ['inlineComment']
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
};
|
42
|
+
var backgroundColor = exports.backgroundColor = {
|
43
|
+
props: {
|
44
|
+
type: {
|
45
|
+
type: 'enum',
|
46
|
+
values: ['backgroundColor']
|
47
|
+
},
|
48
|
+
attrs: {
|
49
|
+
props: {
|
50
|
+
color: {
|
51
|
+
pattern: '^#[0-9a-fA-F]{6}$',
|
52
|
+
type: 'string'
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
};
|
58
|
+
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'];
|
7
59
|
var blockCard = exports.blockCard = {
|
8
60
|
props: {
|
9
61
|
type: {
|
@@ -69,15 +121,62 @@ var blockCard = exports.blockCard = {
|
|
69
121
|
},
|
70
122
|
required: ['attrs']
|
71
123
|
};
|
72
|
-
var
|
124
|
+
var blockquote = exports.blockquote = {
|
73
125
|
props: {
|
74
126
|
type: {
|
75
127
|
type: 'enum',
|
76
|
-
values: ['
|
128
|
+
values: ['blockquote']
|
77
129
|
},
|
78
|
-
|
79
|
-
type: '
|
80
|
-
|
130
|
+
content: {
|
131
|
+
type: 'array',
|
132
|
+
items: [['paragraph_with_no_marks', 'orderedList', 'bulletList', 'codeBlock_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup']],
|
133
|
+
minItems: 1,
|
134
|
+
allowUnsupportedBlock: true
|
135
|
+
}
|
136
|
+
}
|
137
|
+
};
|
138
|
+
var blockRootOnly = exports.blockRootOnly = ['multiBodiedExtension'];
|
139
|
+
var bodiedExtension = exports.bodiedExtension = {
|
140
|
+
props: {
|
141
|
+
type: {
|
142
|
+
type: 'enum',
|
143
|
+
values: ['bodiedExtension']
|
144
|
+
},
|
145
|
+
attrs: {
|
146
|
+
props: {
|
147
|
+
extensionKey: {
|
148
|
+
minLength: 1,
|
149
|
+
type: 'string'
|
150
|
+
},
|
151
|
+
extensionType: {
|
152
|
+
minLength: 1,
|
153
|
+
type: 'string'
|
154
|
+
},
|
155
|
+
parameters: {
|
156
|
+
type: 'object',
|
157
|
+
optional: true
|
158
|
+
},
|
159
|
+
text: {
|
160
|
+
type: 'string',
|
161
|
+
optional: true
|
162
|
+
},
|
163
|
+
layout: {
|
164
|
+
type: 'enum',
|
165
|
+
values: ['wide', 'full-width', 'default'],
|
166
|
+
optional: true
|
167
|
+
},
|
168
|
+
localId: {
|
169
|
+
minLength: 1,
|
170
|
+
type: 'string',
|
171
|
+
optional: true
|
172
|
+
}
|
173
|
+
}
|
174
|
+
},
|
175
|
+
content: {
|
176
|
+
type: 'array',
|
177
|
+
items: ['non_nestable_block_content'],
|
178
|
+
minItems: 1,
|
179
|
+
allowUnsupportedBlock: true
|
81
180
|
},
|
82
181
|
marks: {
|
83
182
|
type: 'array',
|
@@ -86,6 +185,91 @@ var text = exports.text = {
|
|
86
185
|
}
|
87
186
|
}
|
88
187
|
};
|
188
|
+
var bodiedExtension_with_marks = exports.bodiedExtension_with_marks = ['bodiedExtension', {
|
189
|
+
props: {
|
190
|
+
marks: {
|
191
|
+
type: 'array',
|
192
|
+
optional: true,
|
193
|
+
items: [['dataConsumer', 'fragment']]
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}];
|
197
|
+
var border = exports.border = {
|
198
|
+
props: {
|
199
|
+
type: {
|
200
|
+
type: 'enum',
|
201
|
+
values: ['border']
|
202
|
+
},
|
203
|
+
attrs: {
|
204
|
+
props: {
|
205
|
+
size: {
|
206
|
+
type: 'number',
|
207
|
+
minimum: 1,
|
208
|
+
maximum: 3
|
209
|
+
},
|
210
|
+
color: {
|
211
|
+
pattern: '^#[0-9a-fA-F]{8}$|^#[0-9a-fA-F]{6}$',
|
212
|
+
type: 'string'
|
213
|
+
}
|
214
|
+
}
|
215
|
+
}
|
216
|
+
}
|
217
|
+
};
|
218
|
+
var breakout = exports.breakout = {
|
219
|
+
props: {
|
220
|
+
type: {
|
221
|
+
type: 'enum',
|
222
|
+
values: ['breakout']
|
223
|
+
},
|
224
|
+
attrs: {
|
225
|
+
props: {
|
226
|
+
mode: {
|
227
|
+
type: 'enum',
|
228
|
+
values: ['wide', 'full-width']
|
229
|
+
},
|
230
|
+
width: {
|
231
|
+
type: 'number',
|
232
|
+
optional: true
|
233
|
+
}
|
234
|
+
}
|
235
|
+
}
|
236
|
+
}
|
237
|
+
};
|
238
|
+
var bulletList = exports.bulletList = {
|
239
|
+
props: {
|
240
|
+
type: {
|
241
|
+
type: 'enum',
|
242
|
+
values: ['bulletList']
|
243
|
+
},
|
244
|
+
content: {
|
245
|
+
type: 'array',
|
246
|
+
items: [['listItem', 'listItem_with_nested_decision']],
|
247
|
+
minItems: 1
|
248
|
+
}
|
249
|
+
}
|
250
|
+
};
|
251
|
+
var caption = exports.caption = {
|
252
|
+
props: {
|
253
|
+
type: {
|
254
|
+
type: 'enum',
|
255
|
+
values: ['caption']
|
256
|
+
},
|
257
|
+
content: {
|
258
|
+
type: 'array',
|
259
|
+
items: [['hardBreak', 'mention', 'emoji', 'date', 'placeholder', 'inlineCard', 'status', 'text_formatted', 'text_code_inline']],
|
260
|
+
optional: true,
|
261
|
+
allowUnsupportedInline: true
|
262
|
+
}
|
263
|
+
}
|
264
|
+
};
|
265
|
+
var code = exports.code = {
|
266
|
+
props: {
|
267
|
+
type: {
|
268
|
+
type: 'enum',
|
269
|
+
values: ['code']
|
270
|
+
}
|
271
|
+
}
|
272
|
+
};
|
89
273
|
var codeBlock = exports.codeBlock = {
|
90
274
|
props: {
|
91
275
|
type: {
|
@@ -142,245 +326,162 @@ var codeBlock_with_no_marks = exports.codeBlock_with_no_marks = ['codeBlock', {
|
|
142
326
|
}
|
143
327
|
}
|
144
328
|
}];
|
145
|
-
var
|
329
|
+
var confluenceInlineComment = exports.confluenceInlineComment = {
|
146
330
|
props: {
|
147
331
|
type: {
|
148
332
|
type: 'enum',
|
149
|
-
values: ['
|
333
|
+
values: ['confluenceInlineComment']
|
150
334
|
},
|
151
|
-
attrs:
|
335
|
+
attrs: {
|
152
336
|
props: {
|
153
|
-
|
154
|
-
type: '
|
155
|
-
minimum: 0,
|
156
|
-
maximum: 100,
|
157
|
-
optional: true
|
158
|
-
},
|
159
|
-
layout: {
|
160
|
-
type: 'enum',
|
161
|
-
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
162
|
-
},
|
163
|
-
widthType: {
|
164
|
-
type: 'enum',
|
165
|
-
values: ['percentage'],
|
166
|
-
optional: true
|
337
|
+
reference: {
|
338
|
+
type: 'string'
|
167
339
|
}
|
168
340
|
}
|
169
|
-
}
|
341
|
+
}
|
342
|
+
}
|
343
|
+
};
|
344
|
+
var dataConsumer = exports.dataConsumer = {
|
345
|
+
props: {
|
346
|
+
type: {
|
347
|
+
type: 'enum',
|
348
|
+
values: ['dataConsumer']
|
349
|
+
},
|
350
|
+
attrs: {
|
170
351
|
props: {
|
171
|
-
|
172
|
-
type: '
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
values: ['pixel']
|
178
|
-
},
|
179
|
-
layout: {
|
180
|
-
type: 'enum',
|
181
|
-
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
352
|
+
sources: {
|
353
|
+
type: 'array',
|
354
|
+
items: [{
|
355
|
+
type: 'string'
|
356
|
+
}],
|
357
|
+
minItems: 1
|
182
358
|
}
|
183
359
|
}
|
184
|
-
}],
|
185
|
-
marks: {
|
186
|
-
type: 'array',
|
187
|
-
optional: true,
|
188
|
-
items: ['link']
|
189
360
|
}
|
190
361
|
}
|
191
362
|
};
|
192
|
-
var
|
363
|
+
var date = exports.date = {
|
193
364
|
props: {
|
194
365
|
type: {
|
195
366
|
type: 'enum',
|
196
|
-
values: ['
|
367
|
+
values: ['date']
|
197
368
|
},
|
198
|
-
attrs:
|
369
|
+
attrs: {
|
199
370
|
props: {
|
200
|
-
|
201
|
-
type: 'enum',
|
202
|
-
values: ['link', 'file']
|
203
|
-
},
|
204
|
-
id: {
|
205
|
-
minLength: 1,
|
206
|
-
type: 'string'
|
207
|
-
},
|
208
|
-
alt: {
|
209
|
-
type: 'string',
|
210
|
-
optional: true
|
211
|
-
},
|
212
|
-
collection: {
|
213
|
-
type: 'string'
|
214
|
-
},
|
215
|
-
height: {
|
216
|
-
type: 'number',
|
217
|
-
optional: true
|
218
|
-
},
|
219
|
-
occurrenceKey: {
|
371
|
+
timestamp: {
|
220
372
|
minLength: 1,
|
221
|
-
type: 'string',
|
222
|
-
optional: true
|
223
|
-
},
|
224
|
-
width: {
|
225
|
-
type: 'number',
|
226
|
-
optional: true
|
227
|
-
}
|
228
|
-
}
|
229
|
-
}, {
|
230
|
-
props: {
|
231
|
-
type: {
|
232
|
-
type: 'enum',
|
233
|
-
values: ['external']
|
234
|
-
},
|
235
|
-
alt: {
|
236
|
-
type: 'string',
|
237
|
-
optional: true
|
238
|
-
},
|
239
|
-
height: {
|
240
|
-
type: 'number',
|
241
|
-
optional: true
|
242
|
-
},
|
243
|
-
width: {
|
244
|
-
type: 'number',
|
245
|
-
optional: true
|
246
|
-
},
|
247
|
-
url: {
|
248
373
|
type: 'string'
|
249
374
|
}
|
250
375
|
}
|
251
|
-
}
|
376
|
+
},
|
252
377
|
marks: {
|
253
378
|
type: 'array',
|
254
379
|
optional: true,
|
255
|
-
items: [
|
380
|
+
items: ['annotation']
|
256
381
|
}
|
257
|
-
}
|
258
|
-
required: ['attrs']
|
382
|
+
}
|
259
383
|
};
|
260
|
-
var
|
384
|
+
var decisionItem = exports.decisionItem = {
|
261
385
|
props: {
|
262
386
|
type: {
|
263
387
|
type: 'enum',
|
264
|
-
values: ['
|
388
|
+
values: ['decisionItem']
|
265
389
|
},
|
266
390
|
attrs: {
|
267
391
|
props: {
|
268
|
-
|
269
|
-
type: 'string'
|
270
|
-
validatorFn: 'safeUrl'
|
271
|
-
},
|
272
|
-
title: {
|
273
|
-
type: 'string',
|
274
|
-
optional: true
|
275
|
-
},
|
276
|
-
id: {
|
277
|
-
type: 'string',
|
278
|
-
optional: true
|
279
|
-
},
|
280
|
-
collection: {
|
281
|
-
type: 'string',
|
282
|
-
optional: true
|
392
|
+
localId: {
|
393
|
+
type: 'string'
|
283
394
|
},
|
284
|
-
|
285
|
-
type: 'string'
|
286
|
-
optional: true
|
395
|
+
state: {
|
396
|
+
type: 'string'
|
287
397
|
}
|
288
398
|
}
|
399
|
+
},
|
400
|
+
content: {
|
401
|
+
type: 'array',
|
402
|
+
items: ['inline_content'],
|
403
|
+
optional: true,
|
404
|
+
allowUnsupportedInline: true
|
289
405
|
}
|
290
406
|
}
|
291
407
|
};
|
292
|
-
var
|
408
|
+
var decisionList = exports.decisionList = {
|
293
409
|
props: {
|
294
410
|
type: {
|
295
411
|
type: 'enum',
|
296
|
-
values: ['
|
412
|
+
values: ['decisionList']
|
297
413
|
},
|
298
414
|
attrs: {
|
299
415
|
props: {
|
300
|
-
|
416
|
+
localId: {
|
301
417
|
type: 'string'
|
302
|
-
},
|
303
|
-
annotationType: {
|
304
|
-
type: 'enum',
|
305
|
-
values: ['inlineComment']
|
306
418
|
}
|
307
419
|
}
|
420
|
+
},
|
421
|
+
content: {
|
422
|
+
type: 'array',
|
423
|
+
items: ['decisionItem'],
|
424
|
+
minItems: 1,
|
425
|
+
allowUnsupportedBlock: true
|
308
426
|
}
|
309
427
|
}
|
310
428
|
};
|
311
|
-
var
|
429
|
+
var doc = exports.doc = {
|
312
430
|
props: {
|
313
431
|
type: {
|
314
432
|
type: 'enum',
|
315
|
-
values: ['
|
433
|
+
values: ['doc']
|
316
434
|
},
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
pattern: '^#[0-9a-fA-F]{8}$|^#[0-9a-fA-F]{6}$',
|
326
|
-
type: 'string'
|
327
|
-
}
|
328
|
-
}
|
435
|
+
version: {
|
436
|
+
type: 'enum',
|
437
|
+
values: [1]
|
438
|
+
},
|
439
|
+
content: {
|
440
|
+
type: 'array',
|
441
|
+
items: [['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', 'codeBlock_with_marks', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_with_breakout_mark']],
|
442
|
+
allowUnsupportedBlock: true
|
329
443
|
}
|
330
444
|
}
|
331
445
|
};
|
332
|
-
var
|
446
|
+
var em = exports.em = {
|
333
447
|
props: {
|
334
448
|
type: {
|
335
449
|
type: 'enum',
|
336
|
-
values: ['
|
337
|
-
},
|
338
|
-
attrs: {
|
339
|
-
props: {
|
340
|
-
text: {
|
341
|
-
type: 'enum',
|
342
|
-
values: ['\n'],
|
343
|
-
optional: true
|
344
|
-
}
|
345
|
-
},
|
346
|
-
optional: true
|
450
|
+
values: ['em']
|
347
451
|
}
|
348
452
|
}
|
349
453
|
};
|
350
|
-
var
|
454
|
+
var embedCard = exports.embedCard = {
|
351
455
|
props: {
|
352
456
|
type: {
|
353
457
|
type: 'enum',
|
354
|
-
values: ['
|
458
|
+
values: ['embedCard']
|
355
459
|
},
|
356
460
|
attrs: {
|
357
461
|
props: {
|
358
|
-
|
359
|
-
type: 'string'
|
360
|
-
},
|
361
|
-
localId: {
|
462
|
+
url: {
|
362
463
|
type: 'string',
|
363
|
-
|
464
|
+
validatorFn: 'safeUrl'
|
364
465
|
},
|
365
|
-
|
366
|
-
type: '
|
466
|
+
layout: {
|
467
|
+
type: 'enum',
|
468
|
+
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
469
|
+
},
|
470
|
+
width: {
|
471
|
+
type: 'number',
|
472
|
+
maximum: 100,
|
473
|
+
minimum: 0,
|
367
474
|
optional: true
|
368
475
|
},
|
369
|
-
|
370
|
-
type: '
|
476
|
+
originalHeight: {
|
477
|
+
type: 'number',
|
371
478
|
optional: true
|
372
479
|
},
|
373
|
-
|
374
|
-
type: '
|
375
|
-
values: ['DEFAULT', 'SPECIAL', 'APP'],
|
480
|
+
originalWidth: {
|
481
|
+
type: 'number',
|
376
482
|
optional: true
|
377
483
|
}
|
378
484
|
}
|
379
|
-
},
|
380
|
-
marks: {
|
381
|
-
type: 'array',
|
382
|
-
optional: true,
|
383
|
-
items: ['annotation']
|
384
485
|
}
|
385
486
|
}
|
386
487
|
};
|
@@ -412,91 +513,83 @@ var emoji = exports.emoji = {
|
|
412
513
|
}
|
413
514
|
}
|
414
515
|
};
|
415
|
-
var
|
516
|
+
var expand = exports.expand = {
|
416
517
|
props: {
|
417
518
|
type: {
|
418
519
|
type: 'enum',
|
419
|
-
values: ['
|
520
|
+
values: ['expand']
|
420
521
|
},
|
421
522
|
attrs: {
|
422
523
|
props: {
|
423
|
-
|
424
|
-
|
425
|
-
|
524
|
+
title: {
|
525
|
+
type: 'string',
|
526
|
+
optional: true
|
426
527
|
}
|
427
528
|
}
|
428
529
|
},
|
530
|
+
content: {
|
531
|
+
type: 'array',
|
532
|
+
items: [['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
533
|
+
minItems: 1,
|
534
|
+
allowUnsupportedBlock: true
|
535
|
+
},
|
429
536
|
marks: {
|
430
537
|
type: 'array',
|
431
|
-
|
432
|
-
|
538
|
+
items: [],
|
539
|
+
optional: true
|
433
540
|
}
|
434
541
|
}
|
435
542
|
};
|
436
|
-
var
|
543
|
+
var expand_with_breakout_mark = exports.expand_with_breakout_mark = ['expand', {
|
437
544
|
props: {
|
438
|
-
|
439
|
-
type: '
|
440
|
-
|
441
|
-
|
442
|
-
attrs: {
|
443
|
-
props: {
|
444
|
-
text: {
|
445
|
-
type: 'string'
|
446
|
-
}
|
447
|
-
}
|
545
|
+
marks: {
|
546
|
+
type: 'array',
|
547
|
+
optional: true,
|
548
|
+
items: ['breakout']
|
448
549
|
}
|
449
550
|
}
|
450
|
-
};
|
451
|
-
var
|
551
|
+
}];
|
552
|
+
var expand_with_no_mark = exports.expand_with_no_mark = ['expand', {
|
452
553
|
props: {
|
453
|
-
type: {
|
454
|
-
type: 'enum',
|
455
|
-
values: ['inlineCard']
|
456
|
-
},
|
457
|
-
attrs: [{
|
458
|
-
props: {
|
459
|
-
url: {
|
460
|
-
type: 'string',
|
461
|
-
validatorFn: 'safeUrl'
|
462
|
-
}
|
463
|
-
}
|
464
|
-
}, {
|
465
|
-
props: {
|
466
|
-
data: {
|
467
|
-
type: 'object'
|
468
|
-
}
|
469
|
-
}
|
470
|
-
}],
|
471
554
|
marks: {
|
472
|
-
|
473
|
-
|
474
|
-
|
555
|
+
type: 'array',
|
556
|
+
maxItems: 0,
|
557
|
+
items: [],
|
558
|
+
optional: true
|
475
559
|
}
|
476
|
-
}
|
477
|
-
|
478
|
-
|
479
|
-
var status = exports.status = {
|
560
|
+
}
|
561
|
+
}];
|
562
|
+
var extension = exports.extension = {
|
480
563
|
props: {
|
481
564
|
type: {
|
482
565
|
type: 'enum',
|
483
|
-
values: ['
|
566
|
+
values: ['extension']
|
484
567
|
},
|
485
568
|
attrs: {
|
486
569
|
props: {
|
487
|
-
|
570
|
+
extensionKey: {
|
488
571
|
minLength: 1,
|
489
572
|
type: 'string'
|
490
573
|
},
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
},
|
495
|
-
|
574
|
+
extensionType: {
|
575
|
+
minLength: 1,
|
576
|
+
type: 'string'
|
577
|
+
},
|
578
|
+
parameters: {
|
579
|
+
type: 'object',
|
580
|
+
optional: true
|
581
|
+
},
|
582
|
+
text: {
|
496
583
|
type: 'string',
|
497
584
|
optional: true
|
498
585
|
},
|
499
|
-
|
586
|
+
layout: {
|
587
|
+
type: 'enum',
|
588
|
+
values: ['wide', 'full-width', 'default'],
|
589
|
+
optional: true
|
590
|
+
},
|
591
|
+
localId: {
|
592
|
+
minLength: 1,
|
500
593
|
type: 'string',
|
501
594
|
optional: true
|
502
595
|
}
|
@@ -504,189 +597,182 @@ var status = exports.status = {
|
|
504
597
|
},
|
505
598
|
marks: {
|
506
599
|
type: 'array',
|
507
|
-
|
508
|
-
|
600
|
+
items: [],
|
601
|
+
optional: true
|
509
602
|
}
|
510
603
|
}
|
511
604
|
};
|
512
|
-
var
|
513
|
-
props: {
|
514
|
-
marks: {
|
515
|
-
type: 'array',
|
516
|
-
optional: true,
|
517
|
-
items: [['link', 'em', 'strong', 'strike', 'subsup', 'underline', 'textColor', 'annotation', 'backgroundColor', null]]
|
518
|
-
}
|
519
|
-
}
|
520
|
-
}];
|
521
|
-
var text_code_inline = exports.text_code_inline = ['text', {
|
605
|
+
var extension_with_marks = exports.extension_with_marks = ['extension', {
|
522
606
|
props: {
|
523
607
|
marks: {
|
524
608
|
type: 'array',
|
525
609
|
optional: true,
|
526
|
-
items: [['
|
610
|
+
items: [['dataConsumer', 'fragment']]
|
527
611
|
}
|
528
612
|
}
|
529
613
|
}];
|
530
|
-
var
|
531
|
-
props: {
|
532
|
-
type: {
|
533
|
-
type: 'enum',
|
534
|
-
values: ['em']
|
535
|
-
}
|
536
|
-
}
|
537
|
-
};
|
538
|
-
var strong = exports.strong = {
|
539
|
-
props: {
|
540
|
-
type: {
|
541
|
-
type: 'enum',
|
542
|
-
values: ['strong']
|
543
|
-
}
|
544
|
-
}
|
545
|
-
};
|
546
|
-
var strike = exports.strike = {
|
547
|
-
props: {
|
548
|
-
type: {
|
549
|
-
type: 'enum',
|
550
|
-
values: ['strike']
|
551
|
-
}
|
552
|
-
}
|
553
|
-
};
|
554
|
-
var subsup = exports.subsup = {
|
614
|
+
var extensionFrame = exports.extensionFrame = {
|
555
615
|
props: {
|
556
616
|
type: {
|
557
617
|
type: 'enum',
|
558
|
-
values: ['
|
618
|
+
values: ['extensionFrame']
|
559
619
|
},
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
};
|
570
|
-
var underline = exports.underline = {
|
571
|
-
props: {
|
572
|
-
type: {
|
573
|
-
type: 'enum',
|
574
|
-
values: ['underline']
|
620
|
+
content: {
|
621
|
+
type: 'array',
|
622
|
+
items: [['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock_with_no_marks', 'mediaGroup', 'mediaSingle_full', 'mediaSingle_caption', 'decisionList', 'taskList', 'table', 'extension_with_marks', 'bodiedExtension_with_marks', 'blockCard', 'embedCard']],
|
623
|
+
minItems: 1
|
624
|
+
},
|
625
|
+
marks: {
|
626
|
+
type: 'array',
|
627
|
+
optional: true,
|
628
|
+
items: [['dataConsumer', 'fragment']]
|
575
629
|
}
|
576
630
|
}
|
577
631
|
};
|
578
|
-
var
|
632
|
+
var fragment = exports.fragment = {
|
579
633
|
props: {
|
580
634
|
type: {
|
581
635
|
type: 'enum',
|
582
|
-
values: ['
|
636
|
+
values: ['fragment']
|
583
637
|
},
|
584
638
|
attrs: {
|
585
639
|
props: {
|
586
|
-
|
640
|
+
localId: {
|
641
|
+
minLength: 1,
|
642
|
+
type: 'string'
|
643
|
+
},
|
644
|
+
name: {
|
587
645
|
type: 'string',
|
588
|
-
|
646
|
+
optional: true
|
589
647
|
}
|
590
648
|
}
|
591
649
|
}
|
592
650
|
}
|
593
651
|
};
|
594
|
-
var
|
652
|
+
var hardBreak = exports.hardBreak = {
|
595
653
|
props: {
|
596
654
|
type: {
|
597
655
|
type: 'enum',
|
598
|
-
values: ['
|
656
|
+
values: ['hardBreak']
|
599
657
|
},
|
600
658
|
attrs: {
|
601
659
|
props: {
|
602
|
-
|
603
|
-
|
604
|
-
|
660
|
+
text: {
|
661
|
+
type: 'enum',
|
662
|
+
values: ['\n'],
|
663
|
+
optional: true
|
605
664
|
}
|
606
|
-
}
|
665
|
+
},
|
666
|
+
optional: true
|
607
667
|
}
|
608
668
|
}
|
609
669
|
};
|
610
|
-
var
|
670
|
+
var heading = exports.heading = {
|
611
671
|
props: {
|
612
672
|
type: {
|
613
673
|
type: 'enum',
|
614
|
-
values: ['
|
674
|
+
values: ['heading']
|
615
675
|
},
|
616
676
|
attrs: {
|
617
677
|
props: {
|
618
|
-
|
619
|
-
type: '
|
678
|
+
level: {
|
679
|
+
type: 'number',
|
680
|
+
minimum: 1,
|
681
|
+
maximum: 6
|
682
|
+
},
|
683
|
+
localId: {
|
684
|
+
type: 'string',
|
685
|
+
optional: true
|
620
686
|
}
|
621
687
|
}
|
622
|
-
}
|
623
|
-
}
|
624
|
-
};
|
625
|
-
var code = exports.code = {
|
626
|
-
props: {
|
627
|
-
type: {
|
628
|
-
type: 'enum',
|
629
|
-
values: ['code']
|
630
|
-
}
|
631
|
-
}
|
632
|
-
};
|
633
|
-
var caption = exports.caption = {
|
634
|
-
props: {
|
635
|
-
type: {
|
636
|
-
type: 'enum',
|
637
|
-
values: ['caption']
|
638
688
|
},
|
639
689
|
content: {
|
640
690
|
type: 'array',
|
641
|
-
items: [
|
691
|
+
items: ['inline_content'],
|
642
692
|
optional: true,
|
643
693
|
allowUnsupportedInline: true
|
694
|
+
},
|
695
|
+
marks: {
|
696
|
+
type: 'array',
|
697
|
+
items: [],
|
698
|
+
optional: true
|
644
699
|
}
|
645
700
|
}
|
646
701
|
};
|
647
|
-
var
|
702
|
+
var heading_with_alignment = exports.heading_with_alignment = ['heading', {
|
648
703
|
props: {
|
649
|
-
|
704
|
+
marks: {
|
650
705
|
type: 'array',
|
651
|
-
|
652
|
-
items: ['
|
653
|
-
minItems: 1,
|
654
|
-
maxItems: 2,
|
655
|
-
allowUnsupportedBlock: true
|
706
|
+
optional: true,
|
707
|
+
items: ['alignment']
|
656
708
|
}
|
657
709
|
}
|
658
710
|
}];
|
659
|
-
var
|
711
|
+
var heading_with_indentation = exports.heading_with_indentation = ['heading', {
|
660
712
|
props: {
|
661
|
-
|
713
|
+
marks: {
|
662
714
|
type: 'array',
|
663
|
-
|
664
|
-
|
665
|
-
maxItems: 1,
|
666
|
-
allowUnsupportedBlock: true
|
715
|
+
optional: true,
|
716
|
+
items: ['indentation']
|
667
717
|
}
|
668
718
|
}
|
669
719
|
}];
|
670
|
-
var
|
720
|
+
var heading_with_no_marks = exports.heading_with_no_marks = ['heading', {
|
671
721
|
props: {
|
672
|
-
|
722
|
+
marks: {
|
673
723
|
type: 'array',
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
allowUnsupportedBlock: true
|
724
|
+
maxItems: 0,
|
725
|
+
items: [],
|
726
|
+
optional: true
|
678
727
|
}
|
679
728
|
}
|
680
729
|
}];
|
681
|
-
var
|
730
|
+
var indentation = exports.indentation = {
|
731
|
+
props: {
|
732
|
+
type: {
|
733
|
+
type: 'enum',
|
734
|
+
values: ['indentation']
|
735
|
+
},
|
736
|
+
attrs: {
|
737
|
+
props: {
|
738
|
+
level: {
|
739
|
+
type: 'number',
|
740
|
+
minimum: 1,
|
741
|
+
maximum: 6
|
742
|
+
}
|
743
|
+
}
|
744
|
+
}
|
745
|
+
}
|
746
|
+
};
|
747
|
+
var inline_content = exports.inline_content = ['text_formatted', 'text_code_inline', 'date', 'emoji', 'hardBreak', 'inlineCard', 'mention', 'placeholder', 'status', 'inlineExtension_with_marks', 'mediaInline'];
|
748
|
+
var inlineCard = exports.inlineCard = {
|
682
749
|
props: {
|
750
|
+
type: {
|
751
|
+
type: 'enum',
|
752
|
+
values: ['inlineCard']
|
753
|
+
},
|
754
|
+
attrs: [{
|
755
|
+
props: {
|
756
|
+
url: {
|
757
|
+
type: 'string',
|
758
|
+
validatorFn: 'safeUrl'
|
759
|
+
}
|
760
|
+
}
|
761
|
+
}, {
|
762
|
+
props: {
|
763
|
+
data: {
|
764
|
+
type: 'object'
|
765
|
+
}
|
766
|
+
}
|
767
|
+
}],
|
683
768
|
marks: {
|
684
|
-
|
769
|
+
items: ['annotation'],
|
685
770
|
optional: true,
|
686
|
-
|
771
|
+
type: 'array'
|
687
772
|
}
|
688
|
-
}
|
689
|
-
|
773
|
+
},
|
774
|
+
required: ['attrs']
|
775
|
+
};
|
690
776
|
var inlineExtension = exports.inlineExtension = {
|
691
777
|
props: {
|
692
778
|
type: {
|
@@ -734,200 +820,133 @@ var inlineExtension_with_marks = exports.inlineExtension_with_marks = ['inlineEx
|
|
734
820
|
}
|
735
821
|
}
|
736
822
|
}];
|
737
|
-
var
|
823
|
+
var layoutColumn = exports.layoutColumn = {
|
738
824
|
props: {
|
739
825
|
type: {
|
740
826
|
type: 'enum',
|
741
|
-
values: ['
|
827
|
+
values: ['layoutColumn']
|
742
828
|
},
|
743
829
|
attrs: {
|
744
830
|
props: {
|
745
|
-
type: {
|
746
|
-
type: 'enum',
|
747
|
-
values: ['link', 'file', 'image'],
|
748
|
-
optional: true
|
749
|
-
},
|
750
|
-
id: {
|
751
|
-
minLength: 1,
|
752
|
-
type: 'string'
|
753
|
-
},
|
754
|
-
alt: {
|
755
|
-
type: 'string',
|
756
|
-
optional: true
|
757
|
-
},
|
758
|
-
collection: {
|
759
|
-
type: 'string'
|
760
|
-
},
|
761
|
-
occurrenceKey: {
|
762
|
-
minLength: 1,
|
763
|
-
type: 'string',
|
764
|
-
optional: true
|
765
|
-
},
|
766
831
|
width: {
|
767
832
|
type: 'number',
|
768
|
-
|
769
|
-
|
770
|
-
height: {
|
771
|
-
type: 'number',
|
772
|
-
optional: true
|
773
|
-
},
|
774
|
-
data: {
|
775
|
-
type: 'object',
|
776
|
-
optional: true
|
833
|
+
minimum: 0,
|
834
|
+
maximum: 100
|
777
835
|
}
|
778
836
|
}
|
779
837
|
},
|
780
|
-
|
838
|
+
content: {
|
781
839
|
type: 'array',
|
782
|
-
|
783
|
-
|
840
|
+
items: ['block_content'],
|
841
|
+
minItems: 1,
|
842
|
+
allowUnsupportedBlock: true
|
784
843
|
}
|
785
844
|
}
|
786
845
|
};
|
787
|
-
var
|
788
|
-
var paragraph = exports.paragraph = {
|
846
|
+
var layoutSection = exports.layoutSection = {
|
789
847
|
props: {
|
790
848
|
type: {
|
791
849
|
type: 'enum',
|
792
|
-
values: ['
|
793
|
-
},
|
794
|
-
attrs: {
|
795
|
-
props: {
|
796
|
-
localId: {
|
797
|
-
type: 'string',
|
798
|
-
optional: true
|
799
|
-
}
|
800
|
-
},
|
801
|
-
optional: true
|
850
|
+
values: ['layoutSection']
|
802
851
|
},
|
803
852
|
content: {
|
804
853
|
type: 'array',
|
805
|
-
items: ['
|
806
|
-
|
807
|
-
|
854
|
+
items: ['layoutColumn'],
|
855
|
+
minItems: 1,
|
856
|
+
maxItems: 3,
|
857
|
+
allowUnsupportedBlock: true
|
808
858
|
},
|
809
859
|
marks: {
|
810
860
|
type: 'array',
|
811
|
-
|
812
|
-
|
861
|
+
optional: true,
|
862
|
+
items: ['breakout']
|
813
863
|
}
|
814
864
|
}
|
815
865
|
};
|
816
|
-
var
|
866
|
+
var layoutSection_full = exports.layoutSection_full = ['layoutSection', {
|
817
867
|
props: {
|
818
|
-
|
868
|
+
content: {
|
819
869
|
type: 'array',
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
}
|
825
|
-
var paragraph_with_indentation = exports.paragraph_with_indentation = ['paragraph', {
|
826
|
-
props: {
|
870
|
+
items: ['layoutColumn'],
|
871
|
+
minItems: 2,
|
872
|
+
maxItems: 3,
|
873
|
+
allowUnsupportedBlock: true
|
874
|
+
},
|
827
875
|
marks: {
|
828
876
|
type: 'array',
|
829
877
|
optional: true,
|
830
|
-
items: ['
|
831
|
-
}
|
832
|
-
}
|
833
|
-
}];
|
834
|
-
var paragraph_with_no_marks = exports.paragraph_with_no_marks = ['paragraph', {
|
835
|
-
props: {
|
836
|
-
marks: {
|
837
|
-
type: 'array',
|
838
|
-
maxItems: 0,
|
839
|
-
items: [],
|
840
|
-
optional: true
|
878
|
+
items: ['breakout']
|
841
879
|
}
|
842
880
|
}
|
843
881
|
}];
|
844
|
-
var
|
882
|
+
var layoutSection_with_single_column = exports.layoutSection_with_single_column = ['layoutSection', {
|
845
883
|
props: {
|
846
|
-
type: {
|
847
|
-
type: 'enum',
|
848
|
-
values: ['taskItem']
|
849
|
-
},
|
850
884
|
attrs: {
|
851
885
|
props: {
|
852
|
-
|
853
|
-
type: 'string'
|
854
|
-
},
|
855
|
-
state: {
|
886
|
+
columnRuleStyle: {
|
856
887
|
type: 'enum',
|
857
|
-
values: ['
|
858
|
-
|
859
|
-
}
|
860
|
-
},
|
861
|
-
content: {
|
862
|
-
type: 'array',
|
863
|
-
items: ['inline_content'],
|
864
|
-
optional: true,
|
865
|
-
allowUnsupportedInline: true
|
866
|
-
}
|
867
|
-
}
|
868
|
-
};
|
869
|
-
var taskList = exports.taskList = {
|
870
|
-
props: {
|
871
|
-
type: {
|
872
|
-
type: 'enum',
|
873
|
-
values: ['taskList']
|
874
|
-
},
|
875
|
-
attrs: {
|
876
|
-
props: {
|
877
|
-
localId: {
|
878
|
-
type: 'string'
|
888
|
+
values: ['solid'],
|
889
|
+
optional: true
|
879
890
|
}
|
880
|
-
}
|
891
|
+
},
|
892
|
+
optional: true
|
881
893
|
},
|
882
894
|
content: {
|
883
895
|
type: 'array',
|
884
|
-
|
885
|
-
items: ['taskItem', ['taskItem', 'taskList']],
|
896
|
+
items: ['layoutColumn'],
|
886
897
|
minItems: 1,
|
898
|
+
maxItems: 5,
|
887
899
|
allowUnsupportedBlock: true
|
900
|
+
},
|
901
|
+
marks: {
|
902
|
+
type: 'array',
|
903
|
+
optional: true,
|
904
|
+
items: ['breakout']
|
888
905
|
}
|
889
906
|
}
|
890
|
-
};
|
891
|
-
var
|
907
|
+
}];
|
908
|
+
var link = exports.link = {
|
892
909
|
props: {
|
893
910
|
type: {
|
894
911
|
type: 'enum',
|
895
|
-
values: ['
|
912
|
+
values: ['link']
|
896
913
|
},
|
897
914
|
attrs: {
|
898
915
|
props: {
|
899
|
-
|
900
|
-
type: 'string'
|
916
|
+
href: {
|
917
|
+
type: 'string',
|
918
|
+
validatorFn: 'safeUrl'
|
901
919
|
},
|
902
|
-
|
903
|
-
type: 'string'
|
920
|
+
title: {
|
921
|
+
type: 'string',
|
922
|
+
optional: true
|
923
|
+
},
|
924
|
+
id: {
|
925
|
+
type: 'string',
|
926
|
+
optional: true
|
927
|
+
},
|
928
|
+
collection: {
|
929
|
+
type: 'string',
|
930
|
+
optional: true
|
931
|
+
},
|
932
|
+
occurrenceKey: {
|
933
|
+
type: 'string',
|
934
|
+
optional: true
|
904
935
|
}
|
905
936
|
}
|
906
|
-
},
|
907
|
-
content: {
|
908
|
-
type: 'array',
|
909
|
-
items: ['inline_content'],
|
910
|
-
optional: true,
|
911
|
-
allowUnsupportedInline: true
|
912
937
|
}
|
913
938
|
}
|
914
939
|
};
|
915
|
-
var
|
940
|
+
var listItem = exports.listItem = {
|
916
941
|
props: {
|
917
942
|
type: {
|
918
943
|
type: 'enum',
|
919
|
-
values: ['
|
920
|
-
},
|
921
|
-
attrs: {
|
922
|
-
props: {
|
923
|
-
localId: {
|
924
|
-
type: 'string'
|
925
|
-
}
|
926
|
-
}
|
944
|
+
values: ['listItem']
|
927
945
|
},
|
928
946
|
content: {
|
929
947
|
type: 'array',
|
930
|
-
|
948
|
+
isTupleLike: true,
|
949
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'bulletList', 'orderedList', 'taskList', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks']],
|
931
950
|
minItems: 1,
|
932
951
|
allowUnsupportedBlock: true
|
933
952
|
}
|
@@ -944,134 +963,271 @@ var listItem_with_nested_decision = exports.listItem_with_nested_decision = ['li
|
|
944
963
|
}
|
945
964
|
}
|
946
965
|
}];
|
947
|
-
var
|
966
|
+
var media = exports.media = {
|
948
967
|
props: {
|
949
968
|
type: {
|
950
969
|
type: 'enum',
|
951
|
-
values: ['
|
970
|
+
values: ['media']
|
952
971
|
},
|
953
|
-
|
972
|
+
attrs: [{
|
973
|
+
props: {
|
974
|
+
type: {
|
975
|
+
type: 'enum',
|
976
|
+
values: ['link', 'file']
|
977
|
+
},
|
978
|
+
id: {
|
979
|
+
minLength: 1,
|
980
|
+
type: 'string'
|
981
|
+
},
|
982
|
+
alt: {
|
983
|
+
type: 'string',
|
984
|
+
optional: true
|
985
|
+
},
|
986
|
+
collection: {
|
987
|
+
type: 'string'
|
988
|
+
},
|
989
|
+
height: {
|
990
|
+
type: 'number',
|
991
|
+
optional: true
|
992
|
+
},
|
993
|
+
occurrenceKey: {
|
994
|
+
minLength: 1,
|
995
|
+
type: 'string',
|
996
|
+
optional: true
|
997
|
+
},
|
998
|
+
width: {
|
999
|
+
type: 'number',
|
1000
|
+
optional: true
|
1001
|
+
}
|
1002
|
+
}
|
1003
|
+
}, {
|
1004
|
+
props: {
|
1005
|
+
type: {
|
1006
|
+
type: 'enum',
|
1007
|
+
values: ['external']
|
1008
|
+
},
|
1009
|
+
alt: {
|
1010
|
+
type: 'string',
|
1011
|
+
optional: true
|
1012
|
+
},
|
1013
|
+
height: {
|
1014
|
+
type: 'number',
|
1015
|
+
optional: true
|
1016
|
+
},
|
1017
|
+
width: {
|
1018
|
+
type: 'number',
|
1019
|
+
optional: true
|
1020
|
+
},
|
1021
|
+
url: {
|
1022
|
+
type: 'string'
|
1023
|
+
}
|
1024
|
+
}
|
1025
|
+
}],
|
1026
|
+
marks: {
|
954
1027
|
type: 'array',
|
955
|
-
|
956
|
-
|
1028
|
+
optional: true,
|
1029
|
+
items: [['link', 'annotation', 'border']]
|
957
1030
|
}
|
958
|
-
}
|
1031
|
+
},
|
1032
|
+
required: ['attrs']
|
959
1033
|
};
|
960
|
-
var
|
1034
|
+
var mediaGroup = exports.mediaGroup = {
|
961
1035
|
props: {
|
962
1036
|
type: {
|
963
1037
|
type: 'enum',
|
964
|
-
values: ['
|
1038
|
+
values: ['mediaGroup']
|
965
1039
|
},
|
966
1040
|
content: {
|
967
1041
|
type: 'array',
|
968
|
-
|
969
|
-
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'bulletList', 'orderedList', 'taskList', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks']],
|
1042
|
+
items: ['media'],
|
970
1043
|
minItems: 1,
|
971
1044
|
allowUnsupportedBlock: true
|
972
1045
|
}
|
973
1046
|
}
|
974
1047
|
};
|
975
|
-
var
|
1048
|
+
var mediaInline = exports.mediaInline = {
|
976
1049
|
props: {
|
977
1050
|
type: {
|
978
1051
|
type: 'enum',
|
979
|
-
values: ['
|
1052
|
+
values: ['mediaInline']
|
980
1053
|
},
|
981
1054
|
attrs: {
|
982
1055
|
props: {
|
983
|
-
|
1056
|
+
type: {
|
1057
|
+
type: 'enum',
|
1058
|
+
values: ['link', 'file', 'image'],
|
1059
|
+
optional: true
|
1060
|
+
},
|
1061
|
+
id: {
|
1062
|
+
minLength: 1,
|
1063
|
+
type: 'string'
|
1064
|
+
},
|
1065
|
+
alt: {
|
1066
|
+
type: 'string',
|
1067
|
+
optional: true
|
1068
|
+
},
|
1069
|
+
collection: {
|
1070
|
+
type: 'string'
|
1071
|
+
},
|
1072
|
+
occurrenceKey: {
|
1073
|
+
minLength: 1,
|
1074
|
+
type: 'string',
|
1075
|
+
optional: true
|
1076
|
+
},
|
1077
|
+
width: {
|
984
1078
|
type: 'number',
|
985
|
-
|
1079
|
+
optional: true
|
1080
|
+
},
|
1081
|
+
height: {
|
1082
|
+
type: 'number',
|
1083
|
+
optional: true
|
1084
|
+
},
|
1085
|
+
data: {
|
1086
|
+
type: 'object',
|
986
1087
|
optional: true
|
987
1088
|
}
|
988
|
-
}
|
989
|
-
optional: true
|
1089
|
+
}
|
990
1090
|
},
|
991
|
-
|
1091
|
+
marks: {
|
992
1092
|
type: 'array',
|
993
|
-
|
994
|
-
|
1093
|
+
optional: true,
|
1094
|
+
items: [['link', 'annotation', 'border']]
|
995
1095
|
}
|
996
1096
|
}
|
997
1097
|
};
|
998
|
-
var
|
1098
|
+
var mediaSingle = exports.mediaSingle = {
|
999
1099
|
props: {
|
1000
1100
|
type: {
|
1001
1101
|
type: 'enum',
|
1002
|
-
values: ['
|
1102
|
+
values: ['mediaSingle']
|
1003
1103
|
},
|
1104
|
+
attrs: [{
|
1105
|
+
props: {
|
1106
|
+
width: {
|
1107
|
+
type: 'number',
|
1108
|
+
minimum: 0,
|
1109
|
+
maximum: 100,
|
1110
|
+
optional: true
|
1111
|
+
},
|
1112
|
+
layout: {
|
1113
|
+
type: 'enum',
|
1114
|
+
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
1115
|
+
},
|
1116
|
+
widthType: {
|
1117
|
+
type: 'enum',
|
1118
|
+
values: ['percentage'],
|
1119
|
+
optional: true
|
1120
|
+
}
|
1121
|
+
}
|
1122
|
+
}, {
|
1123
|
+
props: {
|
1124
|
+
width: {
|
1125
|
+
type: 'number',
|
1126
|
+
minimum: 0
|
1127
|
+
},
|
1128
|
+
widthType: {
|
1129
|
+
type: 'enum',
|
1130
|
+
values: ['pixel']
|
1131
|
+
},
|
1132
|
+
layout: {
|
1133
|
+
type: 'enum',
|
1134
|
+
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
1135
|
+
}
|
1136
|
+
}
|
1137
|
+
}],
|
1138
|
+
marks: {
|
1139
|
+
type: 'array',
|
1140
|
+
optional: true,
|
1141
|
+
items: ['link']
|
1142
|
+
}
|
1143
|
+
}
|
1144
|
+
};
|
1145
|
+
var mediaSingle_caption = exports.mediaSingle_caption = ['mediaSingle', {
|
1146
|
+
props: {
|
1147
|
+
content: {
|
1148
|
+
type: 'array',
|
1149
|
+
isTupleLike: true,
|
1150
|
+
items: ['media', 'caption'],
|
1151
|
+
minItems: 1,
|
1152
|
+
maxItems: 2,
|
1153
|
+
allowUnsupportedBlock: true
|
1154
|
+
}
|
1155
|
+
}
|
1156
|
+
}];
|
1157
|
+
var mediaSingle_full = exports.mediaSingle_full = ['mediaSingle', {
|
1158
|
+
props: {
|
1004
1159
|
content: {
|
1005
1160
|
type: 'array',
|
1006
1161
|
items: ['media'],
|
1007
1162
|
minItems: 1,
|
1163
|
+
maxItems: 1,
|
1008
1164
|
allowUnsupportedBlock: true
|
1009
1165
|
}
|
1010
1166
|
}
|
1011
|
-
};
|
1012
|
-
var
|
1167
|
+
}];
|
1168
|
+
var mediaSingle_width_type = exports.mediaSingle_width_type = ['mediaSingle', {
|
1013
1169
|
props: {
|
1014
|
-
type: {
|
1015
|
-
type: 'enum',
|
1016
|
-
values: ['blockquote']
|
1017
|
-
},
|
1018
1170
|
content: {
|
1019
1171
|
type: 'array',
|
1020
|
-
items: [
|
1172
|
+
items: ['media'],
|
1021
1173
|
minItems: 1,
|
1174
|
+
maxItems: 1,
|
1022
1175
|
allowUnsupportedBlock: true
|
1023
1176
|
}
|
1024
1177
|
}
|
1025
|
-
};
|
1026
|
-
var
|
1178
|
+
}];
|
1179
|
+
var mention = exports.mention = {
|
1027
1180
|
props: {
|
1028
1181
|
type: {
|
1029
1182
|
type: 'enum',
|
1030
|
-
values: ['
|
1183
|
+
values: ['mention']
|
1031
1184
|
},
|
1032
1185
|
attrs: {
|
1033
1186
|
props: {
|
1034
|
-
|
1035
|
-
type: 'string'
|
1036
|
-
validatorFn: 'safeUrl'
|
1187
|
+
id: {
|
1188
|
+
type: 'string'
|
1037
1189
|
},
|
1038
|
-
|
1039
|
-
type: '
|
1040
|
-
|
1190
|
+
localId: {
|
1191
|
+
type: 'string',
|
1192
|
+
optional: true
|
1041
1193
|
},
|
1042
|
-
|
1043
|
-
type: '
|
1044
|
-
maximum: 100,
|
1045
|
-
minimum: 0,
|
1194
|
+
text: {
|
1195
|
+
type: 'string',
|
1046
1196
|
optional: true
|
1047
1197
|
},
|
1048
|
-
|
1049
|
-
type: '
|
1198
|
+
accessLevel: {
|
1199
|
+
type: 'string',
|
1050
1200
|
optional: true
|
1051
1201
|
},
|
1052
|
-
|
1053
|
-
type: '
|
1202
|
+
userType: {
|
1203
|
+
type: 'enum',
|
1204
|
+
values: ['DEFAULT', 'SPECIAL', 'APP'],
|
1054
1205
|
optional: true
|
1055
1206
|
}
|
1056
1207
|
}
|
1208
|
+
},
|
1209
|
+
marks: {
|
1210
|
+
type: 'array',
|
1211
|
+
optional: true,
|
1212
|
+
items: ['annotation']
|
1057
1213
|
}
|
1058
1214
|
}
|
1059
1215
|
};
|
1060
|
-
var
|
1216
|
+
var multiBodiedExtension = exports.multiBodiedExtension = {
|
1061
1217
|
props: {
|
1062
1218
|
type: {
|
1063
1219
|
type: 'enum',
|
1064
|
-
values: ['
|
1220
|
+
values: ['multiBodiedExtension']
|
1065
1221
|
},
|
1066
1222
|
attrs: {
|
1067
1223
|
props: {
|
1068
1224
|
extensionKey: {
|
1069
|
-
|
1070
|
-
|
1225
|
+
type: 'string',
|
1226
|
+
minLength: 1
|
1071
1227
|
},
|
1072
1228
|
extensionType: {
|
1073
|
-
|
1074
|
-
|
1229
|
+
type: 'string',
|
1230
|
+
minLength: 1
|
1075
1231
|
},
|
1076
1232
|
parameters: {
|
1077
1233
|
type: 'object',
|
@@ -1083,16 +1239,20 @@ var extension = exports.extension = {
|
|
1083
1239
|
},
|
1084
1240
|
layout: {
|
1085
1241
|
type: 'enum',
|
1086
|
-
values: ['wide', 'full-width'
|
1242
|
+
values: ['default', 'wide', 'full-width'],
|
1087
1243
|
optional: true
|
1088
1244
|
},
|
1089
1245
|
localId: {
|
1090
|
-
minLength: 1,
|
1091
1246
|
type: 'string',
|
1092
|
-
optional: true
|
1247
|
+
optional: true,
|
1248
|
+
minLength: 1
|
1093
1249
|
}
|
1094
1250
|
}
|
1095
1251
|
},
|
1252
|
+
content: {
|
1253
|
+
type: 'array',
|
1254
|
+
items: ['extensionFrame']
|
1255
|
+
},
|
1096
1256
|
marks: {
|
1097
1257
|
type: 'array',
|
1098
1258
|
items: [],
|
@@ -1100,57 +1260,31 @@ var extension = exports.extension = {
|
|
1100
1260
|
}
|
1101
1261
|
}
|
1102
1262
|
};
|
1103
|
-
var
|
1104
|
-
props: {
|
1105
|
-
marks: {
|
1106
|
-
type: 'array',
|
1107
|
-
optional: true,
|
1108
|
-
items: [['dataConsumer', 'fragment']]
|
1109
|
-
}
|
1110
|
-
}
|
1111
|
-
}];
|
1112
|
-
var heading = exports.heading = {
|
1263
|
+
var nestedExpand = exports.nestedExpand = {
|
1113
1264
|
props: {
|
1114
1265
|
type: {
|
1115
1266
|
type: 'enum',
|
1116
|
-
values: ['
|
1267
|
+
values: ['nestedExpand']
|
1117
1268
|
},
|
1118
1269
|
attrs: {
|
1119
1270
|
props: {
|
1120
|
-
|
1121
|
-
type: 'number',
|
1122
|
-
minimum: 1,
|
1123
|
-
maximum: 6
|
1124
|
-
},
|
1125
|
-
localId: {
|
1271
|
+
title: {
|
1126
1272
|
type: 'string',
|
1127
1273
|
optional: true
|
1128
1274
|
}
|
1129
1275
|
}
|
1130
1276
|
},
|
1131
|
-
content:
|
1132
|
-
|
1133
|
-
|
1134
|
-
optional: true,
|
1135
|
-
allowUnsupportedInline: true
|
1136
|
-
},
|
1137
|
-
marks: {
|
1138
|
-
type: 'array',
|
1139
|
-
items: [],
|
1140
|
-
optional: true
|
1141
|
-
}
|
1142
|
-
}
|
1277
|
+
content: 'nestedExpand_content'
|
1278
|
+
},
|
1279
|
+
required: ['content']
|
1143
1280
|
};
|
1144
|
-
var
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
}
|
1152
|
-
}];
|
1153
|
-
var heading_with_no_marks = exports.heading_with_no_marks = ['heading', {
|
1281
|
+
var nestedExpand_content = exports.nestedExpand_content = {
|
1282
|
+
type: 'array',
|
1283
|
+
items: [['paragraph_with_no_marks', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'panel', 'blockquote']],
|
1284
|
+
minItems: 1,
|
1285
|
+
allowUnsupportedBlock: true
|
1286
|
+
};
|
1287
|
+
var nestedExpand_with_no_marks = exports.nestedExpand_with_no_marks = ['nestedExpand', {
|
1154
1288
|
props: {
|
1155
1289
|
marks: {
|
1156
1290
|
type: 'array',
|
@@ -1160,20 +1294,27 @@ var heading_with_no_marks = exports.heading_with_no_marks = ['heading', {
|
|
1160
1294
|
}
|
1161
1295
|
}
|
1162
1296
|
}];
|
1163
|
-
var
|
1164
|
-
|
1165
|
-
marks: {
|
1166
|
-
type: 'array',
|
1167
|
-
optional: true,
|
1168
|
-
items: ['alignment']
|
1169
|
-
}
|
1170
|
-
}
|
1171
|
-
}];
|
1172
|
-
var rule = exports.rule = {
|
1297
|
+
var non_nestable_block_content = exports.non_nestable_block_content = ['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks'];
|
1298
|
+
var orderedList = exports.orderedList = {
|
1173
1299
|
props: {
|
1174
1300
|
type: {
|
1175
1301
|
type: 'enum',
|
1176
|
-
values: ['
|
1302
|
+
values: ['orderedList']
|
1303
|
+
},
|
1304
|
+
attrs: {
|
1305
|
+
props: {
|
1306
|
+
order: {
|
1307
|
+
type: 'number',
|
1308
|
+
minimum: 0,
|
1309
|
+
optional: true
|
1310
|
+
}
|
1311
|
+
},
|
1312
|
+
optional: true
|
1313
|
+
},
|
1314
|
+
content: {
|
1315
|
+
type: 'array',
|
1316
|
+
items: [['listItem', 'listItem_with_nested_decision']],
|
1317
|
+
minItems: 1
|
1177
1318
|
}
|
1178
1319
|
}
|
1179
1320
|
};
|
@@ -1225,198 +1366,147 @@ var panel_with_nested_blockquote = exports.panel_with_nested_blockquote = ['pane
|
|
1225
1366
|
}
|
1226
1367
|
}
|
1227
1368
|
}];
|
1228
|
-
var
|
1229
|
-
type: 'array',
|
1230
|
-
items: [['paragraph_with_no_marks', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock_with_no_marks', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'panel', 'blockquote']],
|
1231
|
-
minItems: 1,
|
1232
|
-
allowUnsupportedBlock: true
|
1233
|
-
};
|
1234
|
-
var nestedExpand_with_no_marks = exports.nestedExpand_with_no_marks = ['nestedExpand', {
|
1369
|
+
var paragraph = exports.paragraph = {
|
1235
1370
|
props: {
|
1371
|
+
type: {
|
1372
|
+
type: 'enum',
|
1373
|
+
values: ['paragraph']
|
1374
|
+
},
|
1375
|
+
attrs: {
|
1376
|
+
props: {
|
1377
|
+
localId: {
|
1378
|
+
type: 'string',
|
1379
|
+
optional: true
|
1380
|
+
}
|
1381
|
+
},
|
1382
|
+
optional: true
|
1383
|
+
},
|
1384
|
+
content: {
|
1385
|
+
type: 'array',
|
1386
|
+
items: ['inline_content'],
|
1387
|
+
optional: true,
|
1388
|
+
allowUnsupportedInline: true
|
1389
|
+
},
|
1236
1390
|
marks: {
|
1237
1391
|
type: 'array',
|
1238
|
-
maxItems: 0,
|
1239
1392
|
items: [],
|
1240
1393
|
optional: true
|
1241
1394
|
}
|
1242
1395
|
}
|
1396
|
+
};
|
1397
|
+
var paragraph_with_alignment = exports.paragraph_with_alignment = ['paragraph', {
|
1398
|
+
props: {
|
1399
|
+
marks: {
|
1400
|
+
type: 'array',
|
1401
|
+
optional: true,
|
1402
|
+
items: ['alignment']
|
1403
|
+
}
|
1404
|
+
}
|
1243
1405
|
}];
|
1244
|
-
var
|
1406
|
+
var paragraph_with_indentation = exports.paragraph_with_indentation = ['paragraph', {
|
1245
1407
|
props: {
|
1246
|
-
|
1247
|
-
type: '
|
1248
|
-
|
1249
|
-
|
1250
|
-
attrs: {
|
1251
|
-
props: {
|
1252
|
-
align: {
|
1253
|
-
type: 'enum',
|
1254
|
-
values: ['center', 'end']
|
1255
|
-
}
|
1256
|
-
}
|
1408
|
+
marks: {
|
1409
|
+
type: 'array',
|
1410
|
+
optional: true,
|
1411
|
+
items: ['indentation']
|
1257
1412
|
}
|
1258
1413
|
}
|
1259
|
-
};
|
1260
|
-
var
|
1414
|
+
}];
|
1415
|
+
var paragraph_with_no_marks = exports.paragraph_with_no_marks = ['paragraph', {
|
1261
1416
|
props: {
|
1262
|
-
|
1263
|
-
type: '
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
props: {
|
1268
|
-
level: {
|
1269
|
-
type: 'number',
|
1270
|
-
minimum: 1,
|
1271
|
-
maximum: 6
|
1272
|
-
}
|
1273
|
-
}
|
1417
|
+
marks: {
|
1418
|
+
type: 'array',
|
1419
|
+
maxItems: 0,
|
1420
|
+
items: [],
|
1421
|
+
optional: true
|
1274
1422
|
}
|
1275
1423
|
}
|
1276
|
-
};
|
1277
|
-
var
|
1424
|
+
}];
|
1425
|
+
var placeholder = exports.placeholder = {
|
1278
1426
|
props: {
|
1279
1427
|
type: {
|
1280
1428
|
type: 'enum',
|
1281
|
-
values: ['
|
1429
|
+
values: ['placeholder']
|
1282
1430
|
},
|
1283
1431
|
attrs: {
|
1284
1432
|
props: {
|
1285
|
-
|
1286
|
-
type: '
|
1287
|
-
items: [{
|
1288
|
-
type: 'string'
|
1289
|
-
}],
|
1290
|
-
minItems: 1
|
1433
|
+
text: {
|
1434
|
+
type: 'string'
|
1291
1435
|
}
|
1292
1436
|
}
|
1293
1437
|
}
|
1294
1438
|
}
|
1295
1439
|
};
|
1296
|
-
var
|
1440
|
+
var rule = exports.rule = {
|
1297
1441
|
props: {
|
1298
1442
|
type: {
|
1299
1443
|
type: 'enum',
|
1300
|
-
values: ['
|
1301
|
-
},
|
1302
|
-
attrs: {
|
1303
|
-
props: {
|
1304
|
-
localId: {
|
1305
|
-
minLength: 1,
|
1306
|
-
type: 'string'
|
1307
|
-
},
|
1308
|
-
name: {
|
1309
|
-
type: 'string',
|
1310
|
-
optional: true
|
1311
|
-
}
|
1312
|
-
}
|
1444
|
+
values: ['rule']
|
1313
1445
|
}
|
1314
1446
|
}
|
1315
1447
|
};
|
1316
|
-
var
|
1448
|
+
var status = exports.status = {
|
1317
1449
|
props: {
|
1318
1450
|
type: {
|
1319
1451
|
type: 'enum',
|
1320
|
-
values: ['
|
1452
|
+
values: ['status']
|
1321
1453
|
},
|
1322
1454
|
attrs: {
|
1323
1455
|
props: {
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1456
|
+
text: {
|
1457
|
+
minLength: 1,
|
1458
|
+
type: 'string'
|
1327
1459
|
},
|
1328
|
-
|
1329
|
-
type: '
|
1330
|
-
|
1460
|
+
color: {
|
1461
|
+
type: 'enum',
|
1462
|
+
values: ['neutral', 'purple', 'blue', 'red', 'yellow', 'green']
|
1331
1463
|
},
|
1332
|
-
|
1333
|
-
type: '
|
1334
|
-
items: [{
|
1335
|
-
type: 'number'
|
1336
|
-
}],
|
1464
|
+
localId: {
|
1465
|
+
type: 'string',
|
1337
1466
|
optional: true
|
1338
1467
|
},
|
1339
|
-
|
1468
|
+
style: {
|
1340
1469
|
type: 'string',
|
1341
1470
|
optional: true
|
1342
1471
|
}
|
1343
|
-
}
|
1344
|
-
optional: true
|
1472
|
+
}
|
1345
1473
|
},
|
1346
|
-
|
1474
|
+
marks: {
|
1347
1475
|
type: 'array',
|
1348
|
-
|
1349
|
-
|
1350
|
-
allowUnsupportedBlock: true
|
1476
|
+
optional: true,
|
1477
|
+
items: ['annotation']
|
1351
1478
|
}
|
1352
|
-
}
|
1353
|
-
required: ['content']
|
1479
|
+
}
|
1354
1480
|
};
|
1355
|
-
var
|
1481
|
+
var strike = exports.strike = {
|
1356
1482
|
props: {
|
1357
1483
|
type: {
|
1358
1484
|
type: 'enum',
|
1359
|
-
values: ['
|
1360
|
-
}
|
1361
|
-
|
1362
|
-
props: {
|
1363
|
-
title: {
|
1364
|
-
type: 'string',
|
1365
|
-
optional: true
|
1366
|
-
}
|
1367
|
-
}
|
1368
|
-
},
|
1369
|
-
content: 'nestedExpand_content'
|
1370
|
-
},
|
1371
|
-
required: ['content']
|
1485
|
+
values: ['strike']
|
1486
|
+
}
|
1487
|
+
}
|
1372
1488
|
};
|
1373
|
-
var
|
1489
|
+
var strong = exports.strong = {
|
1374
1490
|
props: {
|
1375
1491
|
type: {
|
1376
1492
|
type: 'enum',
|
1377
|
-
values: ['
|
1378
|
-
},
|
1379
|
-
attrs: {
|
1380
|
-
props: {
|
1381
|
-
colspan: {
|
1382
|
-
type: 'number',
|
1383
|
-
optional: true
|
1384
|
-
},
|
1385
|
-
rowspan: {
|
1386
|
-
type: 'number',
|
1387
|
-
optional: true
|
1388
|
-
},
|
1389
|
-
colwidth: {
|
1390
|
-
type: 'array',
|
1391
|
-
items: [{
|
1392
|
-
type: 'number'
|
1393
|
-
}],
|
1394
|
-
optional: true
|
1395
|
-
},
|
1396
|
-
background: {
|
1397
|
-
type: 'string',
|
1398
|
-
optional: true
|
1399
|
-
}
|
1400
|
-
},
|
1401
|
-
optional: true
|
1402
|
-
},
|
1403
|
-
content: {
|
1404
|
-
type: 'array',
|
1405
|
-
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', 'nestedExpand']],
|
1406
|
-
minItems: 1
|
1493
|
+
values: ['strong']
|
1407
1494
|
}
|
1408
|
-
}
|
1409
|
-
required: ['content']
|
1495
|
+
}
|
1410
1496
|
};
|
1411
|
-
var
|
1497
|
+
var subsup = exports.subsup = {
|
1412
1498
|
props: {
|
1413
1499
|
type: {
|
1414
1500
|
type: 'enum',
|
1415
|
-
values: ['
|
1501
|
+
values: ['subsup']
|
1416
1502
|
},
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1503
|
+
attrs: {
|
1504
|
+
props: {
|
1505
|
+
type: {
|
1506
|
+
type: 'enum',
|
1507
|
+
values: ['sub', 'sup']
|
1508
|
+
}
|
1509
|
+
}
|
1420
1510
|
}
|
1421
1511
|
}
|
1422
1512
|
};
|
@@ -1466,297 +1556,207 @@ var table = exports.table = {
|
|
1466
1556
|
}
|
1467
1557
|
}
|
1468
1558
|
};
|
1469
|
-
var
|
1470
|
-
|
1559
|
+
var tableCell = exports.tableCell = {
|
1560
|
+
props: {
|
1561
|
+
type: {
|
1562
|
+
type: 'enum',
|
1563
|
+
values: ['tableCell']
|
1564
|
+
},
|
1565
|
+
attrs: {
|
1566
|
+
props: {
|
1567
|
+
colspan: {
|
1568
|
+
type: 'number',
|
1569
|
+
optional: true
|
1570
|
+
},
|
1571
|
+
rowspan: {
|
1572
|
+
type: 'number',
|
1573
|
+
optional: true
|
1574
|
+
},
|
1575
|
+
colwidth: {
|
1576
|
+
type: 'array',
|
1577
|
+
items: [{
|
1578
|
+
type: 'number'
|
1579
|
+
}],
|
1580
|
+
optional: true
|
1581
|
+
},
|
1582
|
+
background: {
|
1583
|
+
type: 'string',
|
1584
|
+
optional: true
|
1585
|
+
}
|
1586
|
+
},
|
1587
|
+
optional: true
|
1588
|
+
},
|
1589
|
+
content: {
|
1590
|
+
type: 'array',
|
1591
|
+
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']],
|
1592
|
+
minItems: 1,
|
1593
|
+
allowUnsupportedBlock: true
|
1594
|
+
}
|
1595
|
+
},
|
1596
|
+
required: ['content']
|
1597
|
+
};
|
1598
|
+
var tableHeader = exports.tableHeader = {
|
1471
1599
|
props: {
|
1472
1600
|
type: {
|
1473
1601
|
type: 'enum',
|
1474
|
-
values: ['
|
1602
|
+
values: ['tableHeader']
|
1475
1603
|
},
|
1476
1604
|
attrs: {
|
1477
1605
|
props: {
|
1478
|
-
|
1479
|
-
|
1480
|
-
type: 'string'
|
1481
|
-
},
|
1482
|
-
extensionType: {
|
1483
|
-
minLength: 1,
|
1484
|
-
type: 'string'
|
1485
|
-
},
|
1486
|
-
parameters: {
|
1487
|
-
type: 'object',
|
1606
|
+
colspan: {
|
1607
|
+
type: 'number',
|
1488
1608
|
optional: true
|
1489
1609
|
},
|
1490
|
-
|
1491
|
-
type: '
|
1610
|
+
rowspan: {
|
1611
|
+
type: 'number',
|
1492
1612
|
optional: true
|
1493
1613
|
},
|
1494
|
-
|
1495
|
-
type: '
|
1496
|
-
|
1614
|
+
colwidth: {
|
1615
|
+
type: 'array',
|
1616
|
+
items: [{
|
1617
|
+
type: 'number'
|
1618
|
+
}],
|
1497
1619
|
optional: true
|
1498
1620
|
},
|
1499
|
-
|
1500
|
-
minLength: 1,
|
1621
|
+
background: {
|
1501
1622
|
type: 'string',
|
1502
1623
|
optional: true
|
1503
1624
|
}
|
1504
|
-
}
|
1625
|
+
},
|
1626
|
+
optional: true
|
1505
1627
|
},
|
1506
1628
|
content: {
|
1507
1629
|
type: 'array',
|
1508
|
-
items: ['
|
1509
|
-
minItems: 1
|
1510
|
-
allowUnsupportedBlock: true
|
1511
|
-
},
|
1512
|
-
marks: {
|
1513
|
-
type: 'array',
|
1514
|
-
items: [],
|
1515
|
-
optional: true
|
1630
|
+
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', 'nestedExpand']],
|
1631
|
+
minItems: 1
|
1516
1632
|
}
|
1517
|
-
}
|
1633
|
+
},
|
1634
|
+
required: ['content']
|
1518
1635
|
};
|
1519
|
-
var
|
1636
|
+
var tableRow = exports.tableRow = {
|
1520
1637
|
props: {
|
1521
|
-
|
1638
|
+
type: {
|
1639
|
+
type: 'enum',
|
1640
|
+
values: ['tableRow']
|
1641
|
+
},
|
1642
|
+
content: {
|
1522
1643
|
type: 'array',
|
1523
|
-
|
1524
|
-
items: [['dataConsumer', 'fragment']]
|
1644
|
+
items: [['tableCell', 'tableHeader']]
|
1525
1645
|
}
|
1526
1646
|
}
|
1527
|
-
}
|
1528
|
-
var
|
1647
|
+
};
|
1648
|
+
var taskItem = exports.taskItem = {
|
1529
1649
|
props: {
|
1530
1650
|
type: {
|
1531
1651
|
type: 'enum',
|
1532
|
-
values: ['
|
1652
|
+
values: ['taskItem']
|
1533
1653
|
},
|
1534
1654
|
attrs: {
|
1535
1655
|
props: {
|
1536
|
-
|
1537
|
-
type: 'string'
|
1538
|
-
|
1656
|
+
localId: {
|
1657
|
+
type: 'string'
|
1658
|
+
},
|
1659
|
+
state: {
|
1660
|
+
type: 'enum',
|
1661
|
+
values: ['TODO', 'DONE']
|
1539
1662
|
}
|
1540
1663
|
}
|
1541
1664
|
},
|
1542
1665
|
content: {
|
1543
1666
|
type: 'array',
|
1544
|
-
items: [
|
1545
|
-
minItems: 1,
|
1546
|
-
allowUnsupportedBlock: true
|
1547
|
-
},
|
1548
|
-
marks: {
|
1549
|
-
type: 'array',
|
1550
|
-
items: [],
|
1551
|
-
optional: true
|
1552
|
-
}
|
1553
|
-
}
|
1554
|
-
};
|
1555
|
-
var expand_with_no_mark = exports.expand_with_no_mark = ['expand', {
|
1556
|
-
props: {
|
1557
|
-
marks: {
|
1558
|
-
type: 'array',
|
1559
|
-
maxItems: 0,
|
1560
|
-
items: [],
|
1561
|
-
optional: true
|
1562
|
-
}
|
1563
|
-
}
|
1564
|
-
}];
|
1565
|
-
var expand_with_breakout_mark = exports.expand_with_breakout_mark = ['expand', {
|
1566
|
-
props: {
|
1567
|
-
marks: {
|
1568
|
-
type: 'array',
|
1667
|
+
items: ['inline_content'],
|
1569
1668
|
optional: true,
|
1570
|
-
|
1669
|
+
allowUnsupportedInline: true
|
1571
1670
|
}
|
1572
1671
|
}
|
1573
|
-
}
|
1574
|
-
var
|
1575
|
-
var layoutColumn = exports.layoutColumn = {
|
1672
|
+
};
|
1673
|
+
var taskList = exports.taskList = {
|
1576
1674
|
props: {
|
1577
1675
|
type: {
|
1578
1676
|
type: 'enum',
|
1579
|
-
values: ['
|
1677
|
+
values: ['taskList']
|
1580
1678
|
},
|
1581
1679
|
attrs: {
|
1582
1680
|
props: {
|
1583
|
-
|
1584
|
-
type: '
|
1585
|
-
minimum: 0,
|
1586
|
-
maximum: 100
|
1681
|
+
localId: {
|
1682
|
+
type: 'string'
|
1587
1683
|
}
|
1588
1684
|
}
|
1589
1685
|
},
|
1590
1686
|
content: {
|
1591
1687
|
type: 'array',
|
1592
|
-
|
1688
|
+
isTupleLike: true,
|
1689
|
+
items: ['taskItem', ['taskItem', 'taskList']],
|
1593
1690
|
minItems: 1,
|
1594
1691
|
allowUnsupportedBlock: true
|
1595
1692
|
}
|
1596
1693
|
}
|
1597
1694
|
};
|
1598
|
-
var
|
1695
|
+
var text = exports.text = {
|
1599
1696
|
props: {
|
1600
1697
|
type: {
|
1601
1698
|
type: 'enum',
|
1602
|
-
values: ['
|
1699
|
+
values: ['text']
|
1603
1700
|
},
|
1604
|
-
|
1605
|
-
type: '
|
1606
|
-
|
1607
|
-
minItems: 1,
|
1608
|
-
maxItems: 3,
|
1609
|
-
allowUnsupportedBlock: true
|
1701
|
+
text: {
|
1702
|
+
type: 'string',
|
1703
|
+
minLength: 1
|
1610
1704
|
},
|
1611
1705
|
marks: {
|
1612
1706
|
type: 'array',
|
1613
|
-
|
1614
|
-
|
1707
|
+
items: [],
|
1708
|
+
optional: true
|
1615
1709
|
}
|
1616
1710
|
}
|
1617
1711
|
};
|
1618
|
-
var
|
1712
|
+
var text_code_inline = exports.text_code_inline = ['text', {
|
1619
1713
|
props: {
|
1620
|
-
attrs: {
|
1621
|
-
props: {
|
1622
|
-
columnRuleStyle: {
|
1623
|
-
type: 'enum',
|
1624
|
-
values: ['solid'],
|
1625
|
-
optional: true
|
1626
|
-
}
|
1627
|
-
},
|
1628
|
-
optional: true
|
1629
|
-
},
|
1630
|
-
content: {
|
1631
|
-
type: 'array',
|
1632
|
-
items: ['layoutColumn'],
|
1633
|
-
minItems: 1,
|
1634
|
-
maxItems: 5,
|
1635
|
-
allowUnsupportedBlock: true
|
1636
|
-
},
|
1637
1714
|
marks: {
|
1638
1715
|
type: 'array',
|
1639
1716
|
optional: true,
|
1640
|
-
items: ['
|
1717
|
+
items: [['code', 'link', 'annotation']]
|
1641
1718
|
}
|
1642
1719
|
}
|
1643
1720
|
}];
|
1644
|
-
var
|
1721
|
+
var text_formatted = exports.text_formatted = ['text', {
|
1645
1722
|
props: {
|
1646
|
-
content: {
|
1647
|
-
type: 'array',
|
1648
|
-
items: ['layoutColumn'],
|
1649
|
-
minItems: 2,
|
1650
|
-
maxItems: 3,
|
1651
|
-
allowUnsupportedBlock: true
|
1652
|
-
},
|
1653
1723
|
marks: {
|
1654
1724
|
type: 'array',
|
1655
1725
|
optional: true,
|
1656
|
-
items: ['
|
1726
|
+
items: [['link', 'em', 'strong', 'strike', 'subsup', 'underline', 'textColor', 'annotation', 'backgroundColor', null]]
|
1657
1727
|
}
|
1658
1728
|
}
|
1659
1729
|
}];
|
1660
|
-
var
|
1730
|
+
var text_link_inline = exports.text_link_inline = ['text', {
|
1661
1731
|
props: {
|
1662
|
-
type: {
|
1663
|
-
type: 'enum',
|
1664
|
-
values: ['extensionFrame']
|
1665
|
-
},
|
1666
|
-
content: {
|
1667
|
-
type: 'array',
|
1668
|
-
items: [['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock_with_no_marks', 'mediaGroup', 'mediaSingle_full', 'mediaSingle_caption', 'decisionList', 'taskList', 'table', 'extension_with_marks', 'bodiedExtension_with_marks', 'blockCard', 'embedCard']],
|
1669
|
-
minItems: 1
|
1670
|
-
},
|
1671
1732
|
marks: {
|
1672
1733
|
type: 'array',
|
1673
1734
|
optional: true,
|
1674
|
-
items: [
|
1735
|
+
items: ['link']
|
1675
1736
|
}
|
1676
1737
|
}
|
1677
|
-
};
|
1678
|
-
var
|
1738
|
+
}];
|
1739
|
+
var textColor = exports.textColor = {
|
1679
1740
|
props: {
|
1680
1741
|
type: {
|
1681
1742
|
type: 'enum',
|
1682
|
-
values: ['
|
1743
|
+
values: ['textColor']
|
1683
1744
|
},
|
1684
1745
|
attrs: {
|
1685
1746
|
props: {
|
1686
|
-
|
1687
|
-
type: 'string',
|
1688
|
-
minLength: 1
|
1689
|
-
},
|
1690
|
-
extensionType: {
|
1691
|
-
type: 'string',
|
1692
|
-
minLength: 1
|
1693
|
-
},
|
1694
|
-
parameters: {
|
1695
|
-
type: 'object',
|
1696
|
-
optional: true
|
1697
|
-
},
|
1698
|
-
text: {
|
1699
|
-
type: 'string',
|
1700
|
-
optional: true
|
1701
|
-
},
|
1702
|
-
layout: {
|
1703
|
-
type: 'enum',
|
1704
|
-
values: ['default', 'wide', 'full-width'],
|
1705
|
-
optional: true
|
1706
|
-
},
|
1707
|
-
localId: {
|
1747
|
+
color: {
|
1708
1748
|
type: 'string',
|
1709
|
-
|
1710
|
-
minLength: 1
|
1711
|
-
}
|
1712
|
-
}
|
1713
|
-
},
|
1714
|
-
content: {
|
1715
|
-
type: 'array',
|
1716
|
-
items: ['extensionFrame']
|
1717
|
-
},
|
1718
|
-
marks: {
|
1719
|
-
type: 'array',
|
1720
|
-
items: [],
|
1721
|
-
optional: true
|
1722
|
-
}
|
1723
|
-
}
|
1724
|
-
};
|
1725
|
-
var blockRootOnly = exports.blockRootOnly = ['multiBodiedExtension'];
|
1726
|
-
var breakout = exports.breakout = {
|
1727
|
-
props: {
|
1728
|
-
type: {
|
1729
|
-
type: 'enum',
|
1730
|
-
values: ['breakout']
|
1731
|
-
},
|
1732
|
-
attrs: {
|
1733
|
-
props: {
|
1734
|
-
mode: {
|
1735
|
-
type: 'enum',
|
1736
|
-
values: ['wide', 'full-width']
|
1737
|
-
},
|
1738
|
-
width: {
|
1739
|
-
type: 'number',
|
1740
|
-
optional: true
|
1749
|
+
pattern: '^#[0-9a-fA-F]{6}$'
|
1741
1750
|
}
|
1742
1751
|
}
|
1743
1752
|
}
|
1744
1753
|
}
|
1745
1754
|
};
|
1746
|
-
var
|
1755
|
+
var underline = exports.underline = {
|
1747
1756
|
props: {
|
1748
1757
|
type: {
|
1749
1758
|
type: 'enum',
|
1750
|
-
values: ['
|
1751
|
-
},
|
1752
|
-
version: {
|
1753
|
-
type: 'enum',
|
1754
|
-
values: [1]
|
1755
|
-
},
|
1756
|
-
content: {
|
1757
|
-
type: 'array',
|
1758
|
-
items: [['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', 'codeBlock_with_marks', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_with_breakout_mark']],
|
1759
|
-
allowUnsupportedBlock: true
|
1759
|
+
values: ['underline']
|
1760
1760
|
}
|
1761
1761
|
}
|
1762
1762
|
};
|