@atlaskit/adf-schema 56.4.0 → 56.5.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 +18 -0
- package/dist/cjs/entry-points/bodied-extension.js +6 -0
- package/dist/cjs/entry-points/extension.js +6 -0
- package/dist/cjs/entry-points/multi-bodied-extension.js +6 -0
- package/dist/cjs/entry-points/schema-bodied-extension.js +6 -0
- package/dist/cjs/entry-points/schema-extension.js +6 -0
- package/dist/cjs/entry-points/schema-multi-bodied-extension.js +6 -0
- package/dist/cjs/entry-points/schema-next-nodeTypes.js +18 -0
- package/dist/cjs/next-schema/full-schema.adf.js +4 -1
- package/dist/cjs/next-schema/generated/nodeTypes.js +79 -2
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +6 -0
- package/dist/cjs/next-schema/nodes/extension.js +6 -0
- package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +8 -0
- package/dist/cjs/schema/default-schema.js +3 -1
- package/dist/cjs/schema/index.js +18 -0
- package/dist/cjs/schema/nodes/bodied-extension.js +12 -1
- package/dist/cjs/schema/nodes/extension.js +12 -1
- package/dist/cjs/schema/nodes/index.js +18 -0
- package/dist/cjs/schema/nodes/multi-bodied-extension.js +14 -1
- package/dist/cjs/validator-schema/generated/validatorSpec.js +29 -2
- package/dist/es2019/entry-points/bodied-extension.js +1 -1
- package/dist/es2019/entry-points/extension.js +1 -1
- package/dist/es2019/entry-points/multi-bodied-extension.js +1 -1
- package/dist/es2019/entry-points/schema-bodied-extension.js +1 -1
- package/dist/es2019/entry-points/schema-extension.js +1 -1
- package/dist/es2019/entry-points/schema-multi-bodied-extension.js +1 -1
- package/dist/es2019/entry-points/schema-next-nodeTypes.js +1 -1
- package/dist/es2019/next-schema/full-schema.adf.js +4 -1
- package/dist/es2019/next-schema/generated/nodeTypes.js +78 -1
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +6 -0
- package/dist/es2019/next-schema/nodes/extension.js +6 -0
- package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +8 -0
- package/dist/es2019/schema/default-schema.js +4 -2
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/nodes/bodied-extension.js +9 -1
- package/dist/es2019/schema/nodes/extension.js +9 -1
- package/dist/es2019/schema/nodes/index.js +3 -3
- package/dist/es2019/schema/nodes/multi-bodied-extension.js +11 -1
- package/dist/es2019/validator-schema/generated/validatorSpec.js +28 -1
- package/dist/esm/entry-points/bodied-extension.js +1 -1
- package/dist/esm/entry-points/extension.js +1 -1
- package/dist/esm/entry-points/multi-bodied-extension.js +1 -1
- package/dist/esm/entry-points/schema-bodied-extension.js +1 -1
- package/dist/esm/entry-points/schema-extension.js +1 -1
- package/dist/esm/entry-points/schema-multi-bodied-extension.js +1 -1
- package/dist/esm/entry-points/schema-next-nodeTypes.js +1 -1
- package/dist/esm/next-schema/full-schema.adf.js +4 -1
- package/dist/esm/next-schema/generated/nodeTypes.js +78 -1
- package/dist/esm/next-schema/nodes/bodiedExtension.js +6 -0
- package/dist/esm/next-schema/nodes/extension.js +6 -0
- package/dist/esm/next-schema/nodes/multiBodiedExtension.js +8 -0
- package/dist/esm/schema/default-schema.js +4 -2
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/nodes/bodied-extension.js +10 -0
- package/dist/esm/schema/nodes/extension.js +10 -0
- package/dist/esm/schema/nodes/index.js +3 -3
- package/dist/esm/schema/nodes/multi-bodied-extension.js +12 -0
- package/dist/esm/validator-schema/generated/validatorSpec.js +28 -1
- package/dist/json-schema/v1/stage-0.json +124 -0
- package/dist/types/entry-points/bodied-extension.d.ts +2 -2
- package/dist/types/entry-points/extension.d.ts +2 -2
- package/dist/types/entry-points/multi-bodied-extension.d.ts +2 -2
- package/dist/types/entry-points/schema-bodied-extension.d.ts +2 -2
- package/dist/types/entry-points/schema-extension.d.ts +2 -2
- package/dist/types/entry-points/schema-multi-bodied-extension.d.ts +2 -2
- package/dist/types/entry-points/schema-next-nodeTypes.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeTypes.d.ts +45 -1
- package/dist/types/next-schema/nodes/bodiedExtension.d.ts +2 -1
- package/dist/types/next-schema/nodes/extension.d.ts +2 -1
- package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +1 -1
- package/dist/types/schema/index.d.ts +2 -2
- package/dist/types/schema/nodes/bodied-extension.d.ts +6 -0
- package/dist/types/schema/nodes/doc.d.ts +4 -2
- package/dist/types/schema/nodes/extension.d.ts +6 -0
- package/dist/types/schema/nodes/index.d.ts +6 -6
- package/dist/types/schema/nodes/multi-bodied-extension.d.ts +9 -0
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +27 -0
- package/json-schema/v1/stage-0.json +124 -0
- package/package.json +3 -3
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1
4
|
import { getExtensionAttrs } from '../../utils/extensions';
|
|
2
5
|
import { bodiedExtension as bodiedExtensionFactory } from '../../next-schema/generated/nodeTypes';
|
|
3
6
|
|
|
@@ -9,6 +12,10 @@ import { bodiedExtension as bodiedExtensionFactory } from '../../next-schema/gen
|
|
|
9
12
|
* @name bodiedExtension_with_marks_node
|
|
10
13
|
*/
|
|
11
14
|
|
|
15
|
+
/**
|
|
16
|
+
* @name bodiedExtension_root_only_node
|
|
17
|
+
*/
|
|
18
|
+
|
|
12
19
|
export var bodiedExtension = bodiedExtensionFactory({
|
|
13
20
|
parseDOM: [{
|
|
14
21
|
context: 'bodiedExtension//',
|
|
@@ -33,4 +40,7 @@ export var bodiedExtension = bodiedExtensionFactory({
|
|
|
33
40
|
};
|
|
34
41
|
return ['div', attrs, 0];
|
|
35
42
|
}
|
|
43
|
+
});
|
|
44
|
+
export var bodiedExtensionRootOnlyStage0 = _objectSpread(_objectSpread({}, bodiedExtension), {}, {
|
|
45
|
+
marks: "breakout ".concat(bodiedExtension.marks)
|
|
36
46
|
});
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1
4
|
import { getExtensionAttrs } from '../../utils/extensions';
|
|
2
5
|
import { extension as extensionFactory } from '../../next-schema/generated/nodeTypes';
|
|
3
6
|
|
|
@@ -9,6 +12,10 @@ import { extension as extensionFactory } from '../../next-schema/generated/nodeT
|
|
|
9
12
|
* @name extension_with_marks_node
|
|
10
13
|
*/
|
|
11
14
|
|
|
15
|
+
/**
|
|
16
|
+
* @name extension_root_only_node
|
|
17
|
+
*/
|
|
18
|
+
|
|
12
19
|
export var extension = extensionFactory({
|
|
13
20
|
parseDOM: [{
|
|
14
21
|
tag: '[data-node-type="extension"]',
|
|
@@ -29,4 +36,7 @@ export var extension = extensionFactory({
|
|
|
29
36
|
};
|
|
30
37
|
return ['div', attrs];
|
|
31
38
|
}
|
|
39
|
+
});
|
|
40
|
+
export var extensionRootOnlyStage0 = _objectSpread(_objectSpread({}, extension), {}, {
|
|
41
|
+
marks: 'breakout dataConsumer fragment unsupportedMark unsupportedNodeAttribute'
|
|
32
42
|
});
|
|
@@ -41,9 +41,9 @@ export { status } from './status';
|
|
|
41
41
|
export { nestedExpand, nestedExpandWithLocalId } from './nested-expand';
|
|
42
42
|
export { embedCard, embedCardWithLocalId } from './embed-card';
|
|
43
43
|
// Extensions
|
|
44
|
-
export { extension } from './extension';
|
|
44
|
+
export { extension, extensionRootOnlyStage0 } from './extension';
|
|
45
45
|
export { inlineExtension } from './inline-extension';
|
|
46
|
-
export { bodiedExtension } from './bodied-extension';
|
|
47
|
-
export { extensionFrame, multiBodiedExtension } from './multi-bodied-extension';
|
|
46
|
+
export { bodiedExtension, bodiedExtensionRootOnlyStage0 } from './bodied-extension';
|
|
47
|
+
export { extensionFrame, multiBodiedExtension, multiBodiedExtensionRootOnlyStage0 } from './multi-bodied-extension';
|
|
48
48
|
export { syncBlock } from './sync-block';
|
|
49
49
|
export { bodiedSyncBlock } from './bodied-sync-block';
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1
4
|
import { getExtensionAttrs } from '../../utils/extensions';
|
|
2
5
|
import { multiBodiedExtensionStage0 as multiBodiedExtensionStage0Factory, extensionFrameStage0 as extensionFrameStage0Factory } from '../../next-schema/generated/nodeTypes';
|
|
3
6
|
|
|
@@ -39,6 +42,12 @@ export var extensionFrame = extensionFrameStage0Factory({
|
|
|
39
42
|
* @description Wraps multiple extensionFrame objects.
|
|
40
43
|
*/
|
|
41
44
|
|
|
45
|
+
/**
|
|
46
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
47
|
+
* @stage 0
|
|
48
|
+
* @name multiBodiedExtension_root_only_node
|
|
49
|
+
*/
|
|
50
|
+
|
|
42
51
|
export var multiBodiedExtension = multiBodiedExtensionStage0Factory({
|
|
43
52
|
parseDOM: [{
|
|
44
53
|
context: 'multiBodiedExtension//',
|
|
@@ -62,4 +71,7 @@ export var multiBodiedExtension = multiBodiedExtensionStage0Factory({
|
|
|
62
71
|
};
|
|
63
72
|
return ['div', attrs, 0];
|
|
64
73
|
}
|
|
74
|
+
});
|
|
75
|
+
export var multiBodiedExtensionRootOnlyStage0 = _objectSpread(_objectSpread({}, multiBodiedExtension), {}, {
|
|
76
|
+
marks: "breakout ".concat(multiBodiedExtension.marks)
|
|
65
77
|
});
|
|
@@ -225,6 +225,15 @@ export var bodiedExtension = {
|
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
|
+
export var bodiedExtension_root_only = ['bodiedExtension', {
|
|
229
|
+
props: {
|
|
230
|
+
marks: {
|
|
231
|
+
items: [['breakout', 'dataConsumer', 'fragment']],
|
|
232
|
+
optional: true,
|
|
233
|
+
type: 'array'
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}];
|
|
228
237
|
export var bodiedExtension_with_marks = ['bodiedExtension', {
|
|
229
238
|
props: {
|
|
230
239
|
marks: {
|
|
@@ -513,7 +522,7 @@ export var doc = {
|
|
|
513
522
|
props: {
|
|
514
523
|
content: {
|
|
515
524
|
allowUnsupportedBlock: true,
|
|
516
|
-
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks', 'codeBlock_root_only', 'panel_root_only', 'rule_root_only', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_root_only', 'syncBlock', 'bodiedSyncBlock']],
|
|
525
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks', 'codeBlock_root_only', 'panel_root_only', 'rule_root_only', 'extension_root_only', 'bodiedExtension_root_only', 'multiBodiedExtension_root_only', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_root_only', 'syncBlock', 'bodiedSyncBlock']],
|
|
517
526
|
type: 'array'
|
|
518
527
|
},
|
|
519
528
|
type: {
|
|
@@ -683,6 +692,15 @@ export var extension = {
|
|
|
683
692
|
}
|
|
684
693
|
}
|
|
685
694
|
};
|
|
695
|
+
export var extension_root_only = ['extension', {
|
|
696
|
+
props: {
|
|
697
|
+
marks: {
|
|
698
|
+
items: [['breakout', 'dataConsumer', 'fragment']],
|
|
699
|
+
optional: true,
|
|
700
|
+
type: 'array'
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
}];
|
|
686
704
|
export var extension_with_marks = ['extension', {
|
|
687
705
|
props: {
|
|
688
706
|
marks: {
|
|
@@ -1412,6 +1430,15 @@ export var multiBodiedExtension = {
|
|
|
1412
1430
|
}
|
|
1413
1431
|
}
|
|
1414
1432
|
};
|
|
1433
|
+
export var multiBodiedExtension_root_only = ['multiBodiedExtension', {
|
|
1434
|
+
props: {
|
|
1435
|
+
marks: {
|
|
1436
|
+
items: ['breakout'],
|
|
1437
|
+
optional: true,
|
|
1438
|
+
type: 'array'
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
}];
|
|
1415
1442
|
export var nestedExpand = {
|
|
1416
1443
|
props: {
|
|
1417
1444
|
attrs: {
|
|
@@ -383,6 +383,43 @@
|
|
|
383
383
|
"additionalProperties": false,
|
|
384
384
|
"required": ["type", "attrs", "content"]
|
|
385
385
|
},
|
|
386
|
+
"bodiedExtension_root_only_node": {
|
|
387
|
+
"allOf": [
|
|
388
|
+
{
|
|
389
|
+
"$ref": "#/definitions/bodiedExtension_node"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"type": "object",
|
|
393
|
+
"properties": {
|
|
394
|
+
"marks": {
|
|
395
|
+
"type": "array",
|
|
396
|
+
"items": {
|
|
397
|
+
"anyOf": [
|
|
398
|
+
{
|
|
399
|
+
"$ref": "#/definitions/breakout_mark"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"$ref": "#/definitions/fragment_mark"
|
|
406
|
+
}
|
|
407
|
+
]
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"content": {
|
|
411
|
+
"type": "array",
|
|
412
|
+
"items": {
|
|
413
|
+
"$ref": "#/definitions/non_nestable_block_content"
|
|
414
|
+
},
|
|
415
|
+
"minItems": 1
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"required": ["content"],
|
|
419
|
+
"additionalProperties": true
|
|
420
|
+
}
|
|
421
|
+
]
|
|
422
|
+
},
|
|
386
423
|
"bodiedExtension_with_marks_node": {
|
|
387
424
|
"allOf": [
|
|
388
425
|
{
|
|
@@ -976,6 +1013,15 @@
|
|
|
976
1013
|
{
|
|
977
1014
|
"$ref": "#/definitions/rule_root_only_node"
|
|
978
1015
|
},
|
|
1016
|
+
{
|
|
1017
|
+
"$ref": "#/definitions/extension_root_only_node"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"$ref": "#/definitions/bodiedExtension_root_only_node"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"$ref": "#/definitions/multiBodiedExtension_root_only_node"
|
|
1024
|
+
},
|
|
979
1025
|
{
|
|
980
1026
|
"$ref": "#/definitions/layoutSection_with_single_column_node"
|
|
981
1027
|
},
|
|
@@ -1215,6 +1261,35 @@
|
|
|
1215
1261
|
"additionalProperties": false,
|
|
1216
1262
|
"required": ["type", "attrs"]
|
|
1217
1263
|
},
|
|
1264
|
+
"extension_root_only_node": {
|
|
1265
|
+
"allOf": [
|
|
1266
|
+
{
|
|
1267
|
+
"$ref": "#/definitions/extension_node"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"type": "object",
|
|
1271
|
+
"properties": {
|
|
1272
|
+
"marks": {
|
|
1273
|
+
"type": "array",
|
|
1274
|
+
"items": {
|
|
1275
|
+
"anyOf": [
|
|
1276
|
+
{
|
|
1277
|
+
"$ref": "#/definitions/breakout_mark"
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"$ref": "#/definitions/dataConsumer_mark"
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
"$ref": "#/definitions/fragment_mark"
|
|
1284
|
+
}
|
|
1285
|
+
]
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
},
|
|
1289
|
+
"additionalProperties": true
|
|
1290
|
+
}
|
|
1291
|
+
]
|
|
1292
|
+
},
|
|
1218
1293
|
"extension_with_marks_node": {
|
|
1219
1294
|
"allOf": [
|
|
1220
1295
|
{
|
|
@@ -2293,6 +2368,55 @@
|
|
|
2293
2368
|
"additionalProperties": false,
|
|
2294
2369
|
"required": ["type", "attrs", "content"]
|
|
2295
2370
|
},
|
|
2371
|
+
"multiBodiedExtension_root_only_node": {
|
|
2372
|
+
"type": "object",
|
|
2373
|
+
"properties": {
|
|
2374
|
+
"type": {
|
|
2375
|
+
"enum": ["multiBodiedExtension"]
|
|
2376
|
+
},
|
|
2377
|
+
"marks": {
|
|
2378
|
+
"type": "array",
|
|
2379
|
+
"items": {
|
|
2380
|
+
"$ref": "#/definitions/breakout_mark"
|
|
2381
|
+
}
|
|
2382
|
+
},
|
|
2383
|
+
"attrs": {
|
|
2384
|
+
"type": "object",
|
|
2385
|
+
"properties": {
|
|
2386
|
+
"extensionKey": {
|
|
2387
|
+
"type": "string",
|
|
2388
|
+
"minLength": 1
|
|
2389
|
+
},
|
|
2390
|
+
"extensionType": {
|
|
2391
|
+
"type": "string",
|
|
2392
|
+
"minLength": 1
|
|
2393
|
+
},
|
|
2394
|
+
"parameters": {},
|
|
2395
|
+
"text": {
|
|
2396
|
+
"type": "string"
|
|
2397
|
+
},
|
|
2398
|
+
"layout": {
|
|
2399
|
+
"enum": ["default", "wide", "full-width"]
|
|
2400
|
+
},
|
|
2401
|
+
"localId": {
|
|
2402
|
+
"type": "string",
|
|
2403
|
+
"minLength": 1
|
|
2404
|
+
}
|
|
2405
|
+
},
|
|
2406
|
+
"required": ["extensionKey", "extensionType"],
|
|
2407
|
+
"additionalProperties": false
|
|
2408
|
+
},
|
|
2409
|
+
"content": {
|
|
2410
|
+
"type": "array",
|
|
2411
|
+
"items": {
|
|
2412
|
+
"$ref": "#/definitions/extensionFrame_node"
|
|
2413
|
+
},
|
|
2414
|
+
"minItems": 1
|
|
2415
|
+
}
|
|
2416
|
+
},
|
|
2417
|
+
"additionalProperties": false,
|
|
2418
|
+
"required": ["type", "attrs", "content"]
|
|
2419
|
+
},
|
|
2296
2420
|
"nestedExpand_content": {
|
|
2297
2421
|
"type": "array",
|
|
2298
2422
|
"items": {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { bodiedExtension } from '../schema/nodes/bodied-extension';
|
|
2
|
-
export type { BodiedExtensionDefinition } from '../schema/nodes/bodied-extension';
|
|
1
|
+
export { bodiedExtension, bodiedExtensionRootOnlyStage0 } from '../schema/nodes/bodied-extension';
|
|
2
|
+
export type { BodiedExtensionDefinition, BodiedExtensionRootOnlyDefinition, } from '../schema/nodes/bodied-extension';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { extension } from '../schema/nodes/extension';
|
|
2
|
-
export type { ExtensionDefinition } from '../schema/nodes/extension';
|
|
1
|
+
export { extension, extensionRootOnlyStage0 } from '../schema/nodes/extension';
|
|
2
|
+
export type { ExtensionDefinition, ExtensionRootOnlyDefinition } from '../schema/nodes/extension';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { extensionFrame, multiBodiedExtension } from '../schema/nodes/multi-bodied-extension';
|
|
2
|
-
export type { MultiBodiedExtensionDefinition, ExtensionFrameDefinition, } from '../schema/nodes/multi-bodied-extension';
|
|
1
|
+
export { extensionFrame, multiBodiedExtension, multiBodiedExtensionRootOnlyStage0, } from '../schema/nodes/multi-bodied-extension';
|
|
2
|
+
export type { MultiBodiedExtensionDefinition, MultiBodiedExtensionRootOnlyDefinition, ExtensionFrameDefinition, } from '../schema/nodes/multi-bodied-extension';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { bodiedExtension } from '../schema/nodes/bodied-extension';
|
|
2
|
-
export type { BodiedExtensionDefinition } from '../schema/nodes/bodied-extension';
|
|
1
|
+
export { bodiedExtension, bodiedExtensionRootOnlyStage0 } from '../schema/nodes/bodied-extension';
|
|
2
|
+
export type { BodiedExtensionDefinition, BodiedExtensionRootOnlyDefinition, } from '../schema/nodes/bodied-extension';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { extension } from '../schema/nodes/extension';
|
|
2
|
-
export type { ExtensionDefinition } from '../schema/nodes/extension';
|
|
1
|
+
export { extension, extensionRootOnlyStage0 } from '../schema/nodes/extension';
|
|
2
|
+
export type { ExtensionDefinition, ExtensionRootOnlyDefinition } from '../schema/nodes/extension';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { extensionFrame, multiBodiedExtension } from '../schema/nodes/multi-bodied-extension';
|
|
2
|
-
export type { ExtensionFrameDefinition, MultiBodiedExtensionDefinition, } from '../schema/nodes/multi-bodied-extension';
|
|
1
|
+
export { extensionFrame, multiBodiedExtension, multiBodiedExtensionRootOnlyStage0, } from '../schema/nodes/multi-bodied-extension';
|
|
2
|
+
export type { ExtensionFrameDefinition, MultiBodiedExtensionDefinition, MultiBodiedExtensionRootOnlyDefinition, } from '../schema/nodes/multi-bodied-extension';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { blockCard, blockquote, blockquoteLegacy, blockTaskItem, bodiedExtension, bodiedExtensionWithMarks, bodiedSyncBlock, bulletList, caption, codeBlock, codeBlockRootOnly, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, date, dateStage0, decisionItem, decisionList, doc, embedCard, emoji, emojiStage0, expand, expandRootOnly, extension, extensionWithMarks, extensionFrameStage0, hardBreak, heading, headingWithAlignment, headingWithIndentation, headingWithNoMarks, image, inlineCard, inlineCardStage0, inlineExtension, inlineExtensionWithMarks, layoutColumn, layoutColumn as layoutColumnStage0, layoutSection, layoutSectionFull, layoutSectionWithSingleColumnStage0, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingleCaption, mediaSingleFull, mediaSingleWidthType, mention, mentionStage0, multiBodiedExtensionStage0, nestedExpand, nestedExpandWithNoMarks, orderedList, panel, panelRootOnlyStage0, paragraph, paragraphWithAlignment, paragraphWithFontSize, paragraphWithIndentation, paragraphWithNoMarks, placeholder, rule, ruleRootOnlyStage0, status, statusStage0, syncBlock, table, tableWithNestedTable, tableCell, tableCell as tableCellStage0, tableCellWithNestedTable, tableCellWithNestedTable as tableCellWithNestedTableStage0, tableHeader, tableHeader as tableHeaderStage0, tableHeaderWithNestedTable, tableHeaderWithNestedTable as tableHeaderWithNestedTableStage0, tableRow, tableRowWithNestedTable, taskItem, taskList, text, textCodeInline, textFormatted, textWithNoMarks, unsupportedBlock, unsupportedInline, } from '../next-schema/generated/nodeTypes';
|
|
2
|
-
export type { BlockCardNodeAttributes0, BlockCardNodeAttributes1, BlockCardNodeAttributes2, BlockCardDefinition, BlockCardNode, BlockquoteDefinition, BlockquoteNode, BlockquoteLegacyDefinition, BlockquoteLegacyNode, BlockTaskItemDefinition, BlockTaskItemNode, BodiedExtensionDefinition, BodiedExtensionNode, BodiedExtensionWithMarksDefinition, BodiedExtensionWithMarksNode, BodiedSyncBlockDefinition, BodiedSyncBlockNode, BulletListDefinition, BulletListNode, CaptionDefinition, CaptionNode, CodeBlockDefinition, CodeBlockNode, CodeBlockRootOnlyDefinition, CodeBlockRootOnlyNode, ConfluenceJiraIssueDefinition, ConfluenceJiraIssueNode, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedBlockNode, ConfluenceUnsupportedInlineDefinition, ConfluenceUnsupportedInlineNode, DateDefinition, DateNode, DateStage0Definition, DateStage0Node, DecisionItemDefinition, DecisionItemNode, DecisionListDefinition, DecisionListNode, DocDefinition, DocNode, EmbedCardDefinition, EmbedCardNode, EmojiDefinition, EmojiNode, EmojiStage0Definition, EmojiStage0Node, ExpandDefinition, ExpandNode, ExpandRootOnlyDefinition, ExpandRootOnlyNode, ExtensionDefinition, ExtensionNode, ExtensionWithMarksDefinition, ExtensionWithMarksNode, ExtensionFrameStage0Definition, ExtensionFrameStage0Node, HardBreakDefinition, HardBreakNode, HeadingDefinition, HeadingNode, HeadingWithAlignmentDefinition, HeadingWithAlignmentNode, HeadingWithIndentationDefinition, HeadingWithIndentationNode, HeadingWithNoMarksDefinition, HeadingWithNoMarksNode, ImageDefinition, ImageNode, InlineCardNodeAttributes0, InlineCardNodeAttributes1, InlineCardDefinition, InlineCardNode, InlineCardStage0NodeAttributes0, InlineCardStage0NodeAttributes1, InlineCardStage0Definition, InlineCardStage0Node, InlineExtensionDefinition, InlineExtensionNode, InlineExtensionWithMarksDefinition, InlineExtensionWithMarksNode, LayoutColumnDefinition, LayoutColumnDefinition as LayoutColumnStage0Definition, LayoutColumnNode, LayoutColumnNode as LayoutColumnStage0Node, LayoutSectionDefinition, LayoutSectionNode, LayoutSectionFullDefinition, LayoutSectionFullNode, LayoutSectionWithSingleColumnStage0Definition, LayoutSectionWithSingleColumnStage0Node, ListItemDefinition, ListItemNode, MediaNodeAttributes0, MediaNodeAttributes1, MediaDefinition, MediaNode, MediaGroupDefinition, MediaGroupNode, MediaInlineDefinition, MediaInlineNode, MediaSingleNodeAttributes0, MediaSingleNodeAttributes1, MediaSingleDefinition, MediaSingleNode, MediaSingleCaptionNodeAttributes0, MediaSingleCaptionNodeAttributes1, MediaSingleCaptionDefinition, MediaSingleCaptionNode, MediaSingleFullNodeAttributes0, MediaSingleFullNodeAttributes1, MediaSingleFullDefinition, MediaSingleFullNode, MediaSingleWidthTypeNodeAttributes0, MediaSingleWidthTypeNodeAttributes1, MediaSingleWidthTypeDefinition, MediaSingleWidthTypeNode, MentionDefinition, MentionNode, MentionStage0Definition, MentionStage0Node, MultiBodiedExtensionStage0Definition, MultiBodiedExtensionStage0Node, NestedExpandDefinition, NestedExpandNode, NestedExpandWithNoMarksDefinition, NestedExpandWithNoMarksNode, OrderedListDefinition, OrderedListNode, PanelDefinition, PanelNode, PanelRootOnlyStage0Node, ParagraphDefinition, ParagraphNode, ParagraphWithAlignmentDefinition, ParagraphWithAlignmentNode, ParagraphWithFontSizeDefinition, ParagraphWithFontSizeNode, ParagraphWithIndentationDefinition, ParagraphWithIndentationNode, ParagraphWithNoMarksDefinition, ParagraphWithNoMarksNode, PlaceholderDefinition, PlaceholderNode, RuleDefinition, RuleNode, RuleRootOnlyStage0Definition, RuleRootOnlyStage0Node, StatusDefinition, StatusNode, StatusStage0Definition, StatusStage0Node, SyncBlockDefinition, SyncBlockNode, TableDefinition, TableNode, TableWithNestedTableDefinition, TableWithNestedTableNode, TableCellDefinition, TableCellDefinition as TableCellStage0Definition, TableCellNode, TableCellNode as TableCellStage0Node, TableCellWithNestedTableDefinition, TableCellWithNestedTableDefinition as TableCellWithNestedTableStage0Definition, TableCellWithNestedTableNode, TableCellWithNestedTableNode as TableCellWithNestedTableStage0Node, TableHeaderDefinition, TableHeaderDefinition as TableHeaderStage0Definition, TableHeaderNode, TableHeaderNode as TableHeaderStage0Node, TableHeaderWithNestedTableDefinition, TableHeaderWithNestedTableDefinition as TableHeaderWithNestedTableStage0Definition, TableHeaderWithNestedTableNode, TableHeaderWithNestedTableNode as TableHeaderWithNestedTableStage0Node, TableRowDefinition, TableRowNode, TableRowWithNestedTableDefinition, TableRowWithNestedTableNode, TaskItemDefinition, TaskItemNode, TaskListDefinition, TaskListNode, TextDefinition, TextNode, TextCodeInlineDefinition, TextCodeInlineNode, TextFormattedDefinition, TextFormattedNode, TextWithNoMarksDefinition, TextWithNoMarksNode, UnsupportedBlockDefinition, UnsupportedBlockNode, UnsupportedInlineDefinition, UnsupportedInlineNode, } from '../next-schema/generated/nodeTypes';
|
|
1
|
+
export { blockCard, blockquote, blockquoteLegacy, blockTaskItem, bodiedExtension, bodiedExtensionRootOnlyStage0, bodiedExtensionWithMarks, bodiedSyncBlock, bulletList, caption, codeBlock, codeBlockRootOnly, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, date, dateStage0, decisionItem, decisionList, doc, embedCard, emoji, emojiStage0, expand, expandRootOnly, extension, extensionRootOnlyStage0, extensionWithMarks, extensionFrameStage0, hardBreak, heading, headingWithAlignment, headingWithIndentation, headingWithNoMarks, image, inlineCard, inlineCardStage0, inlineExtension, inlineExtensionWithMarks, layoutColumn, layoutColumn as layoutColumnStage0, layoutSection, layoutSectionFull, layoutSectionWithSingleColumnStage0, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingleCaption, mediaSingleFull, mediaSingleWidthType, mention, mentionStage0, multiBodiedExtensionStage0, multiBodiedExtensionRootOnlyStage0, nestedExpand, nestedExpandWithNoMarks, orderedList, panel, panelRootOnlyStage0, paragraph, paragraphWithAlignment, paragraphWithFontSize, paragraphWithIndentation, paragraphWithNoMarks, placeholder, rule, ruleRootOnlyStage0, status, statusStage0, syncBlock, table, tableWithNestedTable, tableCell, tableCell as tableCellStage0, tableCellWithNestedTable, tableCellWithNestedTable as tableCellWithNestedTableStage0, tableHeader, tableHeader as tableHeaderStage0, tableHeaderWithNestedTable, tableHeaderWithNestedTable as tableHeaderWithNestedTableStage0, tableRow, tableRowWithNestedTable, taskItem, taskList, text, textCodeInline, textFormatted, textWithNoMarks, unsupportedBlock, unsupportedInline, } from '../next-schema/generated/nodeTypes';
|
|
2
|
+
export type { BlockCardNodeAttributes0, BlockCardNodeAttributes1, BlockCardNodeAttributes2, BlockCardDefinition, BlockCardNode, BlockquoteDefinition, BlockquoteNode, BlockquoteLegacyDefinition, BlockquoteLegacyNode, BlockTaskItemDefinition, BlockTaskItemNode, BodiedExtensionDefinition, BodiedExtensionNode, BodiedExtensionRootOnlyStage0Definition, BodiedExtensionRootOnlyStage0Node, BodiedExtensionWithMarksDefinition, BodiedExtensionWithMarksNode, BodiedSyncBlockDefinition, BodiedSyncBlockNode, BulletListDefinition, BulletListNode, CaptionDefinition, CaptionNode, CodeBlockDefinition, CodeBlockNode, CodeBlockRootOnlyDefinition, CodeBlockRootOnlyNode, ConfluenceJiraIssueDefinition, ConfluenceJiraIssueNode, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedBlockNode, ConfluenceUnsupportedInlineDefinition, ConfluenceUnsupportedInlineNode, DateDefinition, DateNode, DateStage0Definition, DateStage0Node, DecisionItemDefinition, DecisionItemNode, DecisionListDefinition, DecisionListNode, DocDefinition, DocNode, EmbedCardDefinition, EmbedCardNode, EmojiDefinition, EmojiNode, EmojiStage0Definition, EmojiStage0Node, ExpandDefinition, ExpandNode, ExpandRootOnlyDefinition, ExpandRootOnlyNode, ExtensionDefinition, ExtensionNode, ExtensionRootOnlyStage0Definition, ExtensionRootOnlyStage0Node, ExtensionWithMarksDefinition, ExtensionWithMarksNode, ExtensionFrameStage0Definition, ExtensionFrameStage0Node, HardBreakDefinition, HardBreakNode, HeadingDefinition, HeadingNode, HeadingWithAlignmentDefinition, HeadingWithAlignmentNode, HeadingWithIndentationDefinition, HeadingWithIndentationNode, HeadingWithNoMarksDefinition, HeadingWithNoMarksNode, ImageDefinition, ImageNode, InlineCardNodeAttributes0, InlineCardNodeAttributes1, InlineCardDefinition, InlineCardNode, InlineCardStage0NodeAttributes0, InlineCardStage0NodeAttributes1, InlineCardStage0Definition, InlineCardStage0Node, InlineExtensionDefinition, InlineExtensionNode, InlineExtensionWithMarksDefinition, InlineExtensionWithMarksNode, LayoutColumnDefinition, LayoutColumnDefinition as LayoutColumnStage0Definition, LayoutColumnNode, LayoutColumnNode as LayoutColumnStage0Node, LayoutSectionDefinition, LayoutSectionNode, LayoutSectionFullDefinition, LayoutSectionFullNode, LayoutSectionWithSingleColumnStage0Definition, LayoutSectionWithSingleColumnStage0Node, ListItemDefinition, ListItemNode, MediaNodeAttributes0, MediaNodeAttributes1, MediaDefinition, MediaNode, MediaGroupDefinition, MediaGroupNode, MediaInlineDefinition, MediaInlineNode, MediaSingleNodeAttributes0, MediaSingleNodeAttributes1, MediaSingleDefinition, MediaSingleNode, MediaSingleCaptionNodeAttributes0, MediaSingleCaptionNodeAttributes1, MediaSingleCaptionDefinition, MediaSingleCaptionNode, MediaSingleFullNodeAttributes0, MediaSingleFullNodeAttributes1, MediaSingleFullDefinition, MediaSingleFullNode, MediaSingleWidthTypeNodeAttributes0, MediaSingleWidthTypeNodeAttributes1, MediaSingleWidthTypeDefinition, MediaSingleWidthTypeNode, MentionDefinition, MentionNode, MentionStage0Definition, MentionStage0Node, MultiBodiedExtensionStage0Definition, MultiBodiedExtensionStage0Node, MultiBodiedExtensionRootOnlyStage0Definition, MultiBodiedExtensionRootOnlyStage0Node, NestedExpandDefinition, NestedExpandNode, NestedExpandWithNoMarksDefinition, NestedExpandWithNoMarksNode, OrderedListDefinition, OrderedListNode, PanelDefinition, PanelNode, PanelRootOnlyStage0Node, ParagraphDefinition, ParagraphNode, ParagraphWithAlignmentDefinition, ParagraphWithAlignmentNode, ParagraphWithFontSizeDefinition, ParagraphWithFontSizeNode, ParagraphWithIndentationDefinition, ParagraphWithIndentationNode, ParagraphWithNoMarksDefinition, ParagraphWithNoMarksNode, PlaceholderDefinition, PlaceholderNode, RuleDefinition, RuleNode, RuleRootOnlyStage0Definition, RuleRootOnlyStage0Node, StatusDefinition, StatusNode, StatusStage0Definition, StatusStage0Node, SyncBlockDefinition, SyncBlockNode, TableDefinition, TableNode, TableWithNestedTableDefinition, TableWithNestedTableNode, TableCellDefinition, TableCellDefinition as TableCellStage0Definition, TableCellNode, TableCellNode as TableCellStage0Node, TableCellWithNestedTableDefinition, TableCellWithNestedTableDefinition as TableCellWithNestedTableStage0Definition, TableCellWithNestedTableNode, TableCellWithNestedTableNode as TableCellWithNestedTableStage0Node, TableHeaderDefinition, TableHeaderDefinition as TableHeaderStage0Definition, TableHeaderNode, TableHeaderNode as TableHeaderStage0Node, TableHeaderWithNestedTableDefinition, TableHeaderWithNestedTableDefinition as TableHeaderWithNestedTableStage0Definition, TableHeaderWithNestedTableNode, TableHeaderWithNestedTableNode as TableHeaderWithNestedTableStage0Node, TableRowDefinition, TableRowNode, TableRowWithNestedTableDefinition, TableRowWithNestedTableNode, TaskItemDefinition, TaskItemNode, TaskListDefinition, TaskListNode, TextDefinition, TextNode, TextCodeInlineDefinition, TextCodeInlineNode, TextFormattedDefinition, TextFormattedNode, TextWithNoMarksDefinition, TextWithNoMarksNode, UnsupportedBlockDefinition, UnsupportedBlockNode, UnsupportedInlineDefinition, UnsupportedInlineNode, } from '../next-schema/generated/nodeTypes';
|
|
@@ -75,6 +75,21 @@ export interface BodiedExtensionDefinition {
|
|
|
75
75
|
}
|
|
76
76
|
export type BodiedExtensionNode = PMNode & BodiedExtensionDefinition;
|
|
77
77
|
export declare const bodiedExtension: PMNodeSpecFactoryInstance<BodiedExtensionNode>;
|
|
78
|
+
export interface BodiedExtensionRootOnlyStage0Definition {
|
|
79
|
+
type: 'bodiedExtension';
|
|
80
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
81
|
+
marks: Array<BreakoutMark | DataConsumerMark | FragmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
82
|
+
attrs: {
|
|
83
|
+
extensionKey: string;
|
|
84
|
+
extensionType: string;
|
|
85
|
+
parameters?: Record<string, unknown>;
|
|
86
|
+
text?: string;
|
|
87
|
+
layout?: 'wide' | 'full-width' | 'default';
|
|
88
|
+
localId?: string;
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
export type BodiedExtensionRootOnlyStage0Node = PMNode & BodiedExtensionRootOnlyStage0Definition;
|
|
92
|
+
export declare const bodiedExtensionRootOnlyStage0: PMNodeSpecFactoryInstance<BodiedExtensionRootOnlyStage0Node>;
|
|
78
93
|
export interface BodiedExtensionWithMarksDefinition {
|
|
79
94
|
type: 'bodiedExtension';
|
|
80
95
|
marks: Array<DataConsumerMark | FragmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -218,7 +233,7 @@ export type DecisionListNode = PMNode & DecisionListDefinition;
|
|
|
218
233
|
export declare const decisionList: PMNodeSpecFactoryInstance<DecisionListNode>;
|
|
219
234
|
export interface DocDefinition {
|
|
220
235
|
type: 'doc';
|
|
221
|
-
content: Array<BlockDefinition | BlockRootOnlyDefinition | BodiedSyncBlockDefinition | CodeBlockRootOnlyDefinition | ExpandRootOnlyDefinition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition | PanelRootOnlyStage0Definition | RuleRootOnlyStage0Definition | SyncBlockDefinition>;
|
|
236
|
+
content: Array<BlockDefinition | BlockRootOnlyDefinition | BodiedExtensionRootOnlyStage0Definition | BodiedSyncBlockDefinition | CodeBlockRootOnlyDefinition | ExpandRootOnlyDefinition | ExtensionRootOnlyStage0Definition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition | MultiBodiedExtensionRootOnlyStage0Definition | PanelRootOnlyStage0Definition | RuleRootOnlyStage0Definition | SyncBlockDefinition>;
|
|
222
237
|
}
|
|
223
238
|
export type DocNode = PMNode & DocDefinition;
|
|
224
239
|
export declare const doc: PMNodeSpecFactoryInstance<DocNode>;
|
|
@@ -297,6 +312,20 @@ export interface ExtensionDefinition {
|
|
|
297
312
|
}
|
|
298
313
|
export type ExtensionNode = PMNode & ExtensionDefinition;
|
|
299
314
|
export declare const extension: PMNodeSpecFactoryInstance<ExtensionNode>;
|
|
315
|
+
export interface ExtensionRootOnlyStage0Definition {
|
|
316
|
+
type: 'extension';
|
|
317
|
+
marks: Array<BreakoutMark | DataConsumerMark | FragmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
318
|
+
attrs: {
|
|
319
|
+
extensionKey: string;
|
|
320
|
+
extensionType: string;
|
|
321
|
+
parameters?: Record<string, unknown>;
|
|
322
|
+
text?: string;
|
|
323
|
+
layout?: 'wide' | 'full-width' | 'default';
|
|
324
|
+
localId?: string;
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
export type ExtensionRootOnlyStage0Node = PMNode & ExtensionRootOnlyStage0Definition;
|
|
328
|
+
export declare const extensionRootOnlyStage0: PMNodeSpecFactoryInstance<ExtensionRootOnlyStage0Node>;
|
|
300
329
|
export interface ExtensionWithMarksDefinition {
|
|
301
330
|
type: 'extension';
|
|
302
331
|
marks: Array<DataConsumerMark | FragmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -654,6 +683,21 @@ export interface MentionStage0Definition {
|
|
|
654
683
|
}
|
|
655
684
|
export type MentionStage0Node = PMNode & MentionStage0Definition;
|
|
656
685
|
export declare const mentionStage0: PMNodeSpecFactoryInstance<MentionStage0Node>;
|
|
686
|
+
export interface MultiBodiedExtensionRootOnlyStage0Definition {
|
|
687
|
+
type: 'multiBodiedExtension';
|
|
688
|
+
content: Array<ExtensionFrameStage0Definition>;
|
|
689
|
+
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
690
|
+
attrs: {
|
|
691
|
+
extensionKey: string;
|
|
692
|
+
extensionType: string;
|
|
693
|
+
parameters?: Record<string, unknown>;
|
|
694
|
+
text?: string;
|
|
695
|
+
layout?: 'default' | 'wide' | 'full-width';
|
|
696
|
+
localId?: string;
|
|
697
|
+
};
|
|
698
|
+
}
|
|
699
|
+
export type MultiBodiedExtensionRootOnlyStage0Node = PMNode & MultiBodiedExtensionRootOnlyStage0Definition;
|
|
700
|
+
export declare const multiBodiedExtensionRootOnlyStage0: PMNodeSpecFactoryInstance<MultiBodiedExtensionRootOnlyStage0Node>;
|
|
657
701
|
export interface MultiBodiedExtensionStage0Definition {
|
|
658
702
|
type: 'multiBodiedExtension';
|
|
659
703
|
content: Array<ExtensionFrameStage0Definition>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ADFCommonNodeSpec, ADFNode } from '@atlaskit/adf-schema-generator';
|
|
2
|
-
export declare const multiBodiedExtension: ADFNode<[string], ADFCommonNodeSpec>;
|
|
2
|
+
export declare const multiBodiedExtension: ADFNode<[string, 'root_only'], ADFCommonNodeSpec>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { PanelType, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, codeBlock, codeBlockWithLocalId, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineCardWithLocalId, inlineExtension, layoutColumn, layoutColumnStage0, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, listItem, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelC1, extendedPanelC1WithLocalId, extendedPanelRootOnlyStage0, extendedPanelC1RootOnlyStage0, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, getCellAttrs, getCellDomAttrs, status, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, text, toJSONTableCell, toJSONTableHeader, unknownBlock, unsupportedBlock, unsupportedInline, extensionFrame, multiBodiedExtension, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableCellStage0, tableHeaderStage0, tableCellWithNestedTableStage0, tableHeaderWithNestedTableStage0, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './nodes';
|
|
2
|
-
export type { BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionBaseDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, 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, TableAttributes, TableCellDefinition, TableDefinition, TableWithNestedTableDefinition, TableRowWithNestedTableDefinition, TableCellWithNestedTableDefinition, TableHeaderWithNestedTableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, BlockTaskItemDefinition, TaskListContent, TaskListDefinition, TextDefinition, UrlType, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, CellDomAttrs, ExtensionFrameDefinition, MultiBodiedExtensionDefinition, SyncBlockDefinition, BodiedSyncBlockDefinition, } from './nodes';
|
|
1
|
+
export { PanelType, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, bodiedExtensionRootOnlyStage0, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, codeBlock, codeBlockWithLocalId, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, extensionRootOnlyStage0, hardBreak, heading, image, inlineCard, inlineCardWithLocalId, inlineExtension, layoutColumn, layoutColumnStage0, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, listItem, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelC1, extendedPanelC1WithLocalId, extendedPanelRootOnlyStage0, extendedPanelC1RootOnlyStage0, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, getCellAttrs, getCellDomAttrs, status, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, text, toJSONTableCell, toJSONTableHeader, unknownBlock, unsupportedBlock, unsupportedInline, extensionFrame, multiBodiedExtension, multiBodiedExtensionRootOnlyStage0, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableCellStage0, tableHeaderStage0, tableCellWithNestedTableStage0, tableHeaderWithNestedTableStage0, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './nodes';
|
|
2
|
+
export type { BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BodiedExtensionRootOnlyDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionRootOnlyDefinition, ExtensionLayout, ExternalMediaAttributes, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionBaseDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, 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, TableAttributes, TableCellDefinition, TableDefinition, TableWithNestedTableDefinition, TableRowWithNestedTableDefinition, TableCellWithNestedTableDefinition, TableHeaderWithNestedTableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, BlockTaskItemDefinition, TaskListContent, TaskListDefinition, TextDefinition, UrlType, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, CellDomAttrs, ExtensionFrameDefinition, MultiBodiedExtensionDefinition, MultiBodiedExtensionRootOnlyDefinition, SyncBlockDefinition, BodiedSyncBlockDefinition, } from './nodes';
|
|
3
3
|
export { AnnotationTypes, alignment, alignmentPositionMap, annotation, fontSize, breakout, code, colorPalette, colorPaletteNew,
|
|
4
4
|
/** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
|
5
5
|
colorPaletteExtended, confluenceInlineComment, dataConsumer, dataConsumerToJSON, em, fragment, fragmentToJSON, indentation, link, linkToJSON, strike, strong, subsup, textColor, typeAheadQuery, underline, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, backgroundColor, backgroundColorPalette, backgroundColorPaletteNew, } from './marks';
|
|
@@ -3,6 +3,7 @@ import type { MarksObject } from './types/mark';
|
|
|
3
3
|
import type { NonNestableBlockContent } from './types/non-nestable-block-content';
|
|
4
4
|
import type { DataConsumerDefinition } from '../marks/data-consumer';
|
|
5
5
|
import type { FragmentDefinition } from '../marks/fragment';
|
|
6
|
+
import type { BreakoutMarkDefinition } from '../marks/breakout';
|
|
6
7
|
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
7
8
|
/**
|
|
8
9
|
* @name bodiedExtension_node
|
|
@@ -23,4 +24,9 @@ export interface BodiedExtensionBaseDefinition {
|
|
|
23
24
|
* @name bodiedExtension_with_marks_node
|
|
24
25
|
*/
|
|
25
26
|
export type BodiedExtensionDefinition = BodiedExtensionBaseDefinition & MarksObject<DataConsumerDefinition | FragmentDefinition>;
|
|
27
|
+
/**
|
|
28
|
+
* @name bodiedExtension_root_only_node
|
|
29
|
+
*/
|
|
30
|
+
export type BodiedExtensionRootOnlyDefinition = BodiedExtensionBaseDefinition & MarksObject<BreakoutMarkDefinition | DataConsumerDefinition | FragmentDefinition>;
|
|
26
31
|
export declare const bodiedExtension: NodeSpec;
|
|
32
|
+
export declare const bodiedExtensionRootOnlyStage0: NodeSpec;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { CodeBlockWithMarksDefinition as CodeBlockWithMarks } from './code-block';
|
|
2
|
+
import type { BodiedExtensionRootOnlyDefinition as BodiedExtensionRootOnly } from './bodied-extension';
|
|
2
3
|
import type { ExpandRootOnlyDefinition as ExpandRootOnly } from './expand';
|
|
4
|
+
import type { ExtensionRootOnlyDefinition as ExtensionRootOnly } from './extension';
|
|
3
5
|
import type { LayoutSectionDefinition as LayoutSection } from './layout-section';
|
|
4
6
|
import type { ParagraphWithIndentationDefinition } from './paragraph';
|
|
5
7
|
import type { BlockContent } from './types/block-content';
|
|
6
|
-
import type {
|
|
8
|
+
import type { MultiBodiedExtensionRootOnlyDefinition as MultiBodiedExtensionRootOnly } from './multi-bodied-extension';
|
|
7
9
|
import type { PanelRootOnlyDefinition as PanelRootOnly } from './panel';
|
|
8
10
|
import type { RuleRootOnlyDefinition as RuleRootOnly } from './rule';
|
|
9
11
|
import type { SyncBlockDefinition as SyncBlock } from './sync-block';
|
|
@@ -17,7 +19,7 @@ export interface DocNode {
|
|
|
17
19
|
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
18
20
|
* @allowUnsupportedBlock true
|
|
19
21
|
*/
|
|
20
|
-
content: Array<BlockContent | LayoutSection | CodeBlockWithMarks | ExpandRootOnly | PanelRootOnly | RuleRootOnly | ParagraphWithIndentationDefinition |
|
|
22
|
+
content: Array<BlockContent | LayoutSection | CodeBlockWithMarks | ExpandRootOnly | PanelRootOnly | RuleRootOnly | ExtensionRootOnly | BodiedExtensionRootOnly | ParagraphWithIndentationDefinition | MultiBodiedExtensionRootOnly | BodiedSyncBlock | SyncBlock>;
|
|
21
23
|
type: 'doc';
|
|
22
24
|
version: 1;
|
|
23
25
|
}
|
|
@@ -2,6 +2,7 @@ import type { ExtensionAttributes } from './types/extensions';
|
|
|
2
2
|
import type { MarksObject } from './types/mark';
|
|
3
3
|
import type { DataConsumerDefinition } from '../marks/data-consumer';
|
|
4
4
|
import type { FragmentDefinition } from '../marks/fragment';
|
|
5
|
+
import type { BreakoutMarkDefinition } from '../marks/breakout';
|
|
5
6
|
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
6
7
|
/**
|
|
7
8
|
* @name extension_node
|
|
@@ -15,4 +16,9 @@ export interface ExtensionBaseDefinition {
|
|
|
15
16
|
* @name extension_with_marks_node
|
|
16
17
|
*/
|
|
17
18
|
export type ExtensionDefinition = ExtensionBaseDefinition & MarksObject<DataConsumerDefinition | FragmentDefinition>;
|
|
19
|
+
/**
|
|
20
|
+
* @name extension_root_only_node
|
|
21
|
+
*/
|
|
22
|
+
export type ExtensionRootOnlyDefinition = ExtensionBaseDefinition & MarksObject<BreakoutMarkDefinition | DataConsumerDefinition | FragmentDefinition>;
|
|
18
23
|
export declare const extension: NodeSpec;
|
|
24
|
+
export declare const extensionRootOnlyStage0: NodeSpec;
|
|
@@ -84,14 +84,14 @@ export type { Layout as ExtensionLayout } from './types/extensions';
|
|
|
84
84
|
export { embedCard, embedCardWithLocalId } from './embed-card';
|
|
85
85
|
export type { EmbedCardDefinition, EmbedCardAttributes } from './embed-card';
|
|
86
86
|
export type { RichMediaAttributes, ExtendedMediaAttributes, Layout as RichMediaLayout, } from './types/rich-media-common';
|
|
87
|
-
export { extension } from './extension';
|
|
88
|
-
export type { ExtensionDefinition } from './extension';
|
|
87
|
+
export { extension, extensionRootOnlyStage0 } from './extension';
|
|
88
|
+
export type { ExtensionDefinition, ExtensionRootOnlyDefinition } from './extension';
|
|
89
89
|
export { inlineExtension } from './inline-extension';
|
|
90
90
|
export type { InlineExtensionDefinition } from './inline-extension';
|
|
91
|
-
export { bodiedExtension } from './bodied-extension';
|
|
92
|
-
export type { BodiedExtensionDefinition } from './bodied-extension';
|
|
93
|
-
export type { ExtensionFrameDefinition, MultiBodiedExtensionDefinition, } from './multi-bodied-extension';
|
|
94
|
-
export { extensionFrame, multiBodiedExtension } from './multi-bodied-extension';
|
|
91
|
+
export { bodiedExtension, bodiedExtensionRootOnlyStage0 } from './bodied-extension';
|
|
92
|
+
export type { BodiedExtensionDefinition, BodiedExtensionRootOnlyDefinition, } from './bodied-extension';
|
|
93
|
+
export type { ExtensionFrameDefinition, MultiBodiedExtensionDefinition, MultiBodiedExtensionRootOnlyDefinition, } from './multi-bodied-extension';
|
|
94
|
+
export { extensionFrame, multiBodiedExtension, multiBodiedExtensionRootOnlyStage0, } from './multi-bodied-extension';
|
|
95
95
|
export { syncBlock } from './sync-block';
|
|
96
96
|
export type { SyncBlockDefinition } from './sync-block';
|
|
97
97
|
export { bodiedSyncBlock } from './bodied-sync-block';
|
|
@@ -16,6 +16,8 @@ import type { ExtensionDefinition as Extension } from './extension';
|
|
|
16
16
|
import type { BlockCardDefinition as BlockCard } from './block-card';
|
|
17
17
|
import type { EmbedCardDefinition as EmbedCard } from './embed-card';
|
|
18
18
|
import type { DataConsumerDefinition, FragmentDefinition } from '../marks';
|
|
19
|
+
import type { BreakoutMarkDefinition } from '../marks/breakout';
|
|
20
|
+
import type { MarksObject } from './types/mark';
|
|
19
21
|
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
20
22
|
/**
|
|
21
23
|
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
@@ -52,4 +54,11 @@ export interface MultiBodiedExtensionDefinition {
|
|
|
52
54
|
marks?: Array<any>;
|
|
53
55
|
type: 'multiBodiedExtension';
|
|
54
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
59
|
+
* @stage 0
|
|
60
|
+
* @name multiBodiedExtension_root_only_node
|
|
61
|
+
*/
|
|
62
|
+
export type MultiBodiedExtensionRootOnlyDefinition = MultiBodiedExtensionDefinition & MarksObject<BreakoutMarkDefinition>;
|
|
55
63
|
export declare const multiBodiedExtension: NodeSpec;
|
|
64
|
+
export declare const multiBodiedExtensionRootOnlyStage0: NodeSpec;
|