@atlaskit/adf-schema 36.4.0 → 36.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 +6 -0
- package/dist/cjs/next-schema/full-schema.adf.js +15 -0
- package/dist/cjs/next-schema/groups/alignementMarkExclusionGroup.js +9 -0
- package/dist/cjs/next-schema/groups/annotationGroup.js +8 -0
- package/dist/cjs/next-schema/groups/blockGroup.js +25 -0
- package/dist/cjs/next-schema/groups/blockRootOnlyGroup.js +8 -0
- package/dist/cjs/next-schema/groups/colorGroup.js +9 -0
- package/dist/cjs/next-schema/groups/fontStyleGroup.js +13 -0
- package/dist/cjs/next-schema/groups/indentationMarkExclusionGroup.js +9 -0
- package/dist/cjs/next-schema/groups/inlineGroup.js +18 -0
- package/dist/cjs/next-schema/groups/linkMarkGroup.js +9 -0
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +24 -0
- package/dist/cjs/next-schema/groups/searchQueryMarkGroup.js +8 -0
- package/dist/cjs/next-schema/marks/alignment.js +18 -0
- package/dist/cjs/next-schema/marks/annotation.js +21 -0
- package/dist/cjs/next-schema/marks/border.js +20 -0
- package/dist/cjs/next-schema/marks/breakout.js +18 -0
- package/dist/cjs/next-schema/marks/code.js +15 -0
- package/dist/cjs/next-schema/marks/dataConsumer.js +18 -0
- package/dist/cjs/next-schema/marks/em.js +10 -0
- package/dist/cjs/next-schema/marks/fragment.js +21 -0
- package/dist/cjs/next-schema/marks/indentation.js +18 -0
- package/dist/cjs/next-schema/marks/link.js +40 -0
- package/dist/cjs/next-schema/marks/strike.js +10 -0
- package/dist/cjs/next-schema/marks/strong.js +10 -0
- package/dist/cjs/next-schema/marks/subsup.js +17 -0
- package/dist/cjs/next-schema/marks/textColor.js +15 -0
- package/dist/cjs/next-schema/marks/underline.js +10 -0
- package/dist/cjs/next-schema/nodes/blockCard.js +34 -0
- package/dist/cjs/next-schema/nodes/blockquote.js +16 -0
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +51 -0
- package/dist/cjs/next-schema/nodes/caption.js +21 -0
- package/dist/cjs/next-schema/nodes/codeBlock.js +27 -0
- package/dist/cjs/next-schema/nodes/date.js +17 -0
- package/dist/cjs/next-schema/nodes/decisionItem.js +22 -0
- package/dist/cjs/next-schema/nodes/decisionList.js +19 -0
- package/dist/cjs/next-schema/nodes/embedCard.js +36 -0
- package/dist/cjs/next-schema/nodes/emoji.js +27 -0
- package/dist/cjs/next-schema/nodes/expand.js +30 -0
- package/dist/cjs/next-schema/nodes/extension.js +45 -0
- package/dist/cjs/next-schema/nodes/extensionFrame.js +33 -0
- package/dist/cjs/next-schema/nodes/hardBreak.js +18 -0
- package/dist/cjs/next-schema/nodes/heading.js +28 -0
- package/dist/cjs/next-schema/nodes/inlineCard.js +27 -0
- package/dist/cjs/next-schema/nodes/inlineExtension.js +36 -0
- package/dist/cjs/next-schema/nodes/layoutColumn.js +21 -0
- package/dist/cjs/next-schema/nodes/layoutSection.js +14 -0
- package/dist/cjs/next-schema/nodes/list.js +34 -0
- package/dist/cjs/next-schema/nodes/media.js +89 -0
- package/dist/cjs/next-schema/nodes/mediaGroup.js +12 -0
- package/dist/cjs/next-schema/nodes/mediaInline.js +78 -0
- package/dist/cjs/next-schema/nodes/mediaSingle.js +39 -0
- package/dist/cjs/next-schema/nodes/mention.js +33 -0
- package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +46 -0
- package/dist/cjs/next-schema/nodes/nestedExpand.js +35 -0
- package/dist/cjs/next-schema/nodes/panel.js +48 -0
- package/dist/cjs/next-schema/nodes/paragraph.js +21 -0
- package/dist/cjs/next-schema/nodes/placeholder.js +16 -0
- package/dist/cjs/next-schema/nodes/rule.js +8 -0
- package/dist/cjs/next-schema/nodes/status.js +31 -0
- package/dist/cjs/next-schema/nodes/table.js +43 -0
- package/dist/cjs/next-schema/nodes/tableCell.js +50 -0
- package/dist/cjs/next-schema/nodes/tableHeader.js +50 -0
- package/dist/cjs/next-schema/nodes/tableRow.js +13 -0
- package/dist/cjs/next-schema/nodes/task.js +37 -0
- package/dist/cjs/next-schema/nodes/text.js +21 -0
- package/dist/es2019/next-schema/full-schema.adf.js +9 -0
- package/dist/es2019/next-schema/groups/alignementMarkExclusionGroup.js +3 -0
- package/dist/es2019/next-schema/groups/annotationGroup.js +2 -0
- package/dist/es2019/next-schema/groups/blockGroup.js +19 -0
- package/dist/es2019/next-schema/groups/blockRootOnlyGroup.js +2 -0
- package/dist/es2019/next-schema/groups/colorGroup.js +3 -0
- package/dist/es2019/next-schema/groups/fontStyleGroup.js +7 -0
- package/dist/es2019/next-schema/groups/indentationMarkExclusionGroup.js +3 -0
- package/dist/es2019/next-schema/groups/inlineGroup.js +12 -0
- package/dist/es2019/next-schema/groups/linkMarkGroup.js +3 -0
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +19 -0
- package/dist/es2019/next-schema/groups/searchQueryMarkGroup.js +2 -0
- package/dist/es2019/next-schema/marks/alignment.js +12 -0
- package/dist/es2019/next-schema/marks/annotation.js +15 -0
- package/dist/es2019/next-schema/marks/border.js +14 -0
- package/dist/es2019/next-schema/marks/breakout.js +12 -0
- package/dist/es2019/next-schema/marks/code.js +9 -0
- package/dist/es2019/next-schema/marks/dataConsumer.js +12 -0
- package/dist/es2019/next-schema/marks/em.js +4 -0
- package/dist/es2019/next-schema/marks/fragment.js +15 -0
- package/dist/es2019/next-schema/marks/indentation.js +12 -0
- package/dist/es2019/next-schema/marks/link.js +34 -0
- package/dist/es2019/next-schema/marks/strike.js +4 -0
- package/dist/es2019/next-schema/marks/strong.js +4 -0
- package/dist/es2019/next-schema/marks/subsup.js +11 -0
- package/dist/es2019/next-schema/marks/textColor.js +9 -0
- package/dist/es2019/next-schema/marks/underline.js +4 -0
- package/dist/es2019/next-schema/nodes/blockCard.js +28 -0
- package/dist/es2019/next-schema/nodes/blockquote.js +10 -0
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +43 -0
- package/dist/es2019/next-schema/nodes/caption.js +16 -0
- package/dist/es2019/next-schema/nodes/codeBlock.js +21 -0
- package/dist/es2019/next-schema/nodes/date.js +11 -0
- package/dist/es2019/next-schema/nodes/decisionItem.js +16 -0
- package/dist/es2019/next-schema/nodes/decisionList.js +13 -0
- package/dist/es2019/next-schema/nodes/embedCard.js +30 -0
- package/dist/es2019/next-schema/nodes/emoji.js +21 -0
- package/dist/es2019/next-schema/nodes/expand.js +22 -0
- package/dist/es2019/next-schema/nodes/extension.js +39 -0
- package/dist/es2019/next-schema/nodes/extensionFrame.js +27 -0
- package/dist/es2019/next-schema/nodes/hardBreak.js +12 -0
- package/dist/es2019/next-schema/nodes/heading.js +22 -0
- package/dist/es2019/next-schema/nodes/inlineCard.js +21 -0
- package/dist/es2019/next-schema/nodes/inlineExtension.js +30 -0
- package/dist/es2019/next-schema/nodes/layoutColumn.js +15 -0
- package/dist/es2019/next-schema/nodes/layoutSection.js +8 -0
- package/dist/es2019/next-schema/nodes/list.js +28 -0
- package/dist/es2019/next-schema/nodes/media.js +83 -0
- package/dist/es2019/next-schema/nodes/mediaGroup.js +6 -0
- package/dist/es2019/next-schema/nodes/mediaInline.js +72 -0
- package/dist/es2019/next-schema/nodes/mediaSingle.js +33 -0
- package/dist/es2019/next-schema/nodes/mention.js +27 -0
- package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +40 -0
- package/dist/es2019/next-schema/nodes/nestedExpand.js +29 -0
- package/dist/es2019/next-schema/nodes/panel.js +42 -0
- package/dist/es2019/next-schema/nodes/paragraph.js +15 -0
- package/dist/es2019/next-schema/nodes/placeholder.js +10 -0
- package/dist/es2019/next-schema/nodes/rule.js +2 -0
- package/dist/es2019/next-schema/nodes/status.js +25 -0
- package/dist/es2019/next-schema/nodes/table.js +37 -0
- package/dist/es2019/next-schema/nodes/tableCell.js +44 -0
- package/dist/es2019/next-schema/nodes/tableHeader.js +44 -0
- package/dist/es2019/next-schema/nodes/tableRow.js +7 -0
- package/dist/es2019/next-schema/nodes/task.js +31 -0
- package/dist/es2019/next-schema/nodes/text.js +15 -0
- package/dist/esm/next-schema/full-schema.adf.js +9 -0
- package/dist/esm/next-schema/groups/alignementMarkExclusionGroup.js +3 -0
- package/dist/esm/next-schema/groups/annotationGroup.js +2 -0
- package/dist/esm/next-schema/groups/blockGroup.js +19 -0
- package/dist/esm/next-schema/groups/blockRootOnlyGroup.js +2 -0
- package/dist/esm/next-schema/groups/colorGroup.js +3 -0
- package/dist/esm/next-schema/groups/fontStyleGroup.js +7 -0
- package/dist/esm/next-schema/groups/indentationMarkExclusionGroup.js +3 -0
- package/dist/esm/next-schema/groups/inlineGroup.js +12 -0
- package/dist/esm/next-schema/groups/linkMarkGroup.js +3 -0
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +19 -0
- package/dist/esm/next-schema/groups/searchQueryMarkGroup.js +2 -0
- package/dist/esm/next-schema/marks/alignment.js +12 -0
- package/dist/esm/next-schema/marks/annotation.js +15 -0
- package/dist/esm/next-schema/marks/border.js +14 -0
- package/dist/esm/next-schema/marks/breakout.js +12 -0
- package/dist/esm/next-schema/marks/code.js +9 -0
- package/dist/esm/next-schema/marks/dataConsumer.js +12 -0
- package/dist/esm/next-schema/marks/em.js +4 -0
- package/dist/esm/next-schema/marks/fragment.js +15 -0
- package/dist/esm/next-schema/marks/indentation.js +12 -0
- package/dist/esm/next-schema/marks/link.js +34 -0
- package/dist/esm/next-schema/marks/strike.js +4 -0
- package/dist/esm/next-schema/marks/strong.js +4 -0
- package/dist/esm/next-schema/marks/subsup.js +11 -0
- package/dist/esm/next-schema/marks/textColor.js +9 -0
- package/dist/esm/next-schema/marks/underline.js +4 -0
- package/dist/esm/next-schema/nodes/blockCard.js +28 -0
- package/dist/esm/next-schema/nodes/blockquote.js +10 -0
- package/dist/esm/next-schema/nodes/bodiedExtension.js +44 -0
- package/dist/esm/next-schema/nodes/caption.js +16 -0
- package/dist/esm/next-schema/nodes/codeBlock.js +21 -0
- package/dist/esm/next-schema/nodes/date.js +11 -0
- package/dist/esm/next-schema/nodes/decisionItem.js +16 -0
- package/dist/esm/next-schema/nodes/decisionList.js +13 -0
- package/dist/esm/next-schema/nodes/embedCard.js +30 -0
- package/dist/esm/next-schema/nodes/emoji.js +21 -0
- package/dist/esm/next-schema/nodes/expand.js +23 -0
- package/dist/esm/next-schema/nodes/extension.js +39 -0
- package/dist/esm/next-schema/nodes/extensionFrame.js +27 -0
- package/dist/esm/next-schema/nodes/hardBreak.js +12 -0
- package/dist/esm/next-schema/nodes/heading.js +22 -0
- package/dist/esm/next-schema/nodes/inlineCard.js +21 -0
- package/dist/esm/next-schema/nodes/inlineExtension.js +30 -0
- package/dist/esm/next-schema/nodes/layoutColumn.js +15 -0
- package/dist/esm/next-schema/nodes/layoutSection.js +8 -0
- package/dist/esm/next-schema/nodes/list.js +28 -0
- package/dist/esm/next-schema/nodes/media.js +83 -0
- package/dist/esm/next-schema/nodes/mediaGroup.js +6 -0
- package/dist/esm/next-schema/nodes/mediaInline.js +72 -0
- package/dist/esm/next-schema/nodes/mediaSingle.js +33 -0
- package/dist/esm/next-schema/nodes/mention.js +27 -0
- package/dist/esm/next-schema/nodes/multiBodiedExtension.js +40 -0
- package/dist/esm/next-schema/nodes/nestedExpand.js +29 -0
- package/dist/esm/next-schema/nodes/panel.js +42 -0
- package/dist/esm/next-schema/nodes/paragraph.js +15 -0
- package/dist/esm/next-schema/nodes/placeholder.js +10 -0
- package/dist/esm/next-schema/nodes/rule.js +2 -0
- package/dist/esm/next-schema/nodes/status.js +25 -0
- package/dist/esm/next-schema/nodes/table.js +37 -0
- package/dist/esm/next-schema/nodes/tableCell.js +44 -0
- package/dist/esm/next-schema/nodes/tableHeader.js +44 -0
- package/dist/esm/next-schema/nodes/tableRow.js +7 -0
- package/dist/esm/next-schema/nodes/task.js +31 -0
- package/dist/esm/next-schema/nodes/text.js +15 -0
- package/dist/types/next-schema/full-schema.adf.d.ts +18 -0
- package/dist/types/next-schema/groups/alignementMarkExclusionGroup.d.ts +1 -0
- package/dist/types/next-schema/groups/annotationGroup.d.ts +1 -0
- package/dist/types/next-schema/groups/blockGroup.d.ts +1 -0
- package/dist/types/next-schema/groups/blockRootOnlyGroup.d.ts +1 -0
- package/dist/types/next-schema/groups/colorGroup.d.ts +1 -0
- package/dist/types/next-schema/groups/fontStyleGroup.d.ts +1 -0
- package/dist/types/next-schema/groups/indentationMarkExclusionGroup.d.ts +1 -0
- package/dist/types/next-schema/groups/inlineGroup.d.ts +1 -0
- package/dist/types/next-schema/groups/linkMarkGroup.d.ts +1 -0
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +114 -0
- package/dist/types/next-schema/groups/searchQueryMarkGroup.d.ts +1 -0
- package/dist/types/next-schema/marks/alignment.d.ts +1 -0
- package/dist/types/next-schema/marks/annotation.d.ts +1 -0
- package/dist/types/next-schema/marks/border.d.ts +1 -0
- package/dist/types/next-schema/marks/breakout.d.ts +1 -0
- package/dist/types/next-schema/marks/code.d.ts +1 -0
- package/dist/types/next-schema/marks/dataConsumer.d.ts +1 -0
- package/dist/types/next-schema/marks/em.d.ts +1 -0
- package/dist/types/next-schema/marks/fragment.d.ts +1 -0
- package/dist/types/next-schema/marks/indentation.d.ts +1 -0
- package/dist/types/next-schema/marks/link.d.ts +1 -0
- package/dist/types/next-schema/marks/strike.d.ts +1 -0
- package/dist/types/next-schema/marks/strong.d.ts +1 -0
- package/dist/types/next-schema/marks/subsup.d.ts +1 -0
- package/dist/types/next-schema/marks/textColor.d.ts +1 -0
- package/dist/types/next-schema/marks/underline.d.ts +1 -0
- package/dist/types/next-schema/nodes/blockCard.d.ts +17 -0
- package/dist/types/next-schema/nodes/blockquote.d.ts +19 -0
- package/dist/types/next-schema/nodes/bodiedExtension.d.ts +19 -0
- package/dist/types/next-schema/nodes/caption.d.ts +17 -0
- package/dist/types/next-schema/nodes/codeBlock.d.ts +38 -0
- package/dist/types/next-schema/nodes/date.d.ts +17 -0
- package/dist/types/next-schema/nodes/decisionItem.d.ts +17 -0
- package/dist/types/next-schema/nodes/decisionList.d.ts +17 -0
- package/dist/types/next-schema/nodes/embedCard.d.ts +17 -0
- package/dist/types/next-schema/nodes/emoji.d.ts +17 -0
- package/dist/types/next-schema/nodes/expand.d.ts +19 -0
- package/dist/types/next-schema/nodes/extension.d.ts +17 -0
- package/dist/types/next-schema/nodes/extensionFrame.d.ts +17 -0
- package/dist/types/next-schema/nodes/hardBreak.d.ts +17 -0
- package/dist/types/next-schema/nodes/heading.d.ts +42 -0
- package/dist/types/next-schema/nodes/inlineCard.d.ts +19 -0
- package/dist/types/next-schema/nodes/inlineExtension.d.ts +17 -0
- package/dist/types/next-schema/nodes/layoutColumn.d.ts +17 -0
- package/dist/types/next-schema/nodes/layoutSection.d.ts +17 -0
- package/dist/types/next-schema/nodes/list.d.ts +34 -0
- package/dist/types/next-schema/nodes/media.d.ts +17 -0
- package/dist/types/next-schema/nodes/mediaGroup.d.ts +17 -0
- package/dist/types/next-schema/nodes/mediaInline.d.ts +17 -0
- package/dist/types/next-schema/nodes/mediaSingle.d.ts +20 -0
- package/dist/types/next-schema/nodes/mention.d.ts +17 -0
- package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +17 -0
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +17 -0
- package/dist/types/next-schema/nodes/panel.d.ts +17 -0
- package/dist/types/next-schema/nodes/paragraph.d.ts +23 -0
- package/dist/types/next-schema/nodes/placeholder.d.ts +17 -0
- package/dist/types/next-schema/nodes/rule.d.ts +17 -0
- package/dist/types/next-schema/nodes/status.d.ts +17 -0
- package/dist/types/next-schema/nodes/table.d.ts +17 -0
- package/dist/types/next-schema/nodes/tableCell.d.ts +17 -0
- package/dist/types/next-schema/nodes/tableHeader.d.ts +17 -0
- package/dist/types/next-schema/nodes/tableRow.d.ts +17 -0
- package/dist/types/next-schema/nodes/task.d.ts +34 -0
- package/dist/types/next-schema/nodes/text.d.ts +21 -0
- package/package.json +3 -3
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const media: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const mediaGroup: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const mediaInline: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export declare const mediaSingle: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "caption"], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
} & {
|
18
|
+
atom: false;
|
19
|
+
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOrSpec[];
|
20
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const mention: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const multiBodiedExtension: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const nestedExpand: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const panel: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export declare const paragraph: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_alignment", "with_indentation", "with_marks"], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
} & {
|
18
|
+
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
19
|
+
} & {
|
20
|
+
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
21
|
+
} & {
|
22
|
+
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
23
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const placeholder: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const rule: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const status: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const table: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const tableCell: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const tableHeader: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const tableRow: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
export declare const taskItem: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
}>;
|
18
|
+
export declare const taskList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
19
|
+
root?: boolean;
|
20
|
+
atom?: boolean;
|
21
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
22
|
+
inline?: true;
|
23
|
+
code?: boolean;
|
24
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
25
|
+
defining?: boolean;
|
26
|
+
definingAsContext?: boolean;
|
27
|
+
definingForContent?: boolean;
|
28
|
+
draggable?: boolean;
|
29
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
30
|
+
isolating?: boolean;
|
31
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
32
|
+
selectable?: boolean;
|
33
|
+
whitespace?: "pre" | "normal";
|
34
|
+
}>;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare const text: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "formatted", "code_inline"], {
|
2
|
+
root?: boolean;
|
3
|
+
atom?: boolean;
|
4
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
|
+
inline?: true;
|
6
|
+
code?: boolean;
|
7
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
8
|
+
defining?: boolean;
|
9
|
+
definingAsContext?: boolean;
|
10
|
+
definingForContent?: boolean;
|
11
|
+
draggable?: boolean;
|
12
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
13
|
+
isolating?: boolean;
|
14
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
15
|
+
selectable?: boolean;
|
16
|
+
whitespace?: "pre" | "normal";
|
17
|
+
} & {
|
18
|
+
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
19
|
+
} & {
|
20
|
+
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
21
|
+
}>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/adf-schema",
|
3
|
-
"version": "36.
|
3
|
+
"version": "36.5.0",
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
5
5
|
"publishConfig": {
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"build:types": "NODE_ENV=production tsc --project ./build/tsconfig.json --emitDeclarationOnly --outDir ./dist/types --rootDir ./src && yarn build:jsontypes",
|
28
28
|
"build:jsontypes": "mkdir -p dist/types/json-schema && cp src/json-schema/index.ts dist/types/json-schema/index.d.ts",
|
29
29
|
"build:all": "yarn build:cjs && yarn build:esm && yarn build:es2019 && yarn build:types",
|
30
|
-
"build": "yarn workspace @atlaskit/editor-prosemirror build && yarn run build:all && yarn run generate:json-schema && yarn run build:json-schema",
|
30
|
+
"build": "yarn workspace @atlaskit/editor-prosemirror build && yarn workspace @atlaskit/adf-schema-generator build && yarn run build:all && yarn run generate:json-schema && yarn run build:json-schema",
|
31
31
|
"build:full": "yarn ts-node ./schema-generators/full-schema.ts",
|
32
32
|
"clean": "../../scripts/build-clean.sh",
|
33
33
|
"link:afe": "yarn build:all && node ./copy-dist-to-afe.js"
|
@@ -43,7 +43,7 @@
|
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
45
|
"@atlassian/adf-schema-json": "^1.14.0",
|
46
|
-
"@atlaskit/adf-schema-generator": "^1.
|
46
|
+
"@atlaskit/adf-schema-generator": "^1.5.0",
|
47
47
|
"@babel/cli": "^7.22.9",
|
48
48
|
"@babel/core": "^7.22.9",
|
49
49
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|