@atlaskit/adf-schema 37.0.3 → 37.1.20

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.
Files changed (155) hide show
  1. package/CHANGELOG.md +153 -0
  2. package/dist/cjs/next-schema/full-schema.adf.js +1 -1
  3. package/dist/cjs/next-schema/generated/nodeTypes.js +101 -31
  4. package/dist/cjs/next-schema/groups/blockGroup.js +1 -1
  5. package/dist/cjs/next-schema/groups/inlineGroup.js +1 -1
  6. package/dist/cjs/next-schema/index.js +20 -8
  7. package/dist/cjs/next-schema/marks/link.js +2 -1
  8. package/dist/cjs/next-schema/nodes/blockquote.js +3 -2
  9. package/dist/cjs/next-schema/nodes/bodiedExtension.js +6 -2
  10. package/dist/cjs/next-schema/nodes/codeBlock.js +10 -3
  11. package/dist/cjs/next-schema/nodes/date.js +2 -1
  12. package/dist/cjs/next-schema/nodes/embedCard.js +2 -1
  13. package/dist/cjs/next-schema/nodes/emoji.js +2 -1
  14. package/dist/cjs/next-schema/nodes/expand.js +11 -3
  15. package/dist/cjs/next-schema/nodes/extension.js +5 -2
  16. package/dist/cjs/next-schema/nodes/heading.js +28 -5
  17. package/dist/cjs/next-schema/nodes/inlineExtension.js +1 -0
  18. package/dist/cjs/next-schema/nodes/layoutSection.js +15 -2
  19. package/dist/cjs/next-schema/nodes/list.js +12 -9
  20. package/dist/cjs/next-schema/nodes/mediaInline.js +2 -1
  21. package/dist/cjs/next-schema/nodes/mediaSingle.js +75 -4
  22. package/dist/cjs/next-schema/nodes/mention.js +2 -1
  23. package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +8 -4
  24. package/dist/cjs/next-schema/nodes/nestedExpand.js +5 -1
  25. package/dist/cjs/next-schema/nodes/panel.js +3 -0
  26. package/dist/cjs/next-schema/nodes/paragraph.js +29 -5
  27. package/dist/cjs/next-schema/nodes/status.js +2 -1
  28. package/dist/cjs/next-schema/nodes/tableCell.js +4 -1
  29. package/dist/cjs/next-schema/nodes/tableHeader.js +5 -2
  30. package/dist/cjs/next-schema/nodes/task.js +1 -0
  31. package/dist/cjs/next-schema/nodes/text.js +7 -1
  32. package/dist/cjs/schema/nodes/media.js +10 -4
  33. package/dist/cjs/schema/nodes/text.js +1 -0
  34. package/dist/es2019/next-schema/full-schema.adf.js +1 -1
  35. package/dist/es2019/next-schema/generated/nodeTypes.js +100 -30
  36. package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
  37. package/dist/es2019/next-schema/groups/inlineGroup.js +1 -1
  38. package/dist/es2019/next-schema/index.js +1 -1
  39. package/dist/es2019/next-schema/marks/link.js +2 -1
  40. package/dist/es2019/next-schema/nodes/blockquote.js +3 -2
  41. package/dist/es2019/next-schema/nodes/bodiedExtension.js +6 -2
  42. package/dist/es2019/next-schema/nodes/codeBlock.js +10 -3
  43. package/dist/es2019/next-schema/nodes/date.js +2 -1
  44. package/dist/es2019/next-schema/nodes/embedCard.js +2 -1
  45. package/dist/es2019/next-schema/nodes/emoji.js +2 -1
  46. package/dist/es2019/next-schema/nodes/expand.js +11 -3
  47. package/dist/es2019/next-schema/nodes/extension.js +5 -2
  48. package/dist/es2019/next-schema/nodes/heading.js +27 -4
  49. package/dist/es2019/next-schema/nodes/inlineExtension.js +1 -0
  50. package/dist/es2019/next-schema/nodes/layoutSection.js +15 -2
  51. package/dist/es2019/next-schema/nodes/list.js +12 -9
  52. package/dist/es2019/next-schema/nodes/mediaInline.js +2 -1
  53. package/dist/es2019/next-schema/nodes/mediaSingle.js +76 -5
  54. package/dist/es2019/next-schema/nodes/mention.js +2 -1
  55. package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +8 -4
  56. package/dist/es2019/next-schema/nodes/nestedExpand.js +5 -1
  57. package/dist/es2019/next-schema/nodes/panel.js +3 -0
  58. package/dist/es2019/next-schema/nodes/paragraph.js +29 -5
  59. package/dist/es2019/next-schema/nodes/status.js +2 -1
  60. package/dist/es2019/next-schema/nodes/tableCell.js +4 -1
  61. package/dist/es2019/next-schema/nodes/tableHeader.js +5 -2
  62. package/dist/es2019/next-schema/nodes/task.js +1 -0
  63. package/dist/es2019/next-schema/nodes/text.js +7 -1
  64. package/dist/es2019/schema/nodes/media.js +3 -1
  65. package/dist/es2019/schema/nodes/text.js +1 -0
  66. package/dist/esm/next-schema/full-schema.adf.js +1 -1
  67. package/dist/esm/next-schema/generated/nodeTypes.js +100 -30
  68. package/dist/esm/next-schema/groups/blockGroup.js +1 -1
  69. package/dist/esm/next-schema/groups/inlineGroup.js +1 -1
  70. package/dist/esm/next-schema/index.js +1 -1
  71. package/dist/esm/next-schema/marks/link.js +2 -1
  72. package/dist/esm/next-schema/nodes/blockquote.js +3 -2
  73. package/dist/esm/next-schema/nodes/bodiedExtension.js +6 -2
  74. package/dist/esm/next-schema/nodes/codeBlock.js +10 -3
  75. package/dist/esm/next-schema/nodes/date.js +2 -1
  76. package/dist/esm/next-schema/nodes/embedCard.js +2 -1
  77. package/dist/esm/next-schema/nodes/emoji.js +2 -1
  78. package/dist/esm/next-schema/nodes/expand.js +11 -3
  79. package/dist/esm/next-schema/nodes/extension.js +5 -2
  80. package/dist/esm/next-schema/nodes/heading.js +27 -4
  81. package/dist/esm/next-schema/nodes/inlineExtension.js +1 -0
  82. package/dist/esm/next-schema/nodes/layoutSection.js +15 -2
  83. package/dist/esm/next-schema/nodes/list.js +12 -9
  84. package/dist/esm/next-schema/nodes/mediaInline.js +2 -1
  85. package/dist/esm/next-schema/nodes/mediaSingle.js +76 -5
  86. package/dist/esm/next-schema/nodes/mention.js +2 -1
  87. package/dist/esm/next-schema/nodes/multiBodiedExtension.js +8 -4
  88. package/dist/esm/next-schema/nodes/nestedExpand.js +5 -1
  89. package/dist/esm/next-schema/nodes/panel.js +3 -0
  90. package/dist/esm/next-schema/nodes/paragraph.js +29 -5
  91. package/dist/esm/next-schema/nodes/status.js +2 -1
  92. package/dist/esm/next-schema/nodes/tableCell.js +4 -1
  93. package/dist/esm/next-schema/nodes/tableHeader.js +5 -2
  94. package/dist/esm/next-schema/nodes/task.js +1 -0
  95. package/dist/esm/next-schema/nodes/text.js +7 -1
  96. package/dist/esm/schema/nodes/media.js +9 -4
  97. package/dist/esm/schema/nodes/text.js +1 -0
  98. package/dist/types/next-schema/full-schema.adf.d.ts +18 -0
  99. package/dist/types/next-schema/generated/markTypes.d.ts +20 -20
  100. package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +2 -2
  101. package/dist/types/next-schema/generated/nodeTypes.d.ts +145 -96
  102. package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +128 -6
  103. package/dist/types/next-schema/index.d.ts +2 -2
  104. package/dist/types/next-schema/nodes/blockCard.d.ts +18 -0
  105. package/dist/types/next-schema/nodes/blockquote.d.ts +20 -1
  106. package/dist/types/next-schema/nodes/bodiedExtension.d.ts +20 -0
  107. package/dist/types/next-schema/nodes/caption.d.ts +18 -0
  108. package/dist/types/next-schema/nodes/codeBlock.d.ts +48 -0
  109. package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +18 -0
  110. package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +18 -0
  111. package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +18 -0
  112. package/dist/types/next-schema/nodes/date.d.ts +18 -0
  113. package/dist/types/next-schema/nodes/decisionItem.d.ts +18 -0
  114. package/dist/types/next-schema/nodes/decisionList.d.ts +18 -0
  115. package/dist/types/next-schema/nodes/embedCard.d.ts +18 -0
  116. package/dist/types/next-schema/nodes/emoji.d.ts +18 -0
  117. package/dist/types/next-schema/nodes/expand.d.ts +25 -0
  118. package/dist/types/next-schema/nodes/extension.d.ts +19 -0
  119. package/dist/types/next-schema/nodes/extensionFrame.d.ts +18 -0
  120. package/dist/types/next-schema/nodes/hardBreak.d.ts +18 -0
  121. package/dist/types/next-schema/nodes/heading.d.ts +80 -0
  122. package/dist/types/next-schema/nodes/image.d.ts +18 -0
  123. package/dist/types/next-schema/nodes/inlineCard.d.ts +18 -0
  124. package/dist/types/next-schema/nodes/inlineExtension.d.ts +18 -0
  125. package/dist/types/next-schema/nodes/layoutColumn.d.ts +18 -0
  126. package/dist/types/next-schema/nodes/layoutSection.d.ts +22 -0
  127. package/dist/types/next-schema/nodes/list.d.ts +36 -0
  128. package/dist/types/next-schema/nodes/media.d.ts +18 -0
  129. package/dist/types/next-schema/nodes/mediaGroup.d.ts +18 -0
  130. package/dist/types/next-schema/nodes/mediaInline.d.ts +18 -0
  131. package/dist/types/next-schema/nodes/mediaSingle.d.ts +67 -1
  132. package/dist/types/next-schema/nodes/mention.d.ts +18 -0
  133. package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +18 -0
  134. package/dist/types/next-schema/nodes/nestedExpand.d.ts +22 -0
  135. package/dist/types/next-schema/nodes/panel.d.ts +22 -1
  136. package/dist/types/next-schema/nodes/paragraph.d.ts +29 -0
  137. package/dist/types/next-schema/nodes/placeholder.d.ts +18 -0
  138. package/dist/types/next-schema/nodes/rule.d.ts +18 -0
  139. package/dist/types/next-schema/nodes/status.d.ts +18 -0
  140. package/dist/types/next-schema/nodes/table.d.ts +18 -0
  141. package/dist/types/next-schema/nodes/tableCell.d.ts +18 -0
  142. package/dist/types/next-schema/nodes/tableHeader.d.ts +18 -0
  143. package/dist/types/next-schema/nodes/tableRow.d.ts +18 -0
  144. package/dist/types/next-schema/nodes/task.d.ts +36 -0
  145. package/dist/types/next-schema/nodes/text.d.ts +22 -1
  146. package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +18 -0
  147. package/dist/types/next-schema/nodes/unsupportedInline.d.ts +18 -0
  148. package/package.json +8 -3
  149. package/schema-generators/__tests__/unit/__fixtures__/index.fixture.ts +140 -0
  150. package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +1 -45
  151. package/schema-generators/__tests__/unit/adfToValidatorSpecValidation.unit.ts +85 -0
  152. package/schema-generators/__tests__/unit/json-full-schema-backwards-compat.unit.ts +70 -61
  153. package/schema-generators/__tests__/unit/validate-pm-schema.unit.ts +152 -46
  154. package/schema-generators/__tests__/unit/jqueries.md +0 -194
  155. package/schema-generators/__tests__/unit/json-full-schema.unit.ts +0 -2320
@@ -7,6 +7,8 @@ export declare const embedCard: import("@atlaskit/adf-schema-generator/dist/type
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,7 +18,23 @@ export declare const embedCard: import("@atlaskit/adf-schema-generator/dist/type
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  }>;
@@ -7,6 +7,8 @@ export declare const emoji: import("@atlaskit/adf-schema-generator/dist/types/ad
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,7 +18,23 @@ export declare const emoji: import("@atlaskit/adf-schema-generator/dist/types/ad
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  }>;
@@ -7,6 +7,8 @@ export declare const expand: import("@atlaskit/adf-schema-generator/dist/types/a
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,9 +18,32 @@ export declare const expand: import("@atlaskit/adf-schema-generator/dist/types/a
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  } & {
23
41
  marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
42
+ content: any[];
43
+ ignore: "pm-spec"[];
44
+ } & {
45
+ content: any[];
46
+ marks: any[];
47
+ noMarks: true;
48
+ ignore: any[];
24
49
  }>;
@@ -7,6 +7,8 @@ export declare const extension: import("@atlaskit/adf-schema-generator/dist/type
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,9 +18,26 @@ export declare const extension: import("@atlaskit/adf-schema-generator/dist/type
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  } & {
23
41
  marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
42
+ ignore: any[];
24
43
  }>;
@@ -7,6 +7,8 @@ export declare const extensionFrame: import("@atlaskit/adf-schema-generator/dist
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,7 +18,23 @@ export declare const extensionFrame: import("@atlaskit/adf-schema-generator/dist
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  }>;
@@ -7,6 +7,8 @@ export declare const hardBreak: import("@atlaskit/adf-schema-generator/dist/type
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,7 +18,23 @@ export declare const hardBreak: import("@atlaskit/adf-schema-generator/dist/type
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  }>;
@@ -7,6 +7,8 @@ export declare const heading: import("@atlaskit/adf-schema-generator/dist/types/
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,11 +18,89 @@ export declare const heading: import("@atlaskit/adf-schema-generator/dist/types/
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  } & {
23
41
  marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
42
+ content: any[];
43
+ ignore: any[];
24
44
  } & {
25
45
  marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
46
+ content: any[];
47
+ ignore: any[];
48
+ } & {
49
+ content: any[];
50
+ marks: any[];
51
+ noMarks: true;
52
+ ignore: any[];
53
+ }>;
54
+ export declare const headingWithMarks: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_alignment", "with_indentation", "with_no_marks"], {
55
+ ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
56
+ root?: boolean;
57
+ atom?: boolean;
58
+ version?: 1;
59
+ attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
60
+ inline?: true;
61
+ code?: boolean;
62
+ content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
63
+ contentMinItems?: number;
64
+ contentMaxItems?: number;
65
+ defining?: boolean;
66
+ definingAsContext?: boolean;
67
+ definingForContent?: boolean;
68
+ draggable?: boolean;
69
+ group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
70
+ isolating?: boolean;
71
+ marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
72
+ allowAnyChildMark?: boolean;
73
+ allowNoChildMark?: boolean;
74
+ noMarks?: boolean;
75
+ hasEmptyMarks?: boolean;
76
+ selectable?: boolean;
77
+ whitespace?: "pre" | "normal";
78
+ tableRole?: "table" | "row" | "cell" | "header_cell";
79
+ DANGEROUS_MANUAL_OVERRIDE?: {
80
+ 'pm-spec'?: {
81
+ [x: string]: {
82
+ value: any;
83
+ reason: string;
84
+ };
85
+ };
86
+ 'validator-spec'?: {
87
+ [x: string]: {
88
+ value: any;
89
+ reason: string;
90
+ };
91
+ };
92
+ };
93
+ } & {
94
+ marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
95
+ content: any[];
96
+ ignore: any[];
97
+ } & {
98
+ marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
99
+ content: any[];
100
+ ignore: any[];
101
+ } & {
102
+ content: any[];
103
+ marks: any[];
104
+ noMarks: true;
105
+ ignore: any[];
26
106
  }>;
@@ -7,6 +7,8 @@ export declare const image: import("@atlaskit/adf-schema-generator/dist/types/ad
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,7 +18,23 @@ export declare const image: import("@atlaskit/adf-schema-generator/dist/types/ad
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  }>;
@@ -7,6 +7,8 @@ export declare const inlineCard: import("@atlaskit/adf-schema-generator/dist/typ
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,9 +18,25 @@ export declare const inlineCard: import("@atlaskit/adf-schema-generator/dist/typ
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  } & {
23
41
  marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
24
42
  }>;
@@ -7,6 +7,8 @@ export declare const inlineExtension: import("@atlaskit/adf-schema-generator/dis
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,9 +18,25 @@ export declare const inlineExtension: import("@atlaskit/adf-schema-generator/dis
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  } & {
23
41
  marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
24
42
  }>;
@@ -7,6 +7,8 @@ export declare const layoutColumn: import("@atlaskit/adf-schema-generator/dist/t
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,7 +18,23 @@ export declare const layoutColumn: import("@atlaskit/adf-schema-generator/dist/t
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  }>;
@@ -7,6 +7,8 @@ export declare const layoutSection: import("@atlaskit/adf-schema-generator/dist/
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,7 +18,27 @@ export declare const layoutSection: import("@atlaskit/adf-schema-generator/dist/
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
40
+ } & {
41
+ marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
42
+ content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentRangeSpec[];
43
+ ignore: any[];
22
44
  }>;
@@ -7,6 +7,8 @@ export declare const orderedList: import("@atlaskit/adf-schema-generator/dist/ty
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,9 +18,25 @@ export declare const orderedList: import("@atlaskit/adf-schema-generator/dist/ty
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  }>;
23
41
  export declare const bulletList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
24
42
  ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
@@ -29,6 +47,8 @@ export declare const bulletList: import("@atlaskit/adf-schema-generator/dist/typ
29
47
  inline?: true;
30
48
  code?: boolean;
31
49
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
50
+ contentMinItems?: number;
51
+ contentMaxItems?: number;
32
52
  defining?: boolean;
33
53
  definingAsContext?: boolean;
34
54
  definingForContent?: boolean;
@@ -38,7 +58,23 @@ export declare const bulletList: import("@atlaskit/adf-schema-generator/dist/typ
38
58
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
39
59
  allowAnyChildMark?: boolean;
40
60
  allowNoChildMark?: boolean;
61
+ noMarks?: boolean;
62
+ hasEmptyMarks?: boolean;
41
63
  selectable?: boolean;
42
64
  whitespace?: "pre" | "normal";
43
65
  tableRole?: "table" | "row" | "cell" | "header_cell";
66
+ DANGEROUS_MANUAL_OVERRIDE?: {
67
+ 'pm-spec'?: {
68
+ [x: string]: {
69
+ value: any;
70
+ reason: string;
71
+ };
72
+ };
73
+ 'validator-spec'?: {
74
+ [x: string]: {
75
+ value: any;
76
+ reason: string;
77
+ };
78
+ };
79
+ };
44
80
  }>;
@@ -7,6 +7,8 @@ export declare const media: import("@atlaskit/adf-schema-generator/dist/types/ad
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,7 +18,23 @@ export declare const media: import("@atlaskit/adf-schema-generator/dist/types/ad
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  }>;
@@ -7,6 +7,8 @@ export declare const mediaGroup: import("@atlaskit/adf-schema-generator/dist/typ
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,7 +18,23 @@ export declare const mediaGroup: import("@atlaskit/adf-schema-generator/dist/typ
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  }>;
@@ -7,6 +7,8 @@ export declare const mediaInline: import("@atlaskit/adf-schema-generator/dist/ty
7
7
  inline?: true;
8
8
  code?: boolean;
9
9
  content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
10
+ contentMinItems?: number;
11
+ contentMaxItems?: number;
10
12
  defining?: boolean;
11
13
  definingAsContext?: boolean;
12
14
  definingForContent?: boolean;
@@ -16,7 +18,23 @@ export declare const mediaInline: import("@atlaskit/adf-schema-generator/dist/ty
16
18
  marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
17
19
  allowAnyChildMark?: boolean;
18
20
  allowNoChildMark?: boolean;
21
+ noMarks?: boolean;
22
+ hasEmptyMarks?: boolean;
19
23
  selectable?: boolean;
20
24
  whitespace?: "pre" | "normal";
21
25
  tableRole?: "table" | "row" | "cell" | "header_cell";
26
+ DANGEROUS_MANUAL_OVERRIDE?: {
27
+ 'pm-spec'?: {
28
+ [x: string]: {
29
+ value: any;
30
+ reason: string;
31
+ };
32
+ };
33
+ 'validator-spec'?: {
34
+ [x: string]: {
35
+ value: any;
36
+ reason: string;
37
+ };
38
+ };
39
+ };
22
40
  }>;