@atlaskit/adf-schema 40.3.1 → 40.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 +12 -0
- package/dist/cjs/index.js +8 -2
- package/dist/cjs/next-schema/generated/nodeTypes.js +10 -4
- package/dist/cjs/next-schema/groups/blockGroup.js +1 -1
- package/dist/cjs/next-schema/nodes/blockquote.js +4 -5
- package/dist/cjs/next-schema/nodes/list.js +7 -2
- package/dist/cjs/schema/create-schema.js +1 -1
- package/dist/cjs/schema/default-schema.js +2 -1
- package/dist/cjs/schema/index.js +8 -2
- package/dist/cjs/schema/nodes/blockquote.js +3 -3
- package/dist/cjs/schema/nodes/index.js +8 -2
- package/dist/cjs/schema/nodes/list-item.js +14 -1
- package/dist/cjs/validator-schema/generated/validatorSpec.js +70 -59
- package/dist/es2019/index.js +2 -2
- package/dist/es2019/next-schema/generated/nodeTypes.js +9 -3
- package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
- package/dist/es2019/next-schema/nodes/blockquote.js +4 -5
- package/dist/es2019/next-schema/nodes/list.js +7 -2
- package/dist/es2019/schema/create-schema.js +2 -2
- package/dist/es2019/schema/default-schema.js +3 -2
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/nodes/blockquote.js +3 -3
- package/dist/es2019/schema/nodes/index.js +2 -2
- package/dist/es2019/schema/nodes/list-item.js +14 -0
- package/dist/es2019/validator-schema/generated/validatorSpec.js +69 -58
- package/dist/esm/index.js +2 -2
- package/dist/esm/next-schema/generated/nodeTypes.js +9 -3
- package/dist/esm/next-schema/groups/blockGroup.js +1 -1
- package/dist/esm/next-schema/nodes/blockquote.js +4 -5
- package/dist/esm/next-schema/nodes/list.js +7 -2
- package/dist/esm/schema/create-schema.js +2 -2
- package/dist/esm/schema/default-schema.js +3 -2
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/nodes/blockquote.js +3 -3
- package/dist/esm/schema/nodes/index.js +2 -2
- package/dist/esm/schema/nodes/list-item.js +14 -0
- package/dist/esm/validator-schema/generated/validatorSpec.js +69 -58
- package/dist/json-schema/v1/full.json +82 -70
- package/dist/json-schema/v1/stage-0.json +130 -86
- package/dist/types/index.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeTypes.d.ts +14 -7
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +7 -3
- package/dist/types/next-schema/nodes/blockquote.d.ts +2 -3
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/nodes/blockquote.d.ts +1 -1
- package/dist/types/schema/nodes/index.d.ts +2 -2
- package/dist/types/schema/nodes/list-item.d.ts +5 -0
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +66 -55
- package/json-schema/v1/full.json +82 -70
- package/json-schema/v1/stage-0.json +130 -86
- package/package.json +2 -2
@@ -27,7 +27,7 @@ export type BlockCardNode = PMNode & BlockCardDefinition;
|
|
27
27
|
export declare const blockCard: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<BlockCardNode>) => import("prosemirror-model").NodeSpec;
|
28
28
|
export interface BlockquoteDefinition {
|
29
29
|
type: 'blockquote';
|
30
|
-
content: Array<BulletListDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | UnsupportedBlockDefinition>;
|
30
|
+
content: Array<BulletListDefinition | CodeBlockWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | UnsupportedBlockDefinition>;
|
31
31
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
32
32
|
}
|
33
33
|
export type BlockquoteNode = PMNode & BlockquoteDefinition;
|
@@ -39,13 +39,13 @@ export interface BlockquoteLegacyDefinition {
|
|
39
39
|
}
|
40
40
|
export type BlockquoteLegacyNode = PMNode & BlockquoteLegacyDefinition;
|
41
41
|
export declare const blockquoteLegacy: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<BlockquoteLegacyNode>) => import("prosemirror-model").NodeSpec;
|
42
|
-
export interface
|
42
|
+
export interface BlockquoteWithoutNestedCodeblockOrMediaDefinition {
|
43
43
|
type: 'blockquote';
|
44
|
-
content: Array<BulletListDefinition |
|
44
|
+
content: Array<BulletListDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | UnsupportedBlockDefinition>;
|
45
45
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
46
46
|
}
|
47
|
-
export type
|
48
|
-
export declare const
|
47
|
+
export type BlockquoteWithoutNestedCodeblockOrMediaNode = PMNode & BlockquoteWithoutNestedCodeblockOrMediaDefinition;
|
48
|
+
export declare const blockquoteWithoutNestedCodeblockOrMedia: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<BlockquoteWithoutNestedCodeblockOrMediaNode>) => import("prosemirror-model").NodeSpec;
|
49
49
|
export interface BodiedExtensionDefinition {
|
50
50
|
type: 'bodiedExtension';
|
51
51
|
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockWithNoMarksDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
@@ -77,7 +77,7 @@ export type BodiedExtensionWithMarksNode = PMNode & BodiedExtensionWithMarksDefi
|
|
77
77
|
export declare const bodiedExtensionWithMarks: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<BodiedExtensionWithMarksNode>) => import("prosemirror-model").NodeSpec;
|
78
78
|
export interface BulletListDefinition {
|
79
79
|
type: 'bulletList';
|
80
|
-
content: Array<ListItemDefinition | ListItemLegacyDefinition>;
|
80
|
+
content: Array<ListItemDefinition | ListItemLegacyDefinition | ListItemWithNestedDecisionStage0Definition>;
|
81
81
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
82
82
|
}
|
83
83
|
export type BulletListNode = PMNode & BulletListDefinition;
|
@@ -439,6 +439,13 @@ export interface ListItemLegacyDefinition {
|
|
439
439
|
}
|
440
440
|
export type ListItemLegacyNode = PMNode & ListItemLegacyDefinition;
|
441
441
|
export declare const listItemLegacy: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ListItemLegacyNode>) => import("prosemirror-model").NodeSpec;
|
442
|
+
export interface ListItemWithNestedDecisionStage0Definition {
|
443
|
+
type: 'listItem';
|
444
|
+
content: Array<BulletListDefinition | CodeBlockWithNoMarksDefinition | CodeBlockWithNoMarksDefinition | DecisionListDefinition | DecisionListDefinition | MediaSingleCaptionDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | UnsupportedBlockDefinition | UnsupportedBlockDefinition>;
|
445
|
+
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
446
|
+
}
|
447
|
+
export type ListItemWithNestedDecisionStage0Node = PMNode & ListItemWithNestedDecisionStage0Definition;
|
448
|
+
export declare const listItemWithNestedDecisionStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ListItemWithNestedDecisionStage0Node>) => import("prosemirror-model").NodeSpec;
|
442
449
|
export interface MediaNodeAttributes0 {
|
443
450
|
type: 'link' | 'file';
|
444
451
|
id: string;
|
@@ -631,7 +638,7 @@ export type NestedExpandWithNoMarksNode = PMNode & NestedExpandWithNoMarksDefini
|
|
631
638
|
export declare const nestedExpandWithNoMarks: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<NestedExpandWithNoMarksNode>) => import("prosemirror-model").NodeSpec;
|
632
639
|
export interface OrderedListDefinition {
|
633
640
|
type: 'orderedList';
|
634
|
-
content: Array<ListItemDefinition | ListItemLegacyDefinition>;
|
641
|
+
content: Array<ListItemDefinition | ListItemLegacyDefinition | ListItemWithNestedDecisionStage0Definition>;
|
635
642
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
636
643
|
attrs: {
|
637
644
|
order?: number;
|
@@ -49,13 +49,17 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
49
49
|
};
|
50
50
|
};
|
51
51
|
};
|
52
|
-
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "legacy", "
|
52
|
+
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "legacy", "without_nested_codeblock_or_media"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
53
53
|
ignore: ("json-schema" | "validator-spec")[];
|
54
54
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
55
55
|
} & {
|
56
56
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
57
|
-
|
58
|
-
|
57
|
+
/**
|
58
|
+
* @DSLCompatibilityException
|
59
|
+
*
|
60
|
+
* Pseudo group used to match existing validator and json schema specs.
|
61
|
+
*/
|
62
|
+
ignore: ("json-schema" | "validator-spec")[];
|
59
63
|
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "legacy"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
60
64
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
61
65
|
ignore: ("json-schema" | "validator-spec")[];
|
@@ -1,8 +1,7 @@
|
|
1
|
-
export declare const blockquote: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "legacy", "
|
1
|
+
export declare const blockquote: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "legacy", "without_nested_codeblock_or_media"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
2
2
|
ignore: ("json-schema" | "validator-spec")[];
|
3
3
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
4
4
|
} & {
|
5
5
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
6
|
-
|
7
|
-
stage0: true;
|
6
|
+
ignore: ("json-schema" | "validator-spec")[];
|
8
7
|
}>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { PanelType, blockCard, blockquote, blockquoteWithList,
|
1
|
+
export { PanelType, blockCard, blockquote, blockquoteWithList, blockquoteWithNestedCodeblockOrMedia, bodiedExtension, bulletList, bulletListSelector, caption, codeBlock, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, decisionItem, decisionList, decisionListSelector, doc, embedCard, emoji, expand, expandWithNestedExpandStage0, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineExtension, layoutColumn, layoutSection, layoutSectionWithSingleColumn, listItem, listItemWithTask, listItemWithDecisionStage0, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, orderedListWithOrder, extendedPanel, paragraph, placeholder, rule, getCellAttrs, getCellDomAttrs, status, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, toJSONTableCell, toJSONTableHeader, unknownBlock, unsupportedBlock, unsupportedInline, extensionFrame, multiBodiedExtension, } from './nodes';
|
2
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, InlineAtomic, 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, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, TaskListContent, TaskListDefinition, TextDefinition, UrlType, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, CellDomAttrs, ExtensionFrameDefinition, MultiBodiedExtensionDefinition, } from './nodes';
|
3
3
|
export { AnnotationTypes, alignment, alignmentPositionMap, annotation, breakout, code, colorPalette,
|
4
4
|
/** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
@@ -16,7 +16,7 @@ export interface BlockQuoteDefinition {
|
|
16
16
|
content: Array<Paragraph | OrderedList | BulletList | CodeBlock | MediaGroup | MediaSingle>;
|
17
17
|
}
|
18
18
|
export declare const blockquote: import("prosemirror-model").NodeSpec;
|
19
|
-
export declare const
|
19
|
+
export declare const blockquoteWithNestedCodeblockOrMedia: import("prosemirror-model").NodeSpec;
|
20
20
|
/**
|
21
21
|
* @name blockquote_with_list_node
|
22
22
|
*/
|
@@ -5,7 +5,7 @@ export { confluenceUnsupportedBlock } from './confluence-unsupported-block';
|
|
5
5
|
export { confluenceUnsupportedInline } from './confluence-unsupported-inline';
|
6
6
|
export { doc } from './doc';
|
7
7
|
export type { DocNode } from './doc';
|
8
|
-
export { blockquote, blockquoteWithList,
|
8
|
+
export { blockquote, blockquoteWithList, blockquoteWithNestedCodeblockOrMedia, } from './blockquote';
|
9
9
|
export type { BlockQuoteDefinition } from './blockquote';
|
10
10
|
export { bulletList, bulletListSelector } from './bullet-list';
|
11
11
|
export type { BulletListDefinition } from './types/list';
|
@@ -26,7 +26,7 @@ export type { EmojiAttributes, EmojiDefinition } from './emoji';
|
|
26
26
|
export { image } from './image';
|
27
27
|
export { mention, toJSON as mentionToJSON } from './mention';
|
28
28
|
export type { MentionAttributes, UserType as MentionUserType, MentionDefinition, } from './mention';
|
29
|
-
export { listItem, listItemWithTask } from './list-item';
|
29
|
+
export { listItem, listItemWithTask, listItemWithDecisionStage0, } from './list-item';
|
30
30
|
export type { ListItemArray, ListItemDefinition } from './types/list';
|
31
31
|
export { extendedPanel, PanelType } from './panel';
|
32
32
|
export type { PanelAttributes, PanelDefinition } from './panel';
|
@@ -4,3 +4,8 @@ export declare const listItem: import("prosemirror-model").NodeSpec;
|
|
4
4
|
* @description this node allows task-list to be nested inside list-item
|
5
5
|
*/
|
6
6
|
export declare const listItemWithTask: import("prosemirror-model").NodeSpec;
|
7
|
+
/**
|
8
|
+
* @name list_item_with_decision_stage0
|
9
|
+
* @description this node allows decisions to be nested inside list-item
|
10
|
+
*/
|
11
|
+
export declare const listItemWithDecisionStage0: import("prosemirror-model").NodeSpec;
|
@@ -1012,25 +1012,53 @@ export declare const listItem_legacy: (string | {
|
|
1012
1012
|
};
|
1013
1013
|
};
|
1014
1014
|
})[];
|
1015
|
-
export declare const
|
1015
|
+
export declare const decisionItem: {
|
1016
1016
|
props: {
|
1017
1017
|
type: {
|
1018
1018
|
type: string;
|
1019
1019
|
values: string[];
|
1020
1020
|
};
|
1021
|
+
attrs: {
|
1022
|
+
props: {
|
1023
|
+
localId: {
|
1024
|
+
type: string;
|
1025
|
+
};
|
1026
|
+
state: {
|
1027
|
+
type: string;
|
1028
|
+
};
|
1029
|
+
};
|
1030
|
+
};
|
1021
1031
|
content: {
|
1022
1032
|
type: string;
|
1023
1033
|
items: string[];
|
1024
|
-
|
1034
|
+
optional: boolean;
|
1035
|
+
allowUnsupportedInline: boolean;
|
1025
1036
|
};
|
1026
1037
|
};
|
1027
1038
|
};
|
1028
|
-
export declare const
|
1039
|
+
export declare const decisionList: {
|
1029
1040
|
props: {
|
1030
1041
|
type: {
|
1031
1042
|
type: string;
|
1032
1043
|
values: string[];
|
1033
1044
|
};
|
1045
|
+
attrs: {
|
1046
|
+
props: {
|
1047
|
+
localId: {
|
1048
|
+
type: string;
|
1049
|
+
};
|
1050
|
+
};
|
1051
|
+
};
|
1052
|
+
content: {
|
1053
|
+
type: string;
|
1054
|
+
items: string[];
|
1055
|
+
minItems: number;
|
1056
|
+
allowUnsupportedBlock: boolean;
|
1057
|
+
};
|
1058
|
+
};
|
1059
|
+
};
|
1060
|
+
export declare const listItem_with_nested_decision: (string | {
|
1061
|
+
props: {
|
1034
1062
|
content: {
|
1035
1063
|
type: string;
|
1036
1064
|
isTupleLike: boolean;
|
@@ -1039,31 +1067,21 @@ export declare const listItem: {
|
|
1039
1067
|
allowUnsupportedBlock: boolean;
|
1040
1068
|
};
|
1041
1069
|
};
|
1042
|
-
};
|
1043
|
-
export declare const
|
1070
|
+
})[];
|
1071
|
+
export declare const bulletList: {
|
1044
1072
|
props: {
|
1045
1073
|
type: {
|
1046
1074
|
type: string;
|
1047
1075
|
values: string[];
|
1048
1076
|
};
|
1049
|
-
attrs: {
|
1050
|
-
props: {
|
1051
|
-
order: {
|
1052
|
-
type: string;
|
1053
|
-
minimum: number;
|
1054
|
-
optional: boolean;
|
1055
|
-
};
|
1056
|
-
};
|
1057
|
-
optional: boolean;
|
1058
|
-
};
|
1059
1077
|
content: {
|
1060
1078
|
type: string;
|
1061
|
-
items: string[];
|
1079
|
+
items: string[][];
|
1062
1080
|
minItems: number;
|
1063
1081
|
};
|
1064
1082
|
};
|
1065
1083
|
};
|
1066
|
-
export declare const
|
1084
|
+
export declare const listItem: {
|
1067
1085
|
props: {
|
1068
1086
|
type: {
|
1069
1087
|
type: string;
|
@@ -1071,22 +1089,36 @@ export declare const blockquote: {
|
|
1071
1089
|
};
|
1072
1090
|
content: {
|
1073
1091
|
type: string;
|
1092
|
+
isTupleLike: boolean;
|
1074
1093
|
items: string[][];
|
1075
1094
|
minItems: number;
|
1076
1095
|
allowUnsupportedBlock: boolean;
|
1077
1096
|
};
|
1078
1097
|
};
|
1079
1098
|
};
|
1080
|
-
export declare const
|
1099
|
+
export declare const orderedList: {
|
1081
1100
|
props: {
|
1101
|
+
type: {
|
1102
|
+
type: string;
|
1103
|
+
values: string[];
|
1104
|
+
};
|
1105
|
+
attrs: {
|
1106
|
+
props: {
|
1107
|
+
order: {
|
1108
|
+
type: string;
|
1109
|
+
minimum: number;
|
1110
|
+
optional: boolean;
|
1111
|
+
};
|
1112
|
+
};
|
1113
|
+
optional: boolean;
|
1114
|
+
};
|
1082
1115
|
content: {
|
1083
1116
|
type: string;
|
1084
|
-
items: string[];
|
1117
|
+
items: string[][];
|
1085
1118
|
minItems: number;
|
1086
|
-
allowUnsupportedBlock: boolean;
|
1087
1119
|
};
|
1088
1120
|
};
|
1089
|
-
}
|
1121
|
+
};
|
1090
1122
|
export declare const mediaGroup: {
|
1091
1123
|
props: {
|
1092
1124
|
type: {
|
@@ -1101,8 +1133,12 @@ export declare const mediaGroup: {
|
|
1101
1133
|
};
|
1102
1134
|
};
|
1103
1135
|
};
|
1104
|
-
export declare const
|
1136
|
+
export declare const blockquote: {
|
1105
1137
|
props: {
|
1138
|
+
type: {
|
1139
|
+
type: string;
|
1140
|
+
values: string[];
|
1141
|
+
};
|
1106
1142
|
content: {
|
1107
1143
|
type: string;
|
1108
1144
|
items: string[][];
|
@@ -1110,52 +1146,27 @@ export declare const blockquote_with_nested_codeblock_or_media: (string | {
|
|
1110
1146
|
allowUnsupportedBlock: boolean;
|
1111
1147
|
};
|
1112
1148
|
};
|
1113
|
-
}
|
1114
|
-
export declare const
|
1149
|
+
};
|
1150
|
+
export declare const blockquote_legacy: (string | {
|
1115
1151
|
props: {
|
1116
|
-
type: {
|
1117
|
-
type: string;
|
1118
|
-
values: string[];
|
1119
|
-
};
|
1120
|
-
attrs: {
|
1121
|
-
props: {
|
1122
|
-
localId: {
|
1123
|
-
type: string;
|
1124
|
-
};
|
1125
|
-
state: {
|
1126
|
-
type: string;
|
1127
|
-
};
|
1128
|
-
};
|
1129
|
-
};
|
1130
1152
|
content: {
|
1131
1153
|
type: string;
|
1132
1154
|
items: string[];
|
1133
|
-
|
1134
|
-
|
1155
|
+
minItems: number;
|
1156
|
+
allowUnsupportedBlock: boolean;
|
1135
1157
|
};
|
1136
1158
|
};
|
1137
|
-
};
|
1138
|
-
export declare const
|
1159
|
+
})[];
|
1160
|
+
export declare const blockquote_without_nested_codeblock_or_media: (string | {
|
1139
1161
|
props: {
|
1140
|
-
type: {
|
1141
|
-
type: string;
|
1142
|
-
values: string[];
|
1143
|
-
};
|
1144
|
-
attrs: {
|
1145
|
-
props: {
|
1146
|
-
localId: {
|
1147
|
-
type: string;
|
1148
|
-
};
|
1149
|
-
};
|
1150
|
-
};
|
1151
1162
|
content: {
|
1152
1163
|
type: string;
|
1153
|
-
items: string[];
|
1164
|
+
items: string[][];
|
1154
1165
|
minItems: number;
|
1155
1166
|
allowUnsupportedBlock: boolean;
|
1156
1167
|
};
|
1157
1168
|
};
|
1158
|
-
};
|
1169
|
+
})[];
|
1159
1170
|
export declare const embedCard: {
|
1160
1171
|
props: {
|
1161
1172
|
type: {
|
package/json-schema/v1/full.json
CHANGED
@@ -1293,6 +1293,62 @@
|
|
1293
1293
|
"additionalProperties": false,
|
1294
1294
|
"required": ["type", "attrs", "content"]
|
1295
1295
|
},
|
1296
|
+
"decisionItem_node": {
|
1297
|
+
"type": "object",
|
1298
|
+
"properties": {
|
1299
|
+
"type": {
|
1300
|
+
"enum": ["decisionItem"]
|
1301
|
+
},
|
1302
|
+
"attrs": {
|
1303
|
+
"type": "object",
|
1304
|
+
"properties": {
|
1305
|
+
"localId": {
|
1306
|
+
"type": "string"
|
1307
|
+
},
|
1308
|
+
"state": {
|
1309
|
+
"type": "string"
|
1310
|
+
}
|
1311
|
+
},
|
1312
|
+
"required": ["localId", "state"],
|
1313
|
+
"additionalProperties": false
|
1314
|
+
},
|
1315
|
+
"content": {
|
1316
|
+
"type": "array",
|
1317
|
+
"items": {
|
1318
|
+
"$ref": "#/definitions/inline_node"
|
1319
|
+
}
|
1320
|
+
}
|
1321
|
+
},
|
1322
|
+
"additionalProperties": false,
|
1323
|
+
"required": ["type", "attrs"]
|
1324
|
+
},
|
1325
|
+
"decisionList_node": {
|
1326
|
+
"type": "object",
|
1327
|
+
"properties": {
|
1328
|
+
"type": {
|
1329
|
+
"enum": ["decisionList"]
|
1330
|
+
},
|
1331
|
+
"attrs": {
|
1332
|
+
"type": "object",
|
1333
|
+
"properties": {
|
1334
|
+
"localId": {
|
1335
|
+
"type": "string"
|
1336
|
+
}
|
1337
|
+
},
|
1338
|
+
"required": ["localId"],
|
1339
|
+
"additionalProperties": false
|
1340
|
+
},
|
1341
|
+
"content": {
|
1342
|
+
"type": "array",
|
1343
|
+
"items": {
|
1344
|
+
"$ref": "#/definitions/decisionItem_node"
|
1345
|
+
},
|
1346
|
+
"minItems": 1
|
1347
|
+
}
|
1348
|
+
},
|
1349
|
+
"additionalProperties": false,
|
1350
|
+
"required": ["type", "attrs", "content"]
|
1351
|
+
},
|
1296
1352
|
"bulletList_node": {
|
1297
1353
|
"type": "object",
|
1298
1354
|
"properties": {
|
@@ -1394,33 +1450,6 @@
|
|
1394
1450
|
"additionalProperties": false,
|
1395
1451
|
"required": ["type", "content"]
|
1396
1452
|
},
|
1397
|
-
"blockquote_node": {
|
1398
|
-
"type": "object",
|
1399
|
-
"properties": {
|
1400
|
-
"type": {
|
1401
|
-
"enum": ["blockquote"]
|
1402
|
-
},
|
1403
|
-
"content": {
|
1404
|
-
"type": "array",
|
1405
|
-
"items": {
|
1406
|
-
"anyOf": [
|
1407
|
-
{
|
1408
|
-
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
1409
|
-
},
|
1410
|
-
{
|
1411
|
-
"$ref": "#/definitions/orderedList_node"
|
1412
|
-
},
|
1413
|
-
{
|
1414
|
-
"$ref": "#/definitions/bulletList_node"
|
1415
|
-
}
|
1416
|
-
]
|
1417
|
-
},
|
1418
|
-
"minItems": 1
|
1419
|
-
}
|
1420
|
-
},
|
1421
|
-
"additionalProperties": false,
|
1422
|
-
"required": ["type", "content"]
|
1423
|
-
},
|
1424
1453
|
"mediaGroup_node": {
|
1425
1454
|
"type": "object",
|
1426
1455
|
"properties": {
|
@@ -1438,61 +1467,44 @@
|
|
1438
1467
|
"additionalProperties": false,
|
1439
1468
|
"required": ["type", "content"]
|
1440
1469
|
},
|
1441
|
-
"
|
1442
|
-
"type": "object",
|
1443
|
-
"properties": {
|
1444
|
-
"type": {
|
1445
|
-
"enum": ["decisionItem"]
|
1446
|
-
},
|
1447
|
-
"attrs": {
|
1448
|
-
"type": "object",
|
1449
|
-
"properties": {
|
1450
|
-
"localId": {
|
1451
|
-
"type": "string"
|
1452
|
-
},
|
1453
|
-
"state": {
|
1454
|
-
"type": "string"
|
1455
|
-
}
|
1456
|
-
},
|
1457
|
-
"required": ["localId", "state"],
|
1458
|
-
"additionalProperties": false
|
1459
|
-
},
|
1460
|
-
"content": {
|
1461
|
-
"type": "array",
|
1462
|
-
"items": {
|
1463
|
-
"$ref": "#/definitions/inline_node"
|
1464
|
-
}
|
1465
|
-
}
|
1466
|
-
},
|
1467
|
-
"additionalProperties": false,
|
1468
|
-
"required": ["type", "attrs"]
|
1469
|
-
},
|
1470
|
-
"decisionList_node": {
|
1470
|
+
"blockquote_node": {
|
1471
1471
|
"type": "object",
|
1472
1472
|
"properties": {
|
1473
1473
|
"type": {
|
1474
|
-
"enum": ["
|
1475
|
-
},
|
1476
|
-
"attrs": {
|
1477
|
-
"type": "object",
|
1478
|
-
"properties": {
|
1479
|
-
"localId": {
|
1480
|
-
"type": "string"
|
1481
|
-
}
|
1482
|
-
},
|
1483
|
-
"required": ["localId"],
|
1484
|
-
"additionalProperties": false
|
1474
|
+
"enum": ["blockquote"]
|
1485
1475
|
},
|
1486
1476
|
"content": {
|
1487
1477
|
"type": "array",
|
1488
1478
|
"items": {
|
1489
|
-
"
|
1479
|
+
"anyOf": [
|
1480
|
+
{
|
1481
|
+
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
1482
|
+
},
|
1483
|
+
{
|
1484
|
+
"$ref": "#/definitions/orderedList_node"
|
1485
|
+
},
|
1486
|
+
{
|
1487
|
+
"$ref": "#/definitions/bulletList_node"
|
1488
|
+
},
|
1489
|
+
{
|
1490
|
+
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
1491
|
+
},
|
1492
|
+
{
|
1493
|
+
"$ref": "#/definitions/mediaGroup_node"
|
1494
|
+
},
|
1495
|
+
{
|
1496
|
+
"$ref": "#/definitions/mediaSingle_caption_node"
|
1497
|
+
},
|
1498
|
+
{
|
1499
|
+
"$ref": "#/definitions/mediaSingle_full_node"
|
1500
|
+
}
|
1501
|
+
]
|
1490
1502
|
},
|
1491
1503
|
"minItems": 1
|
1492
1504
|
}
|
1493
1505
|
},
|
1494
1506
|
"additionalProperties": false,
|
1495
|
-
"required": ["type", "
|
1507
|
+
"required": ["type", "content"]
|
1496
1508
|
},
|
1497
1509
|
"embedCard_node": {
|
1498
1510
|
"type": "object",
|