@atlaskit/adf-schema 49.0.6 → 50.0.0
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/index.js +132 -0
- package/dist/cjs/next-schema/generated/nodeTypes.js +140 -1
- package/dist/cjs/next-schema/nodes/blockCard.js +15 -0
- package/dist/cjs/next-schema/nodes/blockquote.js +16 -2
- package/dist/cjs/next-schema/nodes/caption.js +7 -0
- package/dist/cjs/next-schema/nodes/codeBlock.js +5 -0
- package/dist/cjs/next-schema/nodes/date.js +5 -0
- package/dist/cjs/next-schema/nodes/embedCard.js +5 -0
- package/dist/cjs/next-schema/nodes/emoji.js +5 -0
- package/dist/cjs/next-schema/nodes/expand.js +5 -0
- package/dist/cjs/next-schema/nodes/hardBreak.js +5 -0
- package/dist/cjs/next-schema/nodes/inlineCard.js +10 -0
- package/dist/cjs/next-schema/nodes/layoutColumn.js +5 -0
- package/dist/cjs/next-schema/nodes/layoutSection.js +12 -0
- package/dist/cjs/next-schema/nodes/list.js +20 -1
- package/dist/cjs/next-schema/nodes/media.js +10 -0
- package/dist/cjs/next-schema/nodes/mediaInline.js +5 -0
- package/dist/cjs/next-schema/nodes/mediaSingle.js +10 -0
- package/dist/cjs/next-schema/nodes/nestedExpand.js +5 -0
- package/dist/cjs/next-schema/nodes/panel.js +5 -0
- package/dist/cjs/next-schema/nodes/placeholder.js +5 -0
- package/dist/cjs/next-schema/nodes/rule.js +9 -1
- package/dist/cjs/next-schema/nodes/tableNodes.js +17 -0
- package/dist/cjs/schema/index.js +138 -0
- package/dist/cjs/schema/nodes/block-card.js +48 -1
- package/dist/cjs/schema/nodes/blockquote.js +20 -2
- package/dist/cjs/schema/nodes/bullet-list.js +20 -1
- package/dist/cjs/schema/nodes/caption.js +20 -1
- package/dist/cjs/schema/nodes/code-block.js +72 -2
- package/dist/cjs/schema/nodes/date.js +22 -1
- package/dist/cjs/schema/nodes/embed-card.js +36 -1
- package/dist/cjs/schema/nodes/emoji.js +73 -1
- package/dist/cjs/schema/nodes/expand.js +56 -1
- package/dist/cjs/schema/nodes/hard-break.js +18 -1
- package/dist/cjs/schema/nodes/index.js +138 -0
- package/dist/cjs/schema/nodes/inline-card.js +46 -1
- package/dist/cjs/schema/nodes/layout-column.js +37 -1
- package/dist/cjs/schema/nodes/layout-section.js +31 -1
- package/dist/cjs/schema/nodes/list-item.js +34 -1
- package/dist/cjs/schema/nodes/media-inline.js +12 -2
- package/dist/cjs/schema/nodes/media-single.js +22 -2
- package/dist/cjs/schema/nodes/media.js +21 -4
- package/dist/cjs/schema/nodes/nested-expand.js +34 -7
- package/dist/cjs/schema/nodes/ordered-list.js +54 -3
- package/dist/cjs/schema/nodes/panel.js +13 -5
- package/dist/cjs/schema/nodes/placeholder.js +24 -1
- package/dist/cjs/schema/nodes/rule.js +18 -1
- package/dist/cjs/schema/nodes/tableNodes.js +69 -6
- package/dist/cjs/validator-schema/generated/validatorSpec.js +159 -0
- package/dist/es2019/index.js +2 -2
- package/dist/es2019/next-schema/generated/nodeTypes.js +140 -1
- package/dist/es2019/next-schema/nodes/blockCard.js +15 -0
- package/dist/es2019/next-schema/nodes/blockquote.js +16 -2
- package/dist/es2019/next-schema/nodes/caption.js +7 -0
- package/dist/es2019/next-schema/nodes/codeBlock.js +5 -0
- package/dist/es2019/next-schema/nodes/date.js +5 -0
- package/dist/es2019/next-schema/nodes/embedCard.js +5 -0
- package/dist/es2019/next-schema/nodes/emoji.js +5 -0
- package/dist/es2019/next-schema/nodes/expand.js +5 -0
- package/dist/es2019/next-schema/nodes/hardBreak.js +5 -0
- package/dist/es2019/next-schema/nodes/inlineCard.js +10 -0
- package/dist/es2019/next-schema/nodes/layoutColumn.js +5 -0
- package/dist/es2019/next-schema/nodes/layoutSection.js +12 -0
- package/dist/es2019/next-schema/nodes/list.js +20 -1
- package/dist/es2019/next-schema/nodes/media.js +10 -0
- package/dist/es2019/next-schema/nodes/mediaInline.js +5 -0
- package/dist/es2019/next-schema/nodes/mediaSingle.js +10 -0
- package/dist/es2019/next-schema/nodes/nestedExpand.js +5 -0
- package/dist/es2019/next-schema/nodes/panel.js +5 -0
- package/dist/es2019/next-schema/nodes/placeholder.js +5 -0
- package/dist/es2019/next-schema/nodes/rule.js +9 -1
- package/dist/es2019/next-schema/nodes/tableNodes.js +17 -0
- package/dist/es2019/schema/default-schema.js +1 -1
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/nodes/block-card.js +50 -0
- package/dist/es2019/schema/nodes/blockquote.js +19 -1
- package/dist/es2019/schema/nodes/bullet-list.js +19 -0
- package/dist/es2019/schema/nodes/caption.js +19 -0
- package/dist/es2019/schema/nodes/code-block.js +68 -0
- package/dist/es2019/schema/nodes/date.js +19 -0
- package/dist/es2019/schema/nodes/embed-card.js +34 -0
- package/dist/es2019/schema/nodes/emoji.js +71 -0
- package/dist/es2019/schema/nodes/expand.js +59 -0
- package/dist/es2019/schema/nodes/hard-break.js +15 -0
- package/dist/es2019/schema/nodes/index.js +20 -20
- package/dist/es2019/schema/nodes/inline-card.js +45 -0
- package/dist/es2019/schema/nodes/layout-column.js +38 -0
- package/dist/es2019/schema/nodes/layout-section.js +32 -0
- package/dist/es2019/schema/nodes/list-item.js +29 -0
- package/dist/es2019/schema/nodes/media-inline.js +8 -1
- package/dist/es2019/schema/nodes/media-single.js +20 -1
- package/dist/es2019/schema/nodes/media.js +17 -4
- package/dist/es2019/schema/nodes/nested-expand.js +21 -6
- package/dist/es2019/schema/nodes/ordered-list.js +51 -2
- package/dist/es2019/schema/nodes/panel.js +11 -5
- package/dist/es2019/schema/nodes/placeholder.js +23 -0
- package/dist/es2019/schema/nodes/rule.js +15 -0
- package/dist/es2019/schema/nodes/tableNodes.js +59 -3
- package/dist/es2019/validator-schema/generated/validatorSpec.js +159 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/next-schema/generated/nodeTypes.js +140 -1
- package/dist/esm/next-schema/nodes/blockCard.js +15 -0
- package/dist/esm/next-schema/nodes/blockquote.js +16 -2
- package/dist/esm/next-schema/nodes/caption.js +7 -0
- package/dist/esm/next-schema/nodes/codeBlock.js +5 -0
- package/dist/esm/next-schema/nodes/date.js +5 -0
- package/dist/esm/next-schema/nodes/embedCard.js +5 -0
- package/dist/esm/next-schema/nodes/emoji.js +5 -0
- package/dist/esm/next-schema/nodes/expand.js +5 -0
- package/dist/esm/next-schema/nodes/hardBreak.js +5 -0
- package/dist/esm/next-schema/nodes/inlineCard.js +10 -0
- package/dist/esm/next-schema/nodes/layoutColumn.js +5 -0
- package/dist/esm/next-schema/nodes/layoutSection.js +12 -0
- package/dist/esm/next-schema/nodes/list.js +20 -1
- package/dist/esm/next-schema/nodes/media.js +10 -0
- package/dist/esm/next-schema/nodes/mediaInline.js +5 -0
- package/dist/esm/next-schema/nodes/mediaSingle.js +10 -0
- package/dist/esm/next-schema/nodes/nestedExpand.js +5 -0
- package/dist/esm/next-schema/nodes/panel.js +5 -0
- package/dist/esm/next-schema/nodes/placeholder.js +5 -0
- package/dist/esm/next-schema/nodes/rule.js +9 -1
- package/dist/esm/next-schema/nodes/tableNodes.js +17 -0
- package/dist/esm/schema/default-schema.js +1 -1
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/nodes/block-card.js +47 -0
- package/dist/esm/schema/nodes/blockquote.js +19 -1
- package/dist/esm/schema/nodes/bullet-list.js +19 -0
- package/dist/esm/schema/nodes/caption.js +19 -0
- package/dist/esm/schema/nodes/code-block.js +71 -1
- package/dist/esm/schema/nodes/date.js +21 -0
- package/dist/esm/schema/nodes/embed-card.js +35 -0
- package/dist/esm/schema/nodes/emoji.js +71 -0
- package/dist/esm/schema/nodes/expand.js +55 -0
- package/dist/esm/schema/nodes/hard-break.js +17 -0
- package/dist/esm/schema/nodes/index.js +20 -20
- package/dist/esm/schema/nodes/inline-card.js +45 -0
- package/dist/esm/schema/nodes/layout-column.js +36 -0
- package/dist/esm/schema/nodes/layout-section.js +30 -0
- package/dist/esm/schema/nodes/list-item.js +33 -0
- package/dist/esm/schema/nodes/media-inline.js +10 -1
- package/dist/esm/schema/nodes/media-single.js +21 -1
- package/dist/esm/schema/nodes/media.js +19 -3
- package/dist/esm/schema/nodes/nested-expand.js +32 -6
- package/dist/esm/schema/nodes/ordered-list.js +53 -2
- package/dist/esm/schema/nodes/panel.js +12 -4
- package/dist/esm/schema/nodes/placeholder.js +23 -0
- package/dist/esm/schema/nodes/rule.js +17 -0
- package/dist/esm/schema/nodes/tableNodes.js +68 -5
- package/dist/esm/validator-schema/generated/validatorSpec.js +159 -0
- package/dist/json-schema/v1/full.json +140 -2
- package/dist/json-schema/v1/stage-0.json +152 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeTypes.d.ts +72 -0
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +7 -0
- package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +7 -0
- package/dist/types/next-schema/nodes/blockquote.d.ts +7 -0
- package/dist/types/next-schema/nodes/layoutSection.d.ts +5 -0
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/nodes/block-card.d.ts +4 -0
- package/dist/types/schema/nodes/blockquote.d.ts +4 -0
- package/dist/types/schema/nodes/bullet-list.d.ts +1 -0
- package/dist/types/schema/nodes/caption.d.ts +4 -0
- package/dist/types/schema/nodes/code-block.d.ts +2 -0
- package/dist/types/schema/nodes/date.d.ts +2 -0
- package/dist/types/schema/nodes/embed-card.d.ts +2 -0
- package/dist/types/schema/nodes/emoji.d.ts +2 -0
- package/dist/types/schema/nodes/expand.d.ts +2 -0
- package/dist/types/schema/nodes/hard-break.d.ts +2 -0
- package/dist/types/schema/nodes/index.d.ts +20 -20
- package/dist/types/schema/nodes/inline-card.d.ts +1 -0
- package/dist/types/schema/nodes/layout-column.d.ts +2 -0
- package/dist/types/schema/nodes/layout-section.d.ts +4 -0
- package/dist/types/schema/nodes/list-item.d.ts +2 -0
- package/dist/types/schema/nodes/media-inline.d.ts +1 -0
- package/dist/types/schema/nodes/media-single.d.ts +3 -1
- package/dist/types/schema/nodes/media.d.ts +3 -1
- package/dist/types/schema/nodes/nested-expand.d.ts +2 -0
- package/dist/types/schema/nodes/ordered-list.d.ts +2 -0
- package/dist/types/schema/nodes/panel.d.ts +2 -0
- package/dist/types/schema/nodes/placeholder.d.ts +2 -0
- package/dist/types/schema/nodes/rule.d.ts +4 -0
- package/dist/types/schema/nodes/tableNodes.d.ts +6 -0
- package/dist/types/schema/nodes/types/list.d.ts +7 -0
- package/dist/types/schema/nodes/types/rich-media-common.d.ts +1 -0
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +159 -0
- package/json-schema/v1/full.json +140 -2
- package/json-schema/v1/stage-0.json +152 -2
- package/package.json +2 -2
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +1 -0
@@ -151,6 +151,9 @@
|
|
151
151
|
{
|
152
152
|
"type": "object",
|
153
153
|
"properties": {
|
154
|
+
"localId": {
|
155
|
+
"type": "string"
|
156
|
+
},
|
154
157
|
"url": {
|
155
158
|
"type": "string"
|
156
159
|
},
|
@@ -203,6 +206,9 @@
|
|
203
206
|
"properties": {
|
204
207
|
"url": {
|
205
208
|
"type": "string"
|
209
|
+
},
|
210
|
+
"localId": {
|
211
|
+
"type": "string"
|
206
212
|
}
|
207
213
|
},
|
208
214
|
"required": ["url"],
|
@@ -211,7 +217,10 @@
|
|
211
217
|
{
|
212
218
|
"type": "object",
|
213
219
|
"properties": {
|
214
|
-
"data": {}
|
220
|
+
"data": {},
|
221
|
+
"localId": {
|
222
|
+
"type": "string"
|
223
|
+
}
|
215
224
|
},
|
216
225
|
"required": ["data"],
|
217
226
|
"additionalProperties": false
|
@@ -228,6 +237,15 @@
|
|
228
237
|
"type": {
|
229
238
|
"enum": ["blockquote"]
|
230
239
|
},
|
240
|
+
"attrs": {
|
241
|
+
"type": "object",
|
242
|
+
"properties": {
|
243
|
+
"localId": {
|
244
|
+
"type": "string"
|
245
|
+
}
|
246
|
+
},
|
247
|
+
"additionalProperties": false
|
248
|
+
},
|
231
249
|
"content": {
|
232
250
|
"type": "array",
|
233
251
|
"items": {
|
@@ -391,6 +409,15 @@
|
|
391
409
|
"type": {
|
392
410
|
"enum": ["bulletList"]
|
393
411
|
},
|
412
|
+
"attrs": {
|
413
|
+
"type": "object",
|
414
|
+
"properties": {
|
415
|
+
"localId": {
|
416
|
+
"type": "string"
|
417
|
+
}
|
418
|
+
},
|
419
|
+
"additionalProperties": false
|
420
|
+
},
|
394
421
|
"content": {
|
395
422
|
"type": "array",
|
396
423
|
"items": {
|
@@ -415,6 +442,15 @@
|
|
415
442
|
"type": {
|
416
443
|
"enum": ["caption"]
|
417
444
|
},
|
445
|
+
"attrs": {
|
446
|
+
"type": "object",
|
447
|
+
"properties": {
|
448
|
+
"localId": {
|
449
|
+
"type": "string"
|
450
|
+
}
|
451
|
+
},
|
452
|
+
"additionalProperties": false
|
453
|
+
},
|
418
454
|
"content": {
|
419
455
|
"type": "array",
|
420
456
|
"items": {
|
@@ -510,6 +546,9 @@
|
|
510
546
|
},
|
511
547
|
"uniqueId": {
|
512
548
|
"type": "string"
|
549
|
+
},
|
550
|
+
"localId": {
|
551
|
+
"type": "string"
|
513
552
|
}
|
514
553
|
},
|
515
554
|
"additionalProperties": false
|
@@ -544,6 +583,9 @@
|
|
544
583
|
},
|
545
584
|
"uniqueId": {
|
546
585
|
"type": "string"
|
586
|
+
},
|
587
|
+
"localId": {
|
588
|
+
"type": "string"
|
547
589
|
}
|
548
590
|
},
|
549
591
|
"additionalProperties": false
|
@@ -600,6 +642,9 @@
|
|
600
642
|
"timestamp": {
|
601
643
|
"minLength": 1,
|
602
644
|
"type": "string"
|
645
|
+
},
|
646
|
+
"localId": {
|
647
|
+
"type": "string"
|
603
648
|
}
|
604
649
|
},
|
605
650
|
"required": ["timestamp"],
|
@@ -812,6 +857,9 @@
|
|
812
857
|
},
|
813
858
|
"originalWidth": {
|
814
859
|
"type": "number"
|
860
|
+
},
|
861
|
+
"localId": {
|
862
|
+
"type": "string"
|
815
863
|
}
|
816
864
|
},
|
817
865
|
"required": ["url", "layout"],
|
@@ -844,6 +892,9 @@
|
|
844
892
|
},
|
845
893
|
"text": {
|
846
894
|
"type": "string"
|
895
|
+
},
|
896
|
+
"localId": {
|
897
|
+
"type": "string"
|
847
898
|
}
|
848
899
|
},
|
849
900
|
"required": ["shortName"],
|
@@ -868,6 +919,9 @@
|
|
868
919
|
"properties": {
|
869
920
|
"title": {
|
870
921
|
"type": "string"
|
922
|
+
},
|
923
|
+
"localId": {
|
924
|
+
"type": "string"
|
871
925
|
}
|
872
926
|
},
|
873
927
|
"additionalProperties": false
|
@@ -907,6 +961,9 @@
|
|
907
961
|
"properties": {
|
908
962
|
"title": {
|
909
963
|
"type": "string"
|
964
|
+
},
|
965
|
+
"localId": {
|
966
|
+
"type": "string"
|
910
967
|
}
|
911
968
|
},
|
912
969
|
"additionalProperties": false
|
@@ -1161,6 +1218,9 @@
|
|
1161
1218
|
"properties": {
|
1162
1219
|
"text": {
|
1163
1220
|
"enum": ["\n"]
|
1221
|
+
},
|
1222
|
+
"localId": {
|
1223
|
+
"type": "string"
|
1164
1224
|
}
|
1165
1225
|
},
|
1166
1226
|
"additionalProperties": false
|
@@ -1336,6 +1396,9 @@
|
|
1336
1396
|
"properties": {
|
1337
1397
|
"url": {
|
1338
1398
|
"type": "string"
|
1399
|
+
},
|
1400
|
+
"localId": {
|
1401
|
+
"type": "string"
|
1339
1402
|
}
|
1340
1403
|
},
|
1341
1404
|
"required": ["url"],
|
@@ -1344,7 +1407,10 @@
|
|
1344
1407
|
{
|
1345
1408
|
"type": "object",
|
1346
1409
|
"properties": {
|
1347
|
-
"data": {}
|
1410
|
+
"data": {},
|
1411
|
+
"localId": {
|
1412
|
+
"type": "string"
|
1413
|
+
}
|
1348
1414
|
},
|
1349
1415
|
"required": ["data"],
|
1350
1416
|
"additionalProperties": false
|
@@ -1430,6 +1496,9 @@
|
|
1430
1496
|
"type": "number",
|
1431
1497
|
"minimum": 0,
|
1432
1498
|
"maximum": 100
|
1499
|
+
},
|
1500
|
+
"localId": {
|
1501
|
+
"type": "string"
|
1433
1502
|
}
|
1434
1503
|
},
|
1435
1504
|
"required": ["width"],
|
@@ -1486,6 +1555,15 @@
|
|
1486
1555
|
"$ref": "#/definitions/breakout_mark"
|
1487
1556
|
}
|
1488
1557
|
},
|
1558
|
+
"attrs": {
|
1559
|
+
"type": "object",
|
1560
|
+
"properties": {
|
1561
|
+
"localId": {
|
1562
|
+
"type": "string"
|
1563
|
+
}
|
1564
|
+
},
|
1565
|
+
"additionalProperties": false
|
1566
|
+
},
|
1489
1567
|
"content": {
|
1490
1568
|
"type": "array",
|
1491
1569
|
"items": {
|
@@ -1513,6 +1591,9 @@
|
|
1513
1591
|
"properties": {
|
1514
1592
|
"columnRuleStyle": {
|
1515
1593
|
"enum": ["solid"]
|
1594
|
+
},
|
1595
|
+
"localId": {
|
1596
|
+
"type": "string"
|
1516
1597
|
}
|
1517
1598
|
},
|
1518
1599
|
"additionalProperties": false
|
@@ -1567,6 +1648,15 @@
|
|
1567
1648
|
"type": {
|
1568
1649
|
"enum": ["listItem"]
|
1569
1650
|
},
|
1651
|
+
"attrs": {
|
1652
|
+
"type": "object",
|
1653
|
+
"properties": {
|
1654
|
+
"localId": {
|
1655
|
+
"type": "string"
|
1656
|
+
}
|
1657
|
+
},
|
1658
|
+
"additionalProperties": false
|
1659
|
+
},
|
1570
1660
|
"content": {
|
1571
1661
|
"type": "array",
|
1572
1662
|
"items": [
|
@@ -1630,6 +1720,15 @@
|
|
1630
1720
|
"type": {
|
1631
1721
|
"enum": ["listItem"]
|
1632
1722
|
},
|
1723
|
+
"attrs": {
|
1724
|
+
"type": "object",
|
1725
|
+
"properties": {
|
1726
|
+
"localId": {
|
1727
|
+
"type": "string"
|
1728
|
+
}
|
1729
|
+
},
|
1730
|
+
"additionalProperties": false
|
1731
|
+
},
|
1633
1732
|
"content": {
|
1634
1733
|
"type": "array",
|
1635
1734
|
"items": [
|
@@ -1723,6 +1822,9 @@
|
|
1723
1822
|
"type": {
|
1724
1823
|
"enum": ["link", "file"]
|
1725
1824
|
},
|
1825
|
+
"localId": {
|
1826
|
+
"type": "string"
|
1827
|
+
},
|
1726
1828
|
"id": {
|
1727
1829
|
"minLength": 1,
|
1728
1830
|
"type": "string"
|
@@ -1753,6 +1855,9 @@
|
|
1753
1855
|
"type": {
|
1754
1856
|
"enum": ["external"]
|
1755
1857
|
},
|
1858
|
+
"localId": {
|
1859
|
+
"type": "string"
|
1860
|
+
},
|
1756
1861
|
"alt": {
|
1757
1862
|
"type": "string"
|
1758
1863
|
},
|
@@ -1820,6 +1925,9 @@
|
|
1820
1925
|
"type": {
|
1821
1926
|
"enum": ["link", "file", "image"]
|
1822
1927
|
},
|
1928
|
+
"localId": {
|
1929
|
+
"type": "string"
|
1930
|
+
},
|
1823
1931
|
"id": {
|
1824
1932
|
"minLength": 1,
|
1825
1933
|
"type": "string"
|
@@ -1915,6 +2023,9 @@
|
|
1915
2023
|
{
|
1916
2024
|
"type": "object",
|
1917
2025
|
"properties": {
|
2026
|
+
"localId": {
|
2027
|
+
"type": "string"
|
2028
|
+
},
|
1918
2029
|
"width": {
|
1919
2030
|
"type": "number",
|
1920
2031
|
"minimum": 0,
|
@@ -1941,6 +2052,9 @@
|
|
1941
2052
|
{
|
1942
2053
|
"type": "object",
|
1943
2054
|
"properties": {
|
2055
|
+
"localId": {
|
2056
|
+
"type": "string"
|
2057
|
+
},
|
1944
2058
|
"width": {
|
1945
2059
|
"type": "number",
|
1946
2060
|
"minimum": 0
|
@@ -2114,6 +2228,9 @@
|
|
2114
2228
|
"properties": {
|
2115
2229
|
"title": {
|
2116
2230
|
"type": "string"
|
2231
|
+
},
|
2232
|
+
"localId": {
|
2233
|
+
"type": "string"
|
2117
2234
|
}
|
2118
2235
|
},
|
2119
2236
|
"additionalProperties": false
|
@@ -2209,6 +2326,9 @@
|
|
2209
2326
|
"order": {
|
2210
2327
|
"type": "number",
|
2211
2328
|
"minimum": 0
|
2329
|
+
},
|
2330
|
+
"localId": {
|
2331
|
+
"type": "string"
|
2212
2332
|
}
|
2213
2333
|
},
|
2214
2334
|
"additionalProperties": false
|
@@ -2262,6 +2382,9 @@
|
|
2262
2382
|
},
|
2263
2383
|
"panelColor": {
|
2264
2384
|
"type": "string"
|
2385
|
+
},
|
2386
|
+
"localId": {
|
2387
|
+
"type": "string"
|
2265
2388
|
}
|
2266
2389
|
},
|
2267
2390
|
"required": ["panelType"],
|
@@ -2412,6 +2535,9 @@
|
|
2412
2535
|
"properties": {
|
2413
2536
|
"text": {
|
2414
2537
|
"type": "string"
|
2538
|
+
},
|
2539
|
+
"localId": {
|
2540
|
+
"type": "string"
|
2415
2541
|
}
|
2416
2542
|
},
|
2417
2543
|
"required": ["text"],
|
@@ -2426,6 +2552,15 @@
|
|
2426
2552
|
"properties": {
|
2427
2553
|
"type": {
|
2428
2554
|
"enum": ["rule"]
|
2555
|
+
},
|
2556
|
+
"attrs": {
|
2557
|
+
"type": "object",
|
2558
|
+
"properties": {
|
2559
|
+
"localId": {
|
2560
|
+
"type": "string"
|
2561
|
+
}
|
2562
|
+
},
|
2563
|
+
"additionalProperties": false
|
2429
2564
|
}
|
2430
2565
|
},
|
2431
2566
|
"additionalProperties": false,
|
@@ -2598,6 +2733,9 @@
|
|
2598
2733
|
},
|
2599
2734
|
"background": {
|
2600
2735
|
"type": "string"
|
2736
|
+
},
|
2737
|
+
"localId": {
|
2738
|
+
"type": "string"
|
2601
2739
|
}
|
2602
2740
|
},
|
2603
2741
|
"additionalProperties": false
|
@@ -2632,6 +2770,9 @@
|
|
2632
2770
|
},
|
2633
2771
|
"background": {
|
2634
2772
|
"type": "string"
|
2773
|
+
},
|
2774
|
+
"localId": {
|
2775
|
+
"type": "string"
|
2635
2776
|
}
|
2636
2777
|
},
|
2637
2778
|
"additionalProperties": false
|
@@ -2701,6 +2842,15 @@
|
|
2701
2842
|
"type": {
|
2702
2843
|
"enum": ["tableRow"]
|
2703
2844
|
},
|
2845
|
+
"attrs": {
|
2846
|
+
"type": "object",
|
2847
|
+
"properties": {
|
2848
|
+
"localId": {
|
2849
|
+
"type": "string"
|
2850
|
+
}
|
2851
|
+
},
|
2852
|
+
"additionalProperties": false
|
2853
|
+
},
|
2704
2854
|
"content": {
|
2705
2855
|
"type": "array",
|
2706
2856
|
"items": {
|
package/dist/types/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, extendedBlockquote, bodiedExtension, breakout, bulletList, bulletListSelector, caption, code, codeBlock, codeBlockToJSON, colorPalette,
|
1
|
+
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, breakout, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, code, codeBlock, codeBlockWithLocalId, codeBlockToJSON, colorPalette,
|
2
2
|
/** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
3
|
-
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expandWithNestedExpand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, listItemWithDecisionStage0, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, orderedListWithOrder, extendedPanel, paragraph, placeholder, rule, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, extensionFrame, multiBodiedExtension, backgroundColor, backgroundColorPalette, backgroundColorPaletteNext, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, } from './schema';
|
3
|
+
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, hardBreakWithLocalId, heading, image, indentation, inlineCard, inlineCardWithLocalId, inlineExtension, inlineNodes, layoutColumn, layoutColumnWithLocalId, layoutSection, link, linkToJSON, listItem, listItemWithDecisionStage0, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, extensionFrame, multiBodiedExtension, backgroundColor, backgroundColorPalette, backgroundColorPaletteNext, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, } from './schema';
|
4
4
|
export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, CodeDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataConsumerAttributes, DataConsumerDefinition, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmDefinition, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, FragmentAttributes, FragmentDefinition, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, IndentationMarkAttributes, IndentationMarkDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, LinkAttributes, LinkDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StrikeDefinition, StrongDefinition, SubSupAttributes, SubSupDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, TaskListContent, TaskListDefinition, TextColorAttributes, TextColorDefinition, TextDefinition, UnderlineDefinition, UrlType, AnnotationId, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, AnnotationDataAttributes, CellDomAttrs, BorderMarkAttributes, BorderMarkDefinition, MultiBodiedExtensionDefinition, ExtensionFrameDefinition, BackgroundColorDefinition, } from './schema';
|
5
5
|
export { B100, B400, B50, B500, B75, G200, G300, G400, G50, G500, G75, N0, N20, N200, N30, N300, N40, N50, N500, N60, N80, N800, N90, P100, P300, P400, P50, P500, P75, R100, R300, R400, R50, R500, R75, T100, T300, T50, T500, T75, Y200, Y400, Y50, Y500, Y75, acNameToEmoji, acShortcutToEmoji, emojiIdToAcName, generateUuid, getEmojiAcName, getLinkMatch, hexToRgb, hexToRgba, isHex, isRgb, isSafeUrl, linkify, linkifyMatch, normalizeHexColor, normalizeUrl, rgbToHex, uuid, getDarkModeLCHColor, } from './utils';
|
6
6
|
export type { Match, NameToEmoji } from './utils';
|