@atlaskit/adf-schema 37.1.41 → 37.1.43

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.
Files changed (25) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/next-schema/groups/atomicInlineGroup.js +19 -0
  3. package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
  4. package/dist/cjs/next-schema/nodes/nestedExpand.js +1 -1
  5. package/dist/cjs/next-schema/nodes/paragraph.js +2 -1
  6. package/dist/cjs/next-schema/nodes/tableCellContent.js +1 -1
  7. package/dist/cjs/validator-schema/generated/validatorSpec.js +59 -63
  8. package/dist/es2019/next-schema/groups/atomicInlineGroup.js +13 -0
  9. package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
  10. package/dist/es2019/next-schema/nodes/nestedExpand.js +1 -1
  11. package/dist/es2019/next-schema/nodes/paragraph.js +2 -1
  12. package/dist/es2019/next-schema/nodes/tableCellContent.js +1 -1
  13. package/dist/es2019/validator-schema/generated/validatorSpec.js +58 -62
  14. package/dist/esm/next-schema/groups/atomicInlineGroup.js +13 -0
  15. package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
  16. package/dist/esm/next-schema/nodes/nestedExpand.js +1 -1
  17. package/dist/esm/next-schema/nodes/paragraph.js +2 -1
  18. package/dist/esm/next-schema/nodes/tableCellContent.js +1 -1
  19. package/dist/esm/validator-schema/generated/validatorSpec.js +58 -62
  20. package/dist/types/next-schema/groups/atomicInlineGroup.d.ts +1 -0
  21. package/dist/types/next-schema/nodes/nestedExpand.d.ts +1 -1
  22. package/dist/types/validator-schema/generated/validatorSpec.d.ts +35 -39
  23. package/package.json +2 -2
  24. package/schema-generators/__tests__/unit/adfToValidatorSpecValidation.unit.ts +1 -7
  25. package/schema-generators/__tests__/unit/json-full-schema-backwards-compat.unit.ts +23 -46
@@ -136,8 +136,8 @@ export const codeBlock_with_marks = ['codeBlock', {
136
136
  props: {
137
137
  marks: {
138
138
  type: 'array',
139
- items: ['breakout'],
140
- optional: true
139
+ optional: true,
140
+ items: ['breakout']
141
141
  }
142
142
  }
143
143
  }];
@@ -193,8 +193,8 @@ export const mediaSingle = {
193
193
  }],
194
194
  marks: {
195
195
  type: 'array',
196
- items: ['link'],
197
- optional: true
196
+ optional: true,
197
+ items: ['link']
198
198
  }
199
199
  }
200
200
  };
@@ -260,8 +260,8 @@ export const media = {
260
260
  }],
261
261
  marks: {
262
262
  type: 'array',
263
- items: [['annotation', 'border', 'link']],
264
- optional: true
263
+ optional: true,
264
+ items: [['annotation', 'border', 'link']]
265
265
  }
266
266
  },
267
267
  required: ['attrs']
@@ -403,8 +403,8 @@ export const mention = {
403
403
  },
404
404
  marks: {
405
405
  type: 'array',
406
- items: ['annotation'],
407
- optional: true
406
+ optional: true,
407
+ items: ['annotation']
408
408
  }
409
409
  }
410
410
  };
@@ -431,8 +431,8 @@ export const emoji = {
431
431
  },
432
432
  marks: {
433
433
  type: 'array',
434
- items: ['annotation'],
435
- optional: true
434
+ optional: true,
435
+ items: ['annotation']
436
436
  }
437
437
  }
438
438
  };
@@ -452,8 +452,8 @@ export const date = {
452
452
  },
453
453
  marks: {
454
454
  type: 'array',
455
- items: ['annotation'],
456
- optional: true
455
+ optional: true,
456
+ items: ['annotation']
457
457
  }
458
458
  }
459
459
  };
@@ -528,8 +528,8 @@ export const status = {
528
528
  },
529
529
  marks: {
530
530
  type: 'array',
531
- items: ['annotation'],
532
- optional: true
531
+ optional: true,
532
+ items: ['annotation']
533
533
  }
534
534
  }
535
535
  };
@@ -537,8 +537,8 @@ export const formatted_text_inline = ['text', {
537
537
  props: {
538
538
  marks: {
539
539
  type: 'array',
540
- items: [['annotation', 'backgroundColor', 'em', 'link', 'strike', 'strong', 'subsup', 'textColor', 'underline', null]],
541
- optional: true
540
+ optional: true,
541
+ items: [['annotation', 'backgroundColor', 'em', 'link', 'strike', 'strong', 'subsup', 'textColor', 'underline', null]]
542
542
  }
543
543
  }
544
544
  }];
@@ -546,8 +546,8 @@ export const code_inline = ['text', {
546
546
  props: {
547
547
  marks: {
548
548
  type: 'array',
549
- items: [['annotation', 'code', 'link']],
550
- optional: true
549
+ optional: true,
550
+ items: [['annotation', 'code', 'link']]
551
551
  }
552
552
  }
553
553
  }];
@@ -706,8 +706,8 @@ export const link_text_inline = ['text', {
706
706
  props: {
707
707
  marks: {
708
708
  type: 'array',
709
- items: ['link'],
710
- optional: true
709
+ optional: true,
710
+ items: ['link']
711
711
  }
712
712
  }
713
713
  }];
@@ -753,8 +753,8 @@ export const inlineExtension_with_marks = ['inlineExtension', {
753
753
  props: {
754
754
  marks: {
755
755
  type: 'array',
756
- items: [['dataConsumer', 'fragment']],
757
- optional: true
756
+ optional: true,
757
+ items: [['dataConsumer', 'fragment']]
758
758
  }
759
759
  }
760
760
  }];
@@ -803,8 +803,8 @@ export const mediaInline = {
803
803
  },
804
804
  marks: {
805
805
  type: 'array',
806
- items: [['annotation', 'border', 'link']],
807
- optional: true
806
+ optional: true,
807
+ items: [['annotation', 'border', 'link']]
808
808
  }
809
809
  }
810
810
  };
@@ -877,6 +877,7 @@ export const confluenceUnsupportedInline = {
877
877
  }
878
878
  }
879
879
  };
880
+ export const atomic_inline = ['date', 'emoji', 'hardBreak', 'inlineCard', 'inlineExtension_with_marks', 'mediaInline', 'mention', 'placeholder', 'status'];
880
881
  export const inline = ['code_inline', 'date', 'emoji', 'formatted_text_inline', 'hardBreak', 'inlineCard', 'inlineExtension_with_marks', 'mediaInline', 'mention', 'placeholder', 'status'];
881
882
  export const paragraph = {
882
883
  props: {
@@ -910,8 +911,8 @@ export const paragraph_with_alignment = ['paragraph', {
910
911
  props: {
911
912
  marks: {
912
913
  type: 'array',
913
- items: ['alignment'],
914
- optional: true
914
+ optional: true,
915
+ items: ['alignment']
915
916
  }
916
917
  }
917
918
  }];
@@ -919,8 +920,8 @@ export const paragraph_with_indentation = ['paragraph', {
919
920
  props: {
920
921
  marks: {
921
922
  type: 'array',
922
- items: ['indentation'],
923
- optional: true
923
+ optional: true,
924
+ items: ['indentation']
924
925
  }
925
926
  }
926
927
  }];
@@ -1193,8 +1194,8 @@ export const extension_with_marks = ['extension', {
1193
1194
  props: {
1194
1195
  marks: {
1195
1196
  type: 'array',
1196
- items: [['dataConsumer', 'fragment']],
1197
- optional: true
1197
+ optional: true,
1198
+ items: [['dataConsumer', 'fragment']]
1198
1199
  }
1199
1200
  }
1200
1201
  }];
@@ -1234,8 +1235,8 @@ export const heading_with_indentation = ['heading', {
1234
1235
  props: {
1235
1236
  marks: {
1236
1237
  type: 'array',
1237
- items: ['indentation'],
1238
- optional: true
1238
+ optional: true,
1239
+ items: ['indentation']
1239
1240
  }
1240
1241
  }
1241
1242
  }];
@@ -1253,8 +1254,8 @@ export const heading_with_alignment = ['heading', {
1253
1254
  props: {
1254
1255
  marks: {
1255
1256
  type: 'array',
1256
- items: ['alignment'],
1257
- optional: true
1257
+ optional: true,
1258
+ items: ['alignment']
1258
1259
  }
1259
1260
  }
1260
1261
  }];
@@ -1328,9 +1329,12 @@ export const panel_legacy = ['panel', {
1328
1329
  }
1329
1330
  }
1330
1331
  }];
1331
- export const nestedExpand_content = ['nestedExpand', {
1332
- props: {}
1333
- }];
1332
+ export const nestedExpand_content = {
1333
+ type: 'array',
1334
+ items: [['blockquote', 'bulletList', 'codeBlock_with_no_marks', 'decisionList', 'heading_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'orderedList', 'panel', 'paragraph_with_no_marks', 'rule', 'taskList']],
1335
+ minItems: 1,
1336
+ allowUnsupportedBlock: true
1337
+ };
1334
1338
  export const nestedExpand_with_no_marks = ['nestedExpand', {
1335
1339
  props: {
1336
1340
  marks: {
@@ -1499,19 +1503,11 @@ export const tableHeader = {
1499
1503
  },
1500
1504
  required: ['content']
1501
1505
  };
1502
- export const tableCellContent = {
1503
- props: {
1504
- type: {
1505
- type: 'enum',
1506
- values: ['tableCellContent']
1507
- },
1508
- content: {
1509
- type: 'array',
1510
- items: [['blockCard', 'blockquote', 'bulletList', 'codeBlock_with_no_marks', 'decisionList', 'embedCard', 'extension_with_marks', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'nestedExpand_with_no_marks', 'orderedList', 'panel', 'paragraph_with_alignment', 'paragraph_with_no_marks', 'rule', 'taskList']],
1511
- minItems: 1,
1512
- allowUnsupportedBlock: true
1513
- }
1514
- }
1506
+ export const tableCell_content = {
1507
+ type: 'array',
1508
+ items: [['blockCard', 'blockquote', 'bulletList', 'codeBlock_with_no_marks', 'decisionList', 'embedCard', 'extension_with_marks', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'nestedExpand_with_no_marks', 'orderedList', 'panel', 'paragraph_with_alignment', 'paragraph_with_no_marks', 'rule', 'taskList']],
1509
+ minItems: 1,
1510
+ allowUnsupportedBlock: true
1515
1511
  };
1516
1512
  export const tableRow = {
1517
1513
  props: {
@@ -1566,8 +1562,8 @@ export const table = {
1566
1562
  },
1567
1563
  marks: {
1568
1564
  type: 'array',
1569
- items: ['fragment'],
1570
- optional: true
1565
+ optional: true,
1566
+ items: ['fragment']
1571
1567
  }
1572
1568
  }
1573
1569
  };
@@ -1625,8 +1621,8 @@ export const bodiedExtension_with_marks = ['bodiedExtension', {
1625
1621
  props: {
1626
1622
  marks: {
1627
1623
  type: 'array',
1628
- items: [['dataConsumer', 'fragment']],
1629
- optional: true
1624
+ optional: true,
1625
+ items: [['dataConsumer', 'fragment']]
1630
1626
  }
1631
1627
  }
1632
1628
  }];
@@ -1671,8 +1667,8 @@ export const expand_with_breakout_mark = ['expand', {
1671
1667
  props: {
1672
1668
  marks: {
1673
1669
  type: 'array',
1674
- items: ['breakout'],
1675
- optional: true
1670
+ optional: true,
1671
+ items: ['breakout']
1676
1672
  }
1677
1673
  }
1678
1674
  }];
@@ -1727,8 +1723,8 @@ export const layoutSection = {
1727
1723
  },
1728
1724
  marks: {
1729
1725
  type: 'array',
1730
- items: ['breakout'],
1731
- optional: true
1726
+ optional: true,
1727
+ items: ['breakout']
1732
1728
  }
1733
1729
  }
1734
1730
  };
@@ -1743,8 +1739,8 @@ export const layoutSection_full = ['layoutSection', {
1743
1739
  },
1744
1740
  marks: {
1745
1741
  type: 'array',
1746
- items: ['breakout'],
1747
- optional: true
1742
+ optional: true,
1743
+ items: ['breakout']
1748
1744
  },
1749
1745
  type: {
1750
1746
  type: 'enum',
@@ -1785,8 +1781,8 @@ export const extensionFrame = {
1785
1781
  },
1786
1782
  marks: {
1787
1783
  type: 'array',
1788
- items: [['dataConsumer', 'fragment']],
1789
- optional: true
1784
+ optional: true,
1785
+ items: [['dataConsumer', 'fragment']]
1790
1786
  }
1791
1787
  }
1792
1788
  };
@@ -0,0 +1,13 @@
1
+ import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
2
+ import { date } from '../nodes/date';
3
+ import { emoji } from '../nodes/emoji';
4
+ import { hardBreak } from '../nodes/hardBreak';
5
+ import { inlineCard } from '../nodes/inlineCard';
6
+ import { inlineExtension } from '../nodes/inlineExtension';
7
+ import { mediaInline } from '../nodes/mediaInline';
8
+ import { mention } from '../nodes/mention';
9
+ import { placeholder } from '../nodes/placeholder';
10
+ import { status } from '../nodes/status';
11
+ export var atomicInlineGroup = adfNodeGroup('atomic_inline', [hardBreak, mention, emoji, inlineExtension.use('with_marks'), date, placeholder, inlineCard, status, mediaInline], {
12
+ ignore: ['pm-spec', 'json-schema']
13
+ });
@@ -21,6 +21,6 @@ var tableCellContentNodes = [codeBlock.use('with_no_marks'), blockCard, paragrap
21
21
  // @DSLCompatibilityException JSON Schema and PM Spec are not in sync. We need to fix it
22
22
  // In PM Spec, they contain different items. (tableHeader using tableHeaderContentPseudoGroup, tableCell using tableCellContentPseudoGroup)
23
23
  // In JSON Schema, both tableHeader and tableCell points to tableCellContentPseudoGroup
24
- // The differences are highighted below.
24
+ // The differences are highlighted below.
25
25
  export var tableCellContentPseudoGroup = $onePlus($or.apply(void 0, tableCellContentNodes.concat([unsupportedBlock])));
26
26
  export var tableHeaderContentPseudoGroup = $onePlus($or.apply(void 0, tableCellContentNodes.concat([nestedExpand])));
@@ -47,7 +47,7 @@ export var nestedExpand = adfNode('nestedExpand').define({
47
47
  }
48
48
  }
49
49
  }).variant('content', {
50
- ignore: ['pm-spec', 'validator-spec']
50
+ ignore: ['pm-spec']
51
51
  }).variant('with_no_marks', {
52
52
  marks: [],
53
53
  content: [],
@@ -1,4 +1,5 @@
1
1
  import { $or, $zeroPlus, adfNode } from '@atlaskit/adf-schema-generator';
2
+ import { atomicInlineGroup } from '../groups/atomicInlineGroup';
2
3
  import { inlineContentGroup } from '../groups/inlineContentGroup';
3
4
  import { inlineGroup } from '../groups/inlineGroup';
4
5
  import { alignment, indentation } from '../marks/alignmentAndIndentation';
@@ -15,7 +16,7 @@ export var paragraph = adfNode('paragraph').define({
15
16
  selectable: false,
16
17
  marks: [unsupportedNodeAttribute, unsupportedMark],
17
18
  hasEmptyMarks: true,
18
- content: [$zeroPlus($or(inlineGroup, inlineContentGroup))],
19
+ content: [$zeroPlus($or(inlineGroup, atomicInlineGroup, inlineContentGroup))],
19
20
  DANGEROUS_MANUAL_OVERRIDE: {
20
21
  'validator-spec': {
21
22
  'props.marks': {
@@ -4,6 +4,6 @@ import { tableCellContentPseudoGroup } from '../groups/tableCellContentPseudoGro
4
4
  // @DSLCompatibilityException This is only used by JSON schema to group the table cell content into a definition.
5
5
  // This node should be deleted and the content should be replicated in the JSON schema for table header and table cell node
6
6
  export var tableCellContent = adfNode('tableCellContent').define({
7
- ignore: ['pm-spec', 'validator-spec'],
7
+ ignore: ['pm-spec'],
8
8
  content: [tableCellContentPseudoGroup]
9
9
  });
@@ -136,8 +136,8 @@ export var codeBlock_with_marks = ['codeBlock', {
136
136
  props: {
137
137
  marks: {
138
138
  type: 'array',
139
- items: ['breakout'],
140
- optional: true
139
+ optional: true,
140
+ items: ['breakout']
141
141
  }
142
142
  }
143
143
  }];
@@ -193,8 +193,8 @@ export var mediaSingle = {
193
193
  }],
194
194
  marks: {
195
195
  type: 'array',
196
- items: ['link'],
197
- optional: true
196
+ optional: true,
197
+ items: ['link']
198
198
  }
199
199
  }
200
200
  };
@@ -260,8 +260,8 @@ export var media = {
260
260
  }],
261
261
  marks: {
262
262
  type: 'array',
263
- items: [['annotation', 'border', 'link']],
264
- optional: true
263
+ optional: true,
264
+ items: [['annotation', 'border', 'link']]
265
265
  }
266
266
  },
267
267
  required: ['attrs']
@@ -403,8 +403,8 @@ export var mention = {
403
403
  },
404
404
  marks: {
405
405
  type: 'array',
406
- items: ['annotation'],
407
- optional: true
406
+ optional: true,
407
+ items: ['annotation']
408
408
  }
409
409
  }
410
410
  };
@@ -431,8 +431,8 @@ export var emoji = {
431
431
  },
432
432
  marks: {
433
433
  type: 'array',
434
- items: ['annotation'],
435
- optional: true
434
+ optional: true,
435
+ items: ['annotation']
436
436
  }
437
437
  }
438
438
  };
@@ -452,8 +452,8 @@ export var date = {
452
452
  },
453
453
  marks: {
454
454
  type: 'array',
455
- items: ['annotation'],
456
- optional: true
455
+ optional: true,
456
+ items: ['annotation']
457
457
  }
458
458
  }
459
459
  };
@@ -528,8 +528,8 @@ export var status = {
528
528
  },
529
529
  marks: {
530
530
  type: 'array',
531
- items: ['annotation'],
532
- optional: true
531
+ optional: true,
532
+ items: ['annotation']
533
533
  }
534
534
  }
535
535
  };
@@ -537,8 +537,8 @@ export var formatted_text_inline = ['text', {
537
537
  props: {
538
538
  marks: {
539
539
  type: 'array',
540
- items: [['annotation', 'backgroundColor', 'em', 'link', 'strike', 'strong', 'subsup', 'textColor', 'underline', null]],
541
- optional: true
540
+ optional: true,
541
+ items: [['annotation', 'backgroundColor', 'em', 'link', 'strike', 'strong', 'subsup', 'textColor', 'underline', null]]
542
542
  }
543
543
  }
544
544
  }];
@@ -546,8 +546,8 @@ export var code_inline = ['text', {
546
546
  props: {
547
547
  marks: {
548
548
  type: 'array',
549
- items: [['annotation', 'code', 'link']],
550
- optional: true
549
+ optional: true,
550
+ items: [['annotation', 'code', 'link']]
551
551
  }
552
552
  }
553
553
  }];
@@ -706,8 +706,8 @@ export var link_text_inline = ['text', {
706
706
  props: {
707
707
  marks: {
708
708
  type: 'array',
709
- items: ['link'],
710
- optional: true
709
+ optional: true,
710
+ items: ['link']
711
711
  }
712
712
  }
713
713
  }];
@@ -753,8 +753,8 @@ export var inlineExtension_with_marks = ['inlineExtension', {
753
753
  props: {
754
754
  marks: {
755
755
  type: 'array',
756
- items: [['dataConsumer', 'fragment']],
757
- optional: true
756
+ optional: true,
757
+ items: [['dataConsumer', 'fragment']]
758
758
  }
759
759
  }
760
760
  }];
@@ -803,8 +803,8 @@ export var mediaInline = {
803
803
  },
804
804
  marks: {
805
805
  type: 'array',
806
- items: [['annotation', 'border', 'link']],
807
- optional: true
806
+ optional: true,
807
+ items: [['annotation', 'border', 'link']]
808
808
  }
809
809
  }
810
810
  };
@@ -877,6 +877,7 @@ export var confluenceUnsupportedInline = {
877
877
  }
878
878
  }
879
879
  };
880
+ export var atomic_inline = ['date', 'emoji', 'hardBreak', 'inlineCard', 'inlineExtension_with_marks', 'mediaInline', 'mention', 'placeholder', 'status'];
880
881
  export var inline = ['code_inline', 'date', 'emoji', 'formatted_text_inline', 'hardBreak', 'inlineCard', 'inlineExtension_with_marks', 'mediaInline', 'mention', 'placeholder', 'status'];
881
882
  export var paragraph = {
882
883
  props: {
@@ -910,8 +911,8 @@ export var paragraph_with_alignment = ['paragraph', {
910
911
  props: {
911
912
  marks: {
912
913
  type: 'array',
913
- items: ['alignment'],
914
- optional: true
914
+ optional: true,
915
+ items: ['alignment']
915
916
  }
916
917
  }
917
918
  }];
@@ -919,8 +920,8 @@ export var paragraph_with_indentation = ['paragraph', {
919
920
  props: {
920
921
  marks: {
921
922
  type: 'array',
922
- items: ['indentation'],
923
- optional: true
923
+ optional: true,
924
+ items: ['indentation']
924
925
  }
925
926
  }
926
927
  }];
@@ -1193,8 +1194,8 @@ export var extension_with_marks = ['extension', {
1193
1194
  props: {
1194
1195
  marks: {
1195
1196
  type: 'array',
1196
- items: [['dataConsumer', 'fragment']],
1197
- optional: true
1197
+ optional: true,
1198
+ items: [['dataConsumer', 'fragment']]
1198
1199
  }
1199
1200
  }
1200
1201
  }];
@@ -1234,8 +1235,8 @@ export var heading_with_indentation = ['heading', {
1234
1235
  props: {
1235
1236
  marks: {
1236
1237
  type: 'array',
1237
- items: ['indentation'],
1238
- optional: true
1238
+ optional: true,
1239
+ items: ['indentation']
1239
1240
  }
1240
1241
  }
1241
1242
  }];
@@ -1253,8 +1254,8 @@ export var heading_with_alignment = ['heading', {
1253
1254
  props: {
1254
1255
  marks: {
1255
1256
  type: 'array',
1256
- items: ['alignment'],
1257
- optional: true
1257
+ optional: true,
1258
+ items: ['alignment']
1258
1259
  }
1259
1260
  }
1260
1261
  }];
@@ -1328,9 +1329,12 @@ export var panel_legacy = ['panel', {
1328
1329
  }
1329
1330
  }
1330
1331
  }];
1331
- export var nestedExpand_content = ['nestedExpand', {
1332
- props: {}
1333
- }];
1332
+ export var nestedExpand_content = {
1333
+ type: 'array',
1334
+ items: [['blockquote', 'bulletList', 'codeBlock_with_no_marks', 'decisionList', 'heading_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'orderedList', 'panel', 'paragraph_with_no_marks', 'rule', 'taskList']],
1335
+ minItems: 1,
1336
+ allowUnsupportedBlock: true
1337
+ };
1334
1338
  export var nestedExpand_with_no_marks = ['nestedExpand', {
1335
1339
  props: {
1336
1340
  marks: {
@@ -1499,19 +1503,11 @@ export var tableHeader = {
1499
1503
  },
1500
1504
  required: ['content']
1501
1505
  };
1502
- export var tableCellContent = {
1503
- props: {
1504
- type: {
1505
- type: 'enum',
1506
- values: ['tableCellContent']
1507
- },
1508
- content: {
1509
- type: 'array',
1510
- items: [['blockCard', 'blockquote', 'bulletList', 'codeBlock_with_no_marks', 'decisionList', 'embedCard', 'extension_with_marks', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'nestedExpand_with_no_marks', 'orderedList', 'panel', 'paragraph_with_alignment', 'paragraph_with_no_marks', 'rule', 'taskList']],
1511
- minItems: 1,
1512
- allowUnsupportedBlock: true
1513
- }
1514
- }
1506
+ export var tableCell_content = {
1507
+ type: 'array',
1508
+ items: [['blockCard', 'blockquote', 'bulletList', 'codeBlock_with_no_marks', 'decisionList', 'embedCard', 'extension_with_marks', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'nestedExpand_with_no_marks', 'orderedList', 'panel', 'paragraph_with_alignment', 'paragraph_with_no_marks', 'rule', 'taskList']],
1509
+ minItems: 1,
1510
+ allowUnsupportedBlock: true
1515
1511
  };
1516
1512
  export var tableRow = {
1517
1513
  props: {
@@ -1566,8 +1562,8 @@ export var table = {
1566
1562
  },
1567
1563
  marks: {
1568
1564
  type: 'array',
1569
- items: ['fragment'],
1570
- optional: true
1565
+ optional: true,
1566
+ items: ['fragment']
1571
1567
  }
1572
1568
  }
1573
1569
  };
@@ -1625,8 +1621,8 @@ export var bodiedExtension_with_marks = ['bodiedExtension', {
1625
1621
  props: {
1626
1622
  marks: {
1627
1623
  type: 'array',
1628
- items: [['dataConsumer', 'fragment']],
1629
- optional: true
1624
+ optional: true,
1625
+ items: [['dataConsumer', 'fragment']]
1630
1626
  }
1631
1627
  }
1632
1628
  }];
@@ -1671,8 +1667,8 @@ export var expand_with_breakout_mark = ['expand', {
1671
1667
  props: {
1672
1668
  marks: {
1673
1669
  type: 'array',
1674
- items: ['breakout'],
1675
- optional: true
1670
+ optional: true,
1671
+ items: ['breakout']
1676
1672
  }
1677
1673
  }
1678
1674
  }];
@@ -1727,8 +1723,8 @@ export var layoutSection = {
1727
1723
  },
1728
1724
  marks: {
1729
1725
  type: 'array',
1730
- items: ['breakout'],
1731
- optional: true
1726
+ optional: true,
1727
+ items: ['breakout']
1732
1728
  }
1733
1729
  }
1734
1730
  };
@@ -1743,8 +1739,8 @@ export var layoutSection_full = ['layoutSection', {
1743
1739
  },
1744
1740
  marks: {
1745
1741
  type: 'array',
1746
- items: ['breakout'],
1747
- optional: true
1742
+ optional: true,
1743
+ items: ['breakout']
1748
1744
  },
1749
1745
  type: {
1750
1746
  type: 'enum',
@@ -1785,8 +1781,8 @@ export var extensionFrame = {
1785
1781
  },
1786
1782
  marks: {
1787
1783
  type: 'array',
1788
- items: [['dataConsumer', 'fragment']],
1789
- optional: true
1784
+ optional: true,
1785
+ items: [['dataConsumer', 'fragment']]
1790
1786
  }
1791
1787
  }
1792
1788
  };
@@ -0,0 +1 @@
1
+ export declare const atomicInlineGroup: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
@@ -28,7 +28,7 @@ export declare const nestedExpand: import("@atlaskit/adf-schema-generator/dist/t
28
28
  'validator-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
29
29
  };
30
30
  } & {
31
- ignore: ("pm-spec" | "validator-spec")[];
31
+ ignore: "pm-spec"[];
32
32
  } & {
33
33
  marks: any[];
34
34
  content: any[];