@atlaskit/adf-schema 36.12.3 → 36.14.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/next-schema/full-schema.adf.js +2 -1
- package/dist/cjs/next-schema/generated/markTypes.js +18 -1
- package/dist/cjs/next-schema/generated/nodeTypes.js +128 -77
- package/dist/cjs/next-schema/groups/blockGroup.js +3 -1
- package/dist/cjs/next-schema/groups/inlineGroup.js +3 -1
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +2 -1
- package/dist/cjs/next-schema/marks/unsupportedMark.js +16 -0
- package/dist/cjs/next-schema/marks/unsupportedNodeAttribute.js +20 -0
- package/dist/cjs/next-schema/nodes/blockCard.js +3 -0
- package/dist/cjs/next-schema/nodes/blockquote.js +6 -2
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +4 -1
- package/dist/cjs/next-schema/nodes/caption.js +5 -2
- package/dist/cjs/next-schema/nodes/codeBlock.js +6 -2
- package/dist/cjs/next-schema/nodes/confluenceUnsupportedBlock.js +16 -0
- package/dist/cjs/next-schema/nodes/confluenceUnsupportedInline.js +18 -0
- package/dist/cjs/next-schema/nodes/date.js +3 -0
- package/dist/cjs/next-schema/nodes/decisionItem.js +5 -1
- package/dist/cjs/next-schema/nodes/decisionList.js +5 -1
- package/dist/cjs/next-schema/nodes/embedCard.js +3 -0
- package/dist/cjs/next-schema/nodes/emoji.js +3 -0
- package/dist/cjs/next-schema/nodes/expand.js +4 -1
- package/dist/cjs/next-schema/nodes/extension.js +4 -1
- package/dist/cjs/next-schema/nodes/extensionFrame.js +3 -1
- package/dist/cjs/next-schema/nodes/hardBreak.js +3 -0
- package/dist/cjs/next-schema/nodes/heading.js +9 -6
- package/dist/cjs/next-schema/nodes/inlineCard.js +4 -1
- package/dist/cjs/next-schema/nodes/inlineExtension.js +3 -0
- package/dist/cjs/next-schema/nodes/layoutColumn.js +3 -0
- package/dist/cjs/next-schema/nodes/layoutSection.js +5 -2
- package/dist/cjs/next-schema/nodes/list.js +7 -1
- package/dist/cjs/next-schema/nodes/media.js +3 -1
- package/dist/cjs/next-schema/nodes/mediaGroup.js +5 -1
- package/dist/cjs/next-schema/nodes/mediaInline.js +3 -1
- package/dist/cjs/next-schema/nodes/mediaSingle.js +5 -2
- package/dist/cjs/next-schema/nodes/mention.js +3 -0
- package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +3 -0
- package/dist/cjs/next-schema/nodes/nestedExpand.js +5 -1
- package/dist/cjs/next-schema/nodes/panel.js +5 -1
- package/dist/cjs/next-schema/nodes/paragraph.js +8 -4
- package/dist/cjs/next-schema/nodes/placeholder.js +3 -0
- package/dist/cjs/next-schema/nodes/status.js +3 -0
- package/dist/cjs/next-schema/nodes/table.js +3 -1
- package/dist/cjs/next-schema/nodes/tableCell.js +5 -1
- package/dist/cjs/next-schema/nodes/tableHeader.js +3 -0
- package/dist/cjs/next-schema/nodes/tableRow.js +3 -0
- package/dist/cjs/next-schema/nodes/task.js +8 -2
- package/dist/cjs/next-schema/nodes/text.js +4 -2
- package/dist/cjs/next-schema/nodes/unsupportedBlock.js +18 -0
- package/dist/cjs/next-schema/nodes/unsupportedInline.js +18 -0
- package/dist/es2019/next-schema/full-schema.adf.js +2 -1
- package/dist/es2019/next-schema/generated/markTypes.js +17 -0
- package/dist/es2019/next-schema/generated/nodeTypes.js +127 -76
- package/dist/es2019/next-schema/groups/blockGroup.js +3 -1
- package/dist/es2019/next-schema/groups/inlineGroup.js +3 -1
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +2 -1
- package/dist/es2019/next-schema/marks/unsupportedMark.js +10 -0
- package/dist/es2019/next-schema/marks/unsupportedNodeAttribute.js +14 -0
- package/dist/es2019/next-schema/nodes/blockCard.js +3 -0
- package/dist/es2019/next-schema/nodes/blockquote.js +6 -2
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +4 -1
- package/dist/es2019/next-schema/nodes/caption.js +5 -3
- package/dist/es2019/next-schema/nodes/codeBlock.js +6 -2
- package/dist/es2019/next-schema/nodes/confluenceUnsupportedBlock.js +10 -0
- package/dist/es2019/next-schema/nodes/confluenceUnsupportedInline.js +12 -0
- package/dist/es2019/next-schema/nodes/date.js +3 -0
- package/dist/es2019/next-schema/nodes/decisionItem.js +5 -1
- package/dist/es2019/next-schema/nodes/decisionList.js +5 -1
- package/dist/es2019/next-schema/nodes/embedCard.js +3 -0
- package/dist/es2019/next-schema/nodes/emoji.js +3 -0
- package/dist/es2019/next-schema/nodes/expand.js +4 -1
- package/dist/es2019/next-schema/nodes/extension.js +4 -1
- package/dist/es2019/next-schema/nodes/extensionFrame.js +3 -1
- package/dist/es2019/next-schema/nodes/hardBreak.js +3 -0
- package/dist/es2019/next-schema/nodes/heading.js +8 -5
- package/dist/es2019/next-schema/nodes/inlineCard.js +4 -1
- package/dist/es2019/next-schema/nodes/inlineExtension.js +3 -0
- package/dist/es2019/next-schema/nodes/layoutColumn.js +3 -0
- package/dist/es2019/next-schema/nodes/layoutSection.js +5 -2
- package/dist/es2019/next-schema/nodes/list.js +7 -1
- package/dist/es2019/next-schema/nodes/media.js +3 -1
- package/dist/es2019/next-schema/nodes/mediaGroup.js +5 -1
- package/dist/es2019/next-schema/nodes/mediaInline.js +3 -1
- package/dist/es2019/next-schema/nodes/mediaSingle.js +5 -2
- package/dist/es2019/next-schema/nodes/mention.js +3 -0
- package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +3 -0
- package/dist/es2019/next-schema/nodes/nestedExpand.js +5 -1
- package/dist/es2019/next-schema/nodes/panel.js +5 -1
- package/dist/es2019/next-schema/nodes/paragraph.js +8 -4
- package/dist/es2019/next-schema/nodes/placeholder.js +3 -0
- package/dist/es2019/next-schema/nodes/status.js +3 -0
- package/dist/es2019/next-schema/nodes/table.js +3 -1
- package/dist/es2019/next-schema/nodes/tableCell.js +5 -1
- package/dist/es2019/next-schema/nodes/tableHeader.js +3 -0
- package/dist/es2019/next-schema/nodes/tableRow.js +4 -1
- package/dist/es2019/next-schema/nodes/task.js +8 -2
- package/dist/es2019/next-schema/nodes/text.js +4 -2
- package/dist/es2019/next-schema/nodes/unsupportedBlock.js +12 -0
- package/dist/es2019/next-schema/nodes/unsupportedInline.js +12 -0
- package/dist/esm/next-schema/full-schema.adf.js +2 -1
- package/dist/esm/next-schema/generated/markTypes.js +17 -0
- package/dist/esm/next-schema/generated/nodeTypes.js +127 -76
- package/dist/esm/next-schema/groups/blockGroup.js +3 -1
- package/dist/esm/next-schema/groups/inlineGroup.js +3 -1
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +2 -1
- package/dist/esm/next-schema/marks/unsupportedMark.js +10 -0
- package/dist/esm/next-schema/marks/unsupportedNodeAttribute.js +14 -0
- package/dist/esm/next-schema/nodes/blockCard.js +3 -0
- package/dist/esm/next-schema/nodes/blockquote.js +6 -2
- package/dist/esm/next-schema/nodes/bodiedExtension.js +4 -1
- package/dist/esm/next-schema/nodes/caption.js +5 -3
- package/dist/esm/next-schema/nodes/codeBlock.js +6 -2
- package/dist/esm/next-schema/nodes/confluenceUnsupportedBlock.js +10 -0
- package/dist/esm/next-schema/nodes/confluenceUnsupportedInline.js +12 -0
- package/dist/esm/next-schema/nodes/date.js +3 -0
- package/dist/esm/next-schema/nodes/decisionItem.js +5 -1
- package/dist/esm/next-schema/nodes/decisionList.js +5 -1
- package/dist/esm/next-schema/nodes/embedCard.js +3 -0
- package/dist/esm/next-schema/nodes/emoji.js +3 -0
- package/dist/esm/next-schema/nodes/expand.js +4 -1
- package/dist/esm/next-schema/nodes/extension.js +4 -1
- package/dist/esm/next-schema/nodes/extensionFrame.js +3 -1
- package/dist/esm/next-schema/nodes/hardBreak.js +3 -0
- package/dist/esm/next-schema/nodes/heading.js +8 -5
- package/dist/esm/next-schema/nodes/inlineCard.js +4 -1
- package/dist/esm/next-schema/nodes/inlineExtension.js +3 -0
- package/dist/esm/next-schema/nodes/layoutColumn.js +3 -0
- package/dist/esm/next-schema/nodes/layoutSection.js +5 -2
- package/dist/esm/next-schema/nodes/list.js +7 -1
- package/dist/esm/next-schema/nodes/media.js +3 -1
- package/dist/esm/next-schema/nodes/mediaGroup.js +5 -1
- package/dist/esm/next-schema/nodes/mediaInline.js +3 -1
- package/dist/esm/next-schema/nodes/mediaSingle.js +5 -2
- package/dist/esm/next-schema/nodes/mention.js +3 -0
- package/dist/esm/next-schema/nodes/multiBodiedExtension.js +3 -0
- package/dist/esm/next-schema/nodes/nestedExpand.js +5 -1
- package/dist/esm/next-schema/nodes/panel.js +5 -1
- package/dist/esm/next-schema/nodes/paragraph.js +8 -4
- package/dist/esm/next-schema/nodes/placeholder.js +3 -0
- package/dist/esm/next-schema/nodes/status.js +3 -0
- package/dist/esm/next-schema/nodes/table.js +3 -1
- package/dist/esm/next-schema/nodes/tableCell.js +5 -1
- package/dist/esm/next-schema/nodes/tableHeader.js +3 -0
- package/dist/esm/next-schema/nodes/tableRow.js +4 -1
- package/dist/esm/next-schema/nodes/task.js +8 -2
- package/dist/esm/next-schema/nodes/text.js +4 -2
- package/dist/esm/next-schema/nodes/unsupportedBlock.js +12 -0
- package/dist/esm/next-schema/nodes/unsupportedInline.js +12 -0
- package/dist/types/next-schema/generated/markTypes.d.ts +23 -0
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +4 -4
- package/dist/types/next-schema/generated/nodeTypes.d.ts +137 -67
- package/dist/types/next-schema/marks/unsupportedMark.d.ts +1 -0
- package/dist/types/next-schema/marks/unsupportedNodeAttribute.d.ts +1 -0
- package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +19 -0
- package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +19 -0
- package/dist/types/next-schema/nodes/heading.d.ts +0 -23
- package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +19 -0
- package/dist/types/next-schema/nodes/unsupportedInline.d.ts +19 -0
- package/package.json +2 -2
@@ -0,0 +1,10 @@
|
|
1
|
+
import { adfNode, ValidatorSpecTransformerName, JSONSchemaTransformerName } from '@atlaskit/adf-schema-generator';
|
2
|
+
export const confluenceUnsupportedBlock = adfNode('confluenceUnsupportedBlock').define({
|
3
|
+
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
4
|
+
attrs: {
|
5
|
+
cxhtml: {
|
6
|
+
type: 'string',
|
7
|
+
default: null
|
8
|
+
}
|
9
|
+
}
|
10
|
+
});
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { adfNode, ValidatorSpecTransformerName, JSONSchemaTransformerName } from '@atlaskit/adf-schema-generator';
|
2
|
+
export const confluenceUnsupportedInline = adfNode('confluenceUnsupportedInline').define({
|
3
|
+
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
4
|
+
atom: true,
|
5
|
+
inline: true,
|
6
|
+
attrs: {
|
7
|
+
cxhtml: {
|
8
|
+
type: 'string',
|
9
|
+
default: null
|
10
|
+
}
|
11
|
+
}
|
12
|
+
});
|
@@ -1,7 +1,10 @@
|
|
1
1
|
import { adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
export const date = adfNode('date').define({
|
3
5
|
inline: true,
|
4
6
|
selectable: true,
|
7
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
5
8
|
attrs: {
|
6
9
|
timestamp: {
|
7
10
|
minLength: 1,
|
@@ -1,7 +1,11 @@
|
|
1
1
|
import { $or, $zeroPlus, adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { inlineGroup } from '../groups/inlineGroup';
|
3
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
4
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
5
|
+
import { unsupportedBlock } from './unsupportedBlock';
|
3
6
|
export const decisionItem = adfNode('decisionItem').define({
|
4
7
|
defining: true,
|
8
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
5
9
|
attrs: {
|
6
10
|
localId: {
|
7
11
|
type: 'string',
|
@@ -12,5 +16,5 @@ export const decisionItem = adfNode('decisionItem').define({
|
|
12
16
|
default: 'DECIDED'
|
13
17
|
}
|
14
18
|
},
|
15
|
-
content: [$zeroPlus($or(inlineGroup))]
|
19
|
+
content: [$zeroPlus($or(inlineGroup, unsupportedBlock))]
|
16
20
|
});
|
@@ -1,13 +1,17 @@
|
|
1
1
|
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
import { decisionItem } from './decisionItem';
|
5
|
+
import { unsupportedBlock } from './unsupportedBlock';
|
3
6
|
export const decisionList = adfNode('decisionList').define({
|
4
7
|
defining: true,
|
5
8
|
selectable: false,
|
9
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
6
10
|
attrs: {
|
7
11
|
localId: {
|
8
12
|
type: 'string',
|
9
13
|
default: ''
|
10
14
|
}
|
11
15
|
},
|
12
|
-
content: [$onePlus($or(decisionItem))]
|
16
|
+
content: [$onePlus($or(decisionItem, unsupportedBlock))]
|
13
17
|
});
|
@@ -1,6 +1,9 @@
|
|
1
1
|
import { adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
export const embedCard = adfNode('embedCard').define({
|
3
5
|
selectable: true,
|
6
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
4
7
|
attrs: {
|
5
8
|
url: {
|
6
9
|
type: 'string',
|
@@ -1,7 +1,10 @@
|
|
1
1
|
import { adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
export const emoji = adfNode('emoji').define({
|
3
5
|
inline: true,
|
4
6
|
selectable: true,
|
7
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
5
8
|
attrs: {
|
6
9
|
shortName: {
|
7
10
|
type: 'string',
|
@@ -1,9 +1,12 @@
|
|
1
1
|
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { nonNestableBlockContent } from '../groups/nonNestableBlockContentGroup';
|
3
3
|
import { breakout } from '../marks/breakout';
|
4
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
5
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
4
6
|
export const expand = adfNode('expand').define({
|
5
7
|
isolating: true,
|
6
8
|
selectable: true,
|
9
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
7
10
|
attrs: {
|
8
11
|
title: {
|
9
12
|
type: 'string',
|
@@ -18,5 +21,5 @@ export const expand = adfNode('expand').define({
|
|
18
21
|
},
|
19
22
|
content: [$onePlus($or(...nonNestableBlockContent))]
|
20
23
|
}).variant('with_breakout_mark', {
|
21
|
-
marks: [breakout]
|
24
|
+
marks: [breakout, unsupportedNodeAttribute, unsupportedMark]
|
22
25
|
}).variant('with_no_mark', {});
|
@@ -1,9 +1,12 @@
|
|
1
1
|
import { adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { dataConsumer } from '../marks/dataConsumer';
|
3
3
|
import { fragment } from '../marks/fragment';
|
4
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
5
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
4
6
|
export const extension = adfNode('extension').define({
|
5
7
|
atom: true,
|
6
8
|
selectable: true,
|
9
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
7
10
|
attrs: {
|
8
11
|
extensionKey: {
|
9
12
|
minLength: 1,
|
@@ -38,5 +41,5 @@ export const extension = adfNode('extension').define({
|
|
38
41
|
}
|
39
42
|
}
|
40
43
|
}).variant('with_marks', {
|
41
|
-
marks: [dataConsumer, fragment]
|
44
|
+
marks: [dataConsumer, fragment, unsupportedNodeAttribute, unsupportedMark]
|
42
45
|
});
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { dataConsumer } from '../marks/dataConsumer';
|
3
3
|
import { fragment } from '../marks/fragment';
|
4
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
5
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
4
6
|
import { blockCard } from './blockCard';
|
5
7
|
import { blockquote } from './blockquote';
|
6
8
|
import { bodiedExtension } from './bodiedExtension';
|
@@ -22,6 +24,6 @@ export const extensionFrame = adfNode('extensionFrame').define({
|
|
22
24
|
definingAsContext: false,
|
23
25
|
definingForContent: true,
|
24
26
|
selectable: false,
|
25
|
-
marks: [dataConsumer, fragment],
|
27
|
+
marks: [dataConsumer, fragment, unsupportedNodeAttribute, unsupportedMark],
|
26
28
|
content: [$onePlus($or(bodiedExtension, panel, paragraph, blockquote, orderedList, bulletList, rule, heading, codeBlock, mediaGroup, mediaSingle, decisionList, taskList, table, extension, blockCard, embedCard))]
|
27
29
|
});
|
@@ -1,7 +1,10 @@
|
|
1
1
|
import { adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
export const hardBreak = adfNode('hardBreak').define({
|
3
5
|
inline: true,
|
4
6
|
selectable: false,
|
7
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
5
8
|
attrs: {
|
6
9
|
// Carried over from original JSON Schema as is
|
7
10
|
text: {
|
@@ -1,9 +1,13 @@
|
|
1
1
|
import { $or, $zeroPlus, adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { inlineGroup } from '../groups/inlineGroup';
|
3
3
|
import { alignment, indentation } from '../marks/alignmentAndIndentation';
|
4
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
5
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
6
|
+
import { unsupportedInline } from './unsupportedInline';
|
4
7
|
export const heading = adfNode('heading').define({
|
5
8
|
defining: true,
|
6
9
|
selectable: false,
|
10
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
7
11
|
attrs: {
|
8
12
|
level: {
|
9
13
|
type: 'number',
|
@@ -12,10 +16,9 @@ export const heading = adfNode('heading').define({
|
|
12
16
|
maximum: 6
|
13
17
|
}
|
14
18
|
},
|
15
|
-
content: [$zeroPlus($or(inlineGroup))]
|
19
|
+
content: [$zeroPlus($or(inlineGroup, unsupportedInline))]
|
16
20
|
}).variant('with_alignment', {
|
17
|
-
marks: [alignment]
|
21
|
+
marks: [alignment, unsupportedNodeAttribute, unsupportedMark]
|
18
22
|
}).variant('with_indentation', {
|
19
|
-
marks: [indentation]
|
20
|
-
}).variant('with_no_marks', {});
|
21
|
-
export const headingWithMarks = heading;
|
23
|
+
marks: [indentation, unsupportedNodeAttribute, unsupportedMark]
|
24
|
+
}).variant('with_no_marks', {});
|
@@ -1,9 +1,12 @@
|
|
1
1
|
import { adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { annotation } from '../marks/annotation';
|
3
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
4
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
3
5
|
export const inlineCard = adfNode('inlineCard').define({
|
4
6
|
inline: true,
|
5
7
|
selectable: true,
|
6
8
|
draggable: true,
|
9
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
7
10
|
attrs: {
|
8
11
|
anyOf: [{
|
9
12
|
url: {
|
@@ -17,5 +20,5 @@ export const inlineCard = adfNode('inlineCard').define({
|
|
17
20
|
}]
|
18
21
|
}
|
19
22
|
}).variant('with_annotation', {
|
20
|
-
marks: [annotation]
|
23
|
+
marks: [annotation, unsupportedNodeAttribute, unsupportedMark]
|
21
24
|
});
|
@@ -1,7 +1,10 @@
|
|
1
1
|
import { adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
export const inlineExtension = adfNode('inlineExtension').define({
|
3
5
|
inline: true,
|
4
6
|
selectable: true,
|
7
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
5
8
|
attrs: {
|
6
9
|
extensionKey: {
|
7
10
|
minLength: 1,
|
@@ -1,8 +1,11 @@
|
|
1
1
|
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { blockGroup } from '../groups/blockGroup';
|
3
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
4
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
3
5
|
export const layoutColumn = adfNode('layoutColumn').define({
|
4
6
|
isolating: true,
|
5
7
|
selectable: false,
|
8
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
6
9
|
attrs: {
|
7
10
|
width: {
|
8
11
|
type: 'number',
|
@@ -1,8 +1,11 @@
|
|
1
1
|
import { $or, $range, adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { breakout } from '../marks/breakout';
|
3
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
4
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
3
5
|
import { layoutColumn } from './layoutColumn';
|
6
|
+
import { unsupportedBlock } from './unsupportedBlock';
|
4
7
|
export const layoutSection = adfNode('layoutSection').define({
|
5
8
|
isolating: true,
|
6
|
-
|
7
|
-
|
9
|
+
marks: [breakout, unsupportedNodeAttribute, unsupportedMark],
|
10
|
+
content: [$range(1, 3, $or(layoutColumn, unsupportedBlock))]
|
8
11
|
}).variant('full', {});
|
@@ -1,13 +1,17 @@
|
|
1
1
|
import { $onePlus, $or, $zeroPlus, adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
import { codeBlock } from './codeBlock';
|
3
5
|
import { mediaSingle } from './mediaSingle';
|
4
6
|
import { paragraph } from './paragraph';
|
5
7
|
import { taskList } from './task';
|
8
|
+
import { unsupportedBlock } from './unsupportedBlock';
|
6
9
|
export const orderedList = adfNode('orderedList');
|
7
10
|
export const bulletList = adfNode('bulletList');
|
8
11
|
const listItem = adfNode('listItem');
|
9
12
|
orderedList.define({
|
10
13
|
selectable: false,
|
14
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
11
15
|
attrs: {
|
12
16
|
order: {
|
13
17
|
type: 'number',
|
@@ -20,10 +24,12 @@ orderedList.define({
|
|
20
24
|
});
|
21
25
|
bulletList.define({
|
22
26
|
selectable: false,
|
27
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
23
28
|
content: [$onePlus($or(listItem))]
|
24
29
|
});
|
25
30
|
listItem.define({
|
26
31
|
defining: true,
|
27
32
|
selectable: false,
|
28
|
-
|
33
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
34
|
+
content: [$or(codeBlock.use('with_no_marks'), paragraph.use('with_no_marks'), mediaSingle.use('caption'), mediaSingle.use('full'), unsupportedBlock), $zeroPlus($or(codeBlock.use('with_no_marks'), paragraph.use('with_no_marks'), mediaSingle.use('caption'), mediaSingle.use('full'), taskList, bulletList, orderedList, unsupportedBlock))]
|
29
35
|
});
|
@@ -2,9 +2,11 @@ import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
2
2
|
import { annotation } from '../marks/annotation';
|
3
3
|
import { border } from '../marks/border';
|
4
4
|
import { link } from '../marks/link';
|
5
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
6
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
5
7
|
export const media = adfNode('media').define({
|
6
8
|
selectable: true,
|
7
|
-
marks: [link, annotation, border],
|
9
|
+
marks: [link, annotation, border, unsupportedNodeAttribute, unsupportedMark],
|
8
10
|
attrs: {
|
9
11
|
anyOf: [{
|
10
12
|
type: {
|
@@ -1,6 +1,10 @@
|
|
1
1
|
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
import { media } from './media';
|
5
|
+
import { unsupportedBlock } from './unsupportedBlock';
|
3
6
|
export const mediaGroup = adfNode('mediaGroup').define({
|
4
7
|
selectable: false,
|
5
|
-
|
8
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
9
|
+
content: [$onePlus($or(media, unsupportedBlock))]
|
6
10
|
});
|
@@ -2,10 +2,12 @@ import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
2
2
|
import { annotation } from '../marks/annotation';
|
3
3
|
import { border } from '../marks/border';
|
4
4
|
import { link } from '../marks/link';
|
5
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
6
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
5
7
|
export const mediaInline = adfNode('mediaInline').define({
|
6
8
|
selectable: true,
|
7
9
|
atom: false,
|
8
|
-
marks: [link, annotation, border],
|
10
|
+
marks: [link, annotation, border, unsupportedNodeAttribute, unsupportedMark],
|
9
11
|
attrs: {
|
10
12
|
data: {
|
11
13
|
optional: true
|
@@ -1,11 +1,14 @@
|
|
1
1
|
import { $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { link } from '../marks/link';
|
3
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
4
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
3
5
|
import { caption } from './caption';
|
4
6
|
import { media } from './media';
|
7
|
+
import { unsupportedBlock } from './unsupportedBlock';
|
5
8
|
export const mediaSingle = adfNode('mediaSingle').define({
|
6
9
|
atom: false,
|
7
10
|
selectable: true,
|
8
|
-
marks: [link],
|
11
|
+
marks: [link, unsupportedNodeAttribute, unsupportedMark],
|
9
12
|
attrs: {
|
10
13
|
anyOf: [{
|
11
14
|
width: {
|
@@ -46,5 +49,5 @@ export const mediaSingle = adfNode('mediaSingle').define({
|
|
46
49
|
}
|
47
50
|
}).variant('caption', {
|
48
51
|
atom: false,
|
49
|
-
content: [$or(media), $or(caption)]
|
52
|
+
content: [$or(media, unsupportedBlock), $or(caption, unsupportedBlock)]
|
50
53
|
}).variant('full', {});
|
@@ -1,7 +1,10 @@
|
|
1
1
|
import { adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
export const mention = adfNode('mention').define({
|
3
5
|
inline: true,
|
4
6
|
selectable: true,
|
7
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
5
8
|
attrs: {
|
6
9
|
id: {
|
7
10
|
type: 'string',
|
@@ -1,10 +1,13 @@
|
|
1
1
|
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { blockRootOnlyGroup } from '../groups/blockRootOnlyGroup';
|
3
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
4
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
3
5
|
import { extensionFrame } from './extensionFrame';
|
4
6
|
export const multiBodiedExtension = adfNode('multiBodiedExtension').define({
|
5
7
|
definingAsContext: true,
|
6
8
|
selectable: true,
|
7
9
|
group: blockRootOnlyGroup,
|
10
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
8
11
|
attrs: {
|
9
12
|
extensionKey: {
|
10
13
|
type: 'string',
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
import { blockquote } from './blockquote';
|
3
5
|
import { codeBlock } from './codeBlock';
|
4
6
|
import { decisionList } from './decisionList';
|
@@ -10,9 +12,11 @@ import { panel } from './panel';
|
|
10
12
|
import { paragraph } from './paragraph';
|
11
13
|
import { rule } from './rule';
|
12
14
|
import { taskList } from './task';
|
15
|
+
import { unsupportedBlock } from './unsupportedBlock';
|
13
16
|
export const nestedExpand = adfNode('nestedExpand').define({
|
14
17
|
isolating: true,
|
15
18
|
selectable: true,
|
19
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
16
20
|
attrs: {
|
17
21
|
title: {
|
18
22
|
type: 'string',
|
@@ -25,5 +29,5 @@ export const nestedExpand = adfNode('nestedExpand').define({
|
|
25
29
|
optional: true
|
26
30
|
}
|
27
31
|
},
|
28
|
-
content: [$onePlus($or(codeBlock.use('with_no_marks'), paragraph.use('with_no_marks'), mediaSingle.use('caption'), mediaSingle.use('full'), taskList, bulletList, orderedList, heading.use('with_no_marks'), mediaGroup, decisionList, rule, panel, blockquote))]
|
32
|
+
content: [$onePlus($or(codeBlock.use('with_no_marks'), paragraph.use('with_no_marks'), mediaSingle.use('caption'), mediaSingle.use('full'), taskList, bulletList, orderedList, heading.use('with_no_marks'), mediaGroup, decisionList, rule, panel, blockquote, unsupportedBlock))]
|
29
33
|
}).variant('with_no_marks', {});
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
import { blockCard } from './blockCard';
|
3
5
|
import { codeBlock } from './codeBlock';
|
4
6
|
import { decisionList } from './decisionList';
|
@@ -9,8 +11,10 @@ import { mediaSingle } from './mediaSingle';
|
|
9
11
|
import { paragraph } from './paragraph';
|
10
12
|
import { rule } from './rule';
|
11
13
|
import { taskList } from './task';
|
14
|
+
import { unsupportedBlock } from './unsupportedBlock';
|
12
15
|
export const panel = adfNode('panel').define({
|
13
16
|
selectable: true,
|
17
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
14
18
|
attrs: {
|
15
19
|
panelType: {
|
16
20
|
type: 'enum',
|
@@ -38,5 +42,5 @@ export const panel = adfNode('panel').define({
|
|
38
42
|
optional: true
|
39
43
|
}
|
40
44
|
},
|
41
|
-
content: [$onePlus($or(codeBlock.use('with_no_marks'), blockCard, paragraph.use('with_no_marks'), mediaSingle.use('caption'), mediaSingle.use('full'), taskList, bulletList, orderedList, heading.use('with_no_marks'), mediaGroup, decisionList, rule))]
|
45
|
+
content: [$onePlus($or(codeBlock.use('with_no_marks'), blockCard, paragraph.use('with_no_marks'), mediaSingle.use('caption'), mediaSingle.use('full'), taskList, bulletList, orderedList, heading.use('with_no_marks'), mediaGroup, decisionList, rule, unsupportedBlock))]
|
42
46
|
});
|
@@ -1,13 +1,17 @@
|
|
1
1
|
import { $or, $zeroPlus, adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { inlineGroup } from '../groups/inlineGroup';
|
3
3
|
import { alignment, indentation } from '../marks/alignmentAndIndentation';
|
4
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
5
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
6
|
+
import { unsupportedInline } from './unsupportedInline';
|
4
7
|
export const paragraph = adfNode('paragraph').define({
|
5
8
|
selectable: false,
|
6
|
-
|
9
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
10
|
+
content: [$zeroPlus($or(inlineGroup, unsupportedInline))]
|
7
11
|
}).variant('with_alignment', {
|
8
|
-
marks: [alignment]
|
12
|
+
marks: [alignment, unsupportedNodeAttribute, unsupportedMark]
|
9
13
|
}).variant('with_indentation', {
|
10
|
-
marks: [indentation]
|
14
|
+
marks: [indentation, unsupportedNodeAttribute, unsupportedMark]
|
11
15
|
}).variant('with_marks', {
|
12
|
-
marks: [alignment, indentation]
|
16
|
+
marks: [alignment, indentation, unsupportedNodeAttribute, unsupportedMark]
|
13
17
|
}).variant('with_no_marks', {});
|
@@ -1,6 +1,9 @@
|
|
1
1
|
import { adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
export const placeholder = adfNode('placeholder').define({
|
3
5
|
selectable: false,
|
6
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
4
7
|
attrs: {
|
5
8
|
text: {
|
6
9
|
type: 'string',
|
@@ -1,6 +1,9 @@
|
|
1
1
|
import { adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
export const status = adfNode('status').define({
|
3
5
|
selectable: true,
|
6
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
4
7
|
attrs: {
|
5
8
|
text: {
|
6
9
|
minLength: 1,
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { fragment } from '../marks/fragment';
|
3
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
4
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
3
5
|
import { tableRow } from './tableRow';
|
4
6
|
export const table = adfNode('table').define({
|
5
7
|
isolating: true,
|
6
8
|
selectable: true,
|
7
|
-
marks: [fragment],
|
9
|
+
marks: [fragment, unsupportedNodeAttribute, unsupportedMark],
|
8
10
|
attrs: {
|
9
11
|
displayMode: {
|
10
12
|
type: 'enum',
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
import { blockCard } from './blockCard';
|
3
5
|
import { blockquote } from './blockquote';
|
4
6
|
import { codeBlock } from './codeBlock';
|
@@ -14,10 +16,12 @@ import { panel } from './panel';
|
|
14
16
|
import { paragraph } from './paragraph';
|
15
17
|
import { rule } from './rule';
|
16
18
|
import { taskList } from './task';
|
19
|
+
import { unsupportedBlock } from './unsupportedBlock';
|
17
20
|
export const tableCell = adfNode('tableCell').define({
|
18
21
|
isolating: true,
|
19
22
|
selectable: false,
|
20
23
|
tableRole: 'cell',
|
24
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
21
25
|
attrs: {
|
22
26
|
colspan: {
|
23
27
|
type: 'number',
|
@@ -40,5 +44,5 @@ export const tableCell = adfNode('tableCell').define({
|
|
40
44
|
optional: true
|
41
45
|
}
|
42
46
|
},
|
43
|
-
content: [$onePlus($or(codeBlock.use('with_no_marks'), blockCard, paragraph.use('with_no_marks'), paragraph.use('with_alignment'), mediaSingle.use('caption'), mediaSingle.use('full'), taskList, bulletList, orderedList, heading.use('with_no_marks'), heading.use('with_alignment'), heading.use('with_indentation'), mediaGroup, decisionList, rule, panel, blockquote, extension.use('with_marks'), embedCard, nestedExpand.use('with_no_marks')))]
|
47
|
+
content: [$onePlus($or(codeBlock.use('with_no_marks'), blockCard, paragraph.use('with_no_marks'), paragraph.use('with_alignment'), mediaSingle.use('caption'), mediaSingle.use('full'), taskList, bulletList, orderedList, heading.use('with_no_marks'), heading.use('with_alignment'), heading.use('with_indentation'), mediaGroup, decisionList, rule, panel, blockquote, extension.use('with_marks'), embedCard, nestedExpand.use('with_no_marks'), unsupportedBlock))]
|
44
48
|
});
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
import { blockCard } from './blockCard';
|
3
5
|
import { blockquote } from './blockquote';
|
4
6
|
import { codeBlock } from './codeBlock';
|
@@ -18,6 +20,7 @@ export const tableHeader = adfNode('tableHeader').define({
|
|
18
20
|
isolating: true,
|
19
21
|
selectable: false,
|
20
22
|
tableRole: 'header_cell',
|
23
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
21
24
|
attrs: {
|
22
25
|
colspan: {
|
23
26
|
type: 'number',
|
@@ -1,7 +1,10 @@
|
|
1
|
-
import { $
|
1
|
+
import { $or, $onePlus, adfNode } from '@atlaskit/adf-schema-generator';
|
2
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
3
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
2
4
|
import { tableCell } from './tableCell';
|
3
5
|
import { tableHeader } from './tableHeader';
|
4
6
|
export const tableRow = adfNode('tableRow').define({
|
5
7
|
selectable: false,
|
8
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
6
9
|
content: [$onePlus($or(tableCell, tableHeader))]
|
7
10
|
});
|
@@ -1,10 +1,15 @@
|
|
1
1
|
import { $onePlus, $or, $zeroPlus, adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { inlineGroup } from '../groups/inlineGroup';
|
3
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
4
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
5
|
+
import { unsupportedInline } from './unsupportedInline';
|
6
|
+
import { unsupportedBlock } from './unsupportedBlock';
|
3
7
|
export const taskItem = adfNode('taskItem');
|
4
8
|
export const taskList = adfNode('taskList');
|
5
9
|
taskItem.define({
|
6
10
|
defining: true,
|
7
11
|
selectable: false,
|
12
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
8
13
|
attrs: {
|
9
14
|
localId: {
|
10
15
|
type: 'string',
|
@@ -16,16 +21,17 @@ taskItem.define({
|
|
16
21
|
default: 'TODO'
|
17
22
|
}
|
18
23
|
},
|
19
|
-
content: [$zeroPlus($or(inlineGroup))]
|
24
|
+
content: [$zeroPlus($or(inlineGroup, unsupportedInline))]
|
20
25
|
});
|
21
26
|
taskList.define({
|
22
27
|
defining: true,
|
23
28
|
selectable: false,
|
29
|
+
marks: [unsupportedNodeAttribute, unsupportedMark],
|
24
30
|
attrs: {
|
25
31
|
localId: {
|
26
32
|
type: 'string',
|
27
33
|
default: ''
|
28
34
|
}
|
29
35
|
},
|
30
|
-
content: [$onePlus($or(taskItem)), $zeroPlus($or(taskItem, taskList))]
|
36
|
+
content: [$onePlus($or(taskItem, unsupportedBlock)), $zeroPlus($or(taskItem, taskList, unsupportedBlock))]
|
31
37
|
});
|
@@ -8,8 +8,10 @@ import { strong } from '../marks/strong';
|
|
8
8
|
import { subsup } from '../marks/subsup';
|
9
9
|
import { underline } from '../marks/underline';
|
10
10
|
import { backgroundColor, textColor } from '../marks/color';
|
11
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
12
|
+
import { unsupportedMark } from '../marks/unsupportedMark';
|
11
13
|
export const text = adfNode('text').define({}).variant('formatted', {
|
12
|
-
marks: [link, em, strong, strike, subsup, underline, textColor, annotation, backgroundColor]
|
14
|
+
marks: [link, em, strong, strike, subsup, underline, textColor, annotation, backgroundColor, unsupportedNodeAttribute, unsupportedMark]
|
13
15
|
}).variant('code_inline', {
|
14
|
-
marks: [code, link, annotation]
|
16
|
+
marks: [code, link, annotation, unsupportedNodeAttribute, unsupportedMark]
|
15
17
|
});
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { adfNode, JSONSchemaTransformerName, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator';
|
2
|
+
export const unsupportedBlock = adfNode('unsupportedBlock').define({
|
3
|
+
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
4
|
+
atom: true,
|
5
|
+
selectable: true,
|
6
|
+
attrs: {
|
7
|
+
originalValue: {
|
8
|
+
type: 'object',
|
9
|
+
default: {}
|
10
|
+
}
|
11
|
+
}
|
12
|
+
});
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { adfNode, JSONSchemaTransformerName, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator';
|
2
|
+
export const unsupportedInline = adfNode('unsupportedInline').define({
|
3
|
+
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
4
|
+
inline: true,
|
5
|
+
selectable: true,
|
6
|
+
attrs: {
|
7
|
+
originalValue: {
|
8
|
+
type: 'object',
|
9
|
+
default: {}
|
10
|
+
}
|
11
|
+
}
|
12
|
+
});
|