@docen/extensions 0.0.10 → 0.0.12

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/dist/tiptap.d.mts CHANGED
@@ -1,3 +1,2 @@
1
- export { B as BackgroundColor, a as Blockquote, b as Bold, c as BulletList, C as Code, d as CodeBlockLowlight, e as Color, D as Details, f as DetailsContent, g as DetailsSummary, h as Document, E as Emoji, F as FontFamily, i as FontSize, j as HardBreak, z as Heading, k as Highlight, l as HorizontalRule, A as Image, m as Italic, L as LineHeight, n as Link, o as ListItem, M as Mention, O as OrderedList, G as Paragraph, S as Strike, p as Subscript, q as Superscript, r as Table, s as TableCell, t as TableHeader, J as TableRow, u as TaskItem, v as TaskList, w as Text, x as TextAlign, y as TextStyle, U as Underline } from './shared/extensions.IF9nv9tR.mjs';
2
- export { Mathematics } from '@tiptap/extension-mathematics';
3
- import './shared/extensions.BOBBi1Z_.mjs';
1
+ import { A as Superscript, B as Underline, C as ListItem, D as Paragraph, E as OrderedList, F as TaskItem, I as TaskList, L as Text, M as TableCell, N as TableHeader, O as Strike, P as TableRow, R as TextAlign, S as Link, T as Mention, _ as Highlight, a as Code, b as Italic, c as Details, d as Document, f as Emoji, g as Heading, h as HardBreak, i as BulletList, j as Table, k as Subscript, l as DetailsContent, m as FontSize, n as Blockquote, o as CodeBlockLowlight, p as FontFamily, r as Bold, s as Color, t as BackgroundColor, u as DetailsSummary, v as HorizontalRule, w as Mathematics, x as LineHeight, y as Image, z as TextStyle } from "./_chunks/tiptap-x0R9GhXd.mjs";
2
+ export { BackgroundColor, Blockquote, Bold, BulletList, Code, CodeBlockLowlight, Color, Details, DetailsContent, DetailsSummary, Document, Emoji, FontFamily, FontSize, HardBreak, Heading, Highlight, HorizontalRule, Image, Italic, LineHeight, Link, ListItem, Mathematics, Mention, OrderedList, Paragraph, Strike, Subscript, Superscript, Table, TableCell, TableHeader, TableRow, TaskItem, TaskList, Text, TextAlign, TextStyle, Underline };
package/dist/tiptap.mjs CHANGED
@@ -1 +1,31 @@
1
- export{B as BackgroundColor,a as Blockquote,b as Bold,c as BulletList,C as Code,d as CodeBlockLowlight,e as Color,D as Details,f as DetailsContent,g as DetailsSummary,h as Document,E as Emoji,F as FontFamily,i as FontSize,H as HardBreak,j as Heading,k as Highlight,l as HorizontalRule,I as Image,m as Italic,L as LineHeight,n as Link,o as ListItem,M as Mention,O as OrderedList,P as Paragraph,S as Strike,p as Subscript,q as Superscript,T as Table,r as TableCell,s as TableHeader,t as TableRow,u as TaskItem,v as TaskList,w as Text,x as TextAlign,y as TextStyle,U as Underline}from"./shared/extensions.ymUB12ul.mjs";export{Mathematics}from"@tiptap/extension-mathematics";
1
+ import { Document } from "@tiptap/extension-document";
2
+ import { Text } from "@tiptap/extension-text";
3
+ import { Paragraph } from "@tiptap/extension-paragraph";
4
+ import { Heading } from "@tiptap/extension-heading";
5
+ import { Blockquote } from "@tiptap/extension-blockquote";
6
+ import { HorizontalRule } from "@tiptap/extension-horizontal-rule";
7
+ import { CodeBlockLowlight } from "@tiptap/extension-code-block-lowlight";
8
+ import { BulletList } from "@tiptap/extension-bullet-list";
9
+ import { OrderedList } from "@tiptap/extension-ordered-list";
10
+ import { ListItem } from "@tiptap/extension-list-item";
11
+ import { TaskList } from "@tiptap/extension-task-list";
12
+ import { TaskItem } from "@tiptap/extension-task-item";
13
+ import { Table, TableCell, TableHeader, TableRow } from "@tiptap/extension-table";
14
+ import { Image } from "@tiptap/extension-image";
15
+ import { HardBreak } from "@tiptap/extension-hard-break";
16
+ import { Details, DetailsContent, DetailsSummary } from "@tiptap/extension-details";
17
+ import { Emoji } from "@tiptap/extension-emoji";
18
+ import { Mention } from "@tiptap/extension-mention";
19
+ import { Mathematics } from "@tiptap/extension-mathematics";
20
+ import { Bold } from "@tiptap/extension-bold";
21
+ import { Italic } from "@tiptap/extension-italic";
22
+ import { Underline } from "@tiptap/extension-underline";
23
+ import { Strike } from "@tiptap/extension-strike";
24
+ import { Code } from "@tiptap/extension-code";
25
+ import { Link } from "@tiptap/extension-link";
26
+ import { Highlight } from "@tiptap/extension-highlight";
27
+ import { Subscript } from "@tiptap/extension-subscript";
28
+ import { Superscript } from "@tiptap/extension-superscript";
29
+ import { BackgroundColor, Color, FontFamily, FontSize, LineHeight, TextStyle } from "@tiptap/extension-text-style";
30
+ import { TextAlign } from "@tiptap/extension-text-align";
31
+ export { BackgroundColor, Blockquote, Bold, BulletList, Code, CodeBlockLowlight, Color, Details, DetailsContent, DetailsSummary, Document, Emoji, FontFamily, FontSize, HardBreak, Heading, Highlight, HorizontalRule, Image, Italic, LineHeight, Link, ListItem, Mathematics, Mention, OrderedList, Paragraph, Strike, Subscript, Superscript, Table, TableCell, TableHeader, TableRow, TaskItem, TaskList, Text, TextAlign, TextStyle, Underline };
package/dist/types.d.mts CHANGED
@@ -1,385 +1,185 @@
1
- /// <reference types="node" />
2
- import { J as JSONContent } from './shared/extensions.BOBBi1Z_.mjs';
3
-
4
- declare const CompoundLine: {
5
- readonly SINGLE: "sng";
6
- readonly DOUBLE: "dbl";
7
- readonly THICK_THIN: "thickThin";
8
- readonly THIN_THICK: "thinThick";
9
- readonly TRI: "tri";
10
- };
11
-
12
- declare type CoreImageOptions = {
13
- readonly transformation: IMediaTransformation;
14
- readonly floating?: IFloating;
15
- readonly altText?: DocPropertiesOptions;
16
- readonly outline?: OutlineOptions;
17
- };
18
-
19
- declare type DocPropertiesOptions = {
20
- readonly name: string;
21
- readonly description?: string;
22
- readonly title?: string;
23
- };
24
-
25
- declare const HorizontalPositionAlign: {
26
- readonly CENTER: "center";
27
- readonly INSIDE: "inside";
28
- readonly LEFT: "left";
29
- readonly OUTSIDE: "outside";
30
- readonly RIGHT: "right";
31
- };
32
-
33
- declare const HorizontalPositionRelativeFrom: {
34
- readonly CHARACTER: "character";
35
- readonly COLUMN: "column";
36
- readonly INSIDE_MARGIN: "insideMargin";
37
- readonly LEFT_MARGIN: "leftMargin";
38
- readonly MARGIN: "margin";
39
- readonly OUTSIDE_MARGIN: "outsideMargin";
40
- readonly PAGE: "page";
41
- readonly RIGHT_MARGIN: "rightMargin";
42
- };
43
-
44
- declare type IDistance = {
45
- readonly distT?: number;
46
- readonly distB?: number;
47
- readonly distL?: number;
48
- readonly distR?: number;
49
- };
50
-
51
- declare type IFloating = {
52
- readonly horizontalPosition: IHorizontalPositionOptions;
53
- readonly verticalPosition: IVerticalPositionOptions;
54
- readonly allowOverlap?: boolean;
55
- readonly lockAnchor?: boolean;
56
- readonly behindDocument?: boolean;
57
- readonly layoutInCell?: boolean;
58
- readonly margins?: IMargins;
59
- readonly wrap?: ITextWrapping;
60
- readonly zIndex?: number;
61
- };
62
-
63
- declare type IHorizontalPositionOptions = {
64
- readonly relative?: (typeof HorizontalPositionRelativeFrom)[keyof typeof HorizontalPositionRelativeFrom];
65
- readonly align?: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
66
- readonly offset?: number;
67
- };
68
-
69
- declare type IImageOptions = (RegularImageOptions | SvgMediaOptions) & CoreImageOptions;
70
-
71
- declare type IMargins = {
72
- readonly left?: number;
73
- readonly bottom?: number;
74
- readonly top?: number;
75
- readonly right?: number;
76
- };
77
-
78
- declare type IMediaTransformation = {
79
- readonly width: number;
80
- readonly height: number;
81
- readonly flip?: {
82
- readonly vertical?: boolean;
83
- readonly horizontal?: boolean;
84
- };
85
- readonly rotation?: number;
86
- };
87
-
88
- declare type ITextWrapping = {
89
- readonly type: (typeof TextWrappingType)[keyof typeof TextWrappingType];
90
- readonly side?: (typeof TextWrappingSide)[keyof typeof TextWrappingSide];
91
- readonly margins?: IDistance;
92
- };
93
-
94
- declare type IVerticalPositionOptions = {
95
- readonly relative?: (typeof VerticalPositionRelativeFrom)[keyof typeof VerticalPositionRelativeFrom];
96
- readonly align?: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
97
- readonly offset?: number;
98
- };
99
-
100
- declare const LineCap: {
101
- readonly ROUND: "rnd";
102
- readonly SQUARE: "sq";
103
- readonly FLAT: "flat";
104
- };
105
-
106
- declare type OutlineAttributes = {
107
- readonly width?: number;
108
- readonly cap?: keyof typeof LineCap;
109
- readonly compoundLine?: keyof typeof CompoundLine;
110
- readonly align?: keyof typeof PenAlignment;
111
- };
112
-
113
- declare type OutlineFillProperties = OutlineNoFill | OutlineSolidFill;
114
-
115
- declare type OutlineNoFill = {
116
- readonly type: "noFill";
117
- };
118
-
119
- declare type OutlineOptions = OutlineAttributes & OutlineFillProperties;
120
-
121
- declare type OutlineRgbSolidFill = {
122
- readonly type: "solidFill";
123
- readonly solidFillType: "rgb";
124
- readonly value: string;
125
- };
126
-
127
- declare type OutlineSchemeSolidFill = {
128
- readonly type: "solidFill";
129
- readonly solidFillType: "scheme";
130
- readonly value: (typeof SchemeColor)[keyof typeof SchemeColor];
131
- };
132
-
133
- declare type OutlineSolidFill = OutlineRgbSolidFill | OutlineSchemeSolidFill;
134
-
135
- declare const PenAlignment: {
136
- readonly CENTER: "ctr";
137
- readonly INSET: "in";
138
- };
139
-
140
- declare type RegularImageOptions = {
141
- readonly type: "jpg" | "png" | "gif" | "bmp";
142
- readonly data: Buffer | string | Uint8Array | ArrayBuffer;
143
- };
144
-
145
- declare const SchemeColor: {
146
- readonly BG1: "bg1";
147
- readonly TX1: "tx1";
148
- readonly BG2: "bg2";
149
- readonly TX2: "tx2";
150
- readonly ACCENT1: "accent1";
151
- readonly ACCENT2: "accent2";
152
- readonly ACCENT3: "accent3";
153
- readonly ACCENT4: "accent4";
154
- readonly ACCENT5: "accent5";
155
- readonly ACCENT6: "accent6";
156
- readonly HLINK: "hlink";
157
- readonly FOLHLINK: "folHlink";
158
- readonly DK1: "dk1";
159
- readonly LT1: "lt1";
160
- readonly DK2: "dk2";
161
- readonly LT2: "lt2";
162
- readonly PHCLR: "phClr";
163
- };
164
-
165
- declare type SvgMediaOptions = {
166
- readonly type: "svg";
167
- readonly data: Buffer | string | Uint8Array | ArrayBuffer;
168
- readonly fallback: RegularImageOptions;
169
- };
170
-
171
- declare const TextWrappingSide: {
172
- readonly BOTH_SIDES: "bothSides";
173
- readonly LEFT: "left";
174
- readonly RIGHT: "right";
175
- readonly LARGEST: "largest";
176
- };
177
-
178
- declare const TextWrappingType: {
179
- readonly NONE: 0;
180
- readonly SQUARE: 1;
181
- readonly TIGHT: 2;
182
- readonly TOP_AND_BOTTOM: 3;
183
- };
184
-
185
- declare const VerticalPositionAlign: {
186
- readonly BOTTOM: "bottom";
187
- readonly CENTER: "center";
188
- readonly INSIDE: "inside";
189
- readonly OUTSIDE: "outside";
190
- readonly TOP: "top";
191
- };
192
-
193
- declare const VerticalPositionRelativeFrom: {
194
- readonly BOTTOM_MARGIN: "bottomMargin";
195
- readonly INSIDE_MARGIN: "insideMargin";
196
- readonly LINE: "line";
197
- readonly MARGIN: "margin";
198
- readonly OUTSIDE_MARGIN: "outsideMargin";
199
- readonly PAGE: "page";
200
- readonly PARAGRAPH: "paragraph";
201
- readonly TOP_MARGIN: "topMargin";
202
- };
1
+ import { JSONContent } from "@tiptap/core";
2
+ import { IFloating, IHorizontalPositionOptions, IImageOptions, IVerticalPositionOptions } from "docx";
203
3
 
4
+ //#region src/types.d.ts
204
5
  type ImageFloatingOptions = {
205
- horizontalPosition: IHorizontalPositionOptions;
206
- verticalPosition: IVerticalPositionOptions;
6
+ horizontalPosition: IHorizontalPositionOptions;
7
+ verticalPosition: IVerticalPositionOptions;
207
8
  } & Partial<Omit<IFloating, "horizontalPosition" | "verticalPosition">>;
208
9
  type ImageOutlineOptions = IImageOptions["outline"];
209
10
  interface TextNode {
210
- type: "text";
211
- text: string;
212
- marks?: Array<Mark>;
11
+ type: "text";
12
+ text: string;
13
+ marks?: Array<Mark>;
213
14
  }
214
15
  interface HardBreakNode {
215
- type: "hardBreak";
216
- marks?: Array<Mark>;
16
+ type: "hardBreak";
17
+ marks?: Array<Mark>;
217
18
  }
218
19
  interface Mark {
219
- type: "bold" | "italic" | "underline" | "strike" | "code" | "textStyle" | "link" | "highlight" | "subscript" | "superscript";
220
- attrs?: {
221
- color?: string;
222
- backgroundColor?: string;
223
- fontSize?: string;
224
- fontFamily?: string;
225
- lineHeight?: string;
226
- href?: string;
227
- target?: string;
228
- rel?: string;
229
- class?: string | null;
230
- [key: string]: unknown;
231
- };
20
+ type: "bold" | "italic" | "underline" | "strike" | "code" | "textStyle" | "link" | "highlight" | "subscript" | "superscript";
21
+ attrs?: {
22
+ color?: string;
23
+ backgroundColor?: string;
24
+ fontSize?: string;
25
+ fontFamily?: string;
26
+ lineHeight?: string;
27
+ href?: string;
28
+ target?: string;
29
+ rel?: string;
30
+ class?: string | null;
31
+ [key: string]: unknown;
32
+ };
232
33
  }
233
34
  interface DocumentNode extends JSONContent {
234
- type: "doc";
235
- content?: Array<BlockNode>;
35
+ type: "doc";
36
+ content?: Array<BlockNode>;
236
37
  }
237
38
  interface ParagraphNode extends JSONContent {
238
- type: "paragraph";
239
- attrs?: {
240
- textAlign?: "left" | "center" | "right" | "justify";
241
- indentLeft?: string;
242
- indentRight?: string;
243
- indentFirstLine?: string;
244
- spacingBefore?: string;
245
- spacingAfter?: string;
246
- };
247
- content?: Array<TextNode | HardBreakNode | ImageNode>;
39
+ type: "paragraph";
40
+ attrs?: {
41
+ textAlign?: "left" | "center" | "right" | "justify";
42
+ indentLeft?: string;
43
+ indentRight?: string;
44
+ indentFirstLine?: string;
45
+ spacingBefore?: string;
46
+ spacingAfter?: string;
47
+ };
48
+ content?: Array<TextNode | HardBreakNode | ImageNode>;
248
49
  }
249
50
  interface HeadingNode extends JSONContent {
250
- type: "heading";
251
- attrs: {
252
- level: 1 | 2 | 3 | 4 | 5 | 6;
253
- indentLeft?: string;
254
- indentRight?: string;
255
- indentFirstLine?: string;
256
- spacingBefore?: string;
257
- spacingAfter?: string;
258
- textAlign?: "left" | "right" | "center" | "justify";
259
- };
260
- content?: Array<TextNode | HardBreakNode>;
51
+ type: "heading";
52
+ attrs: {
53
+ level: 1 | 2 | 3 | 4 | 5 | 6;
54
+ indentLeft?: string;
55
+ indentRight?: string;
56
+ indentFirstLine?: string;
57
+ spacingBefore?: string;
58
+ spacingAfter?: string;
59
+ textAlign?: "left" | "right" | "center" | "justify";
60
+ };
61
+ content?: Array<TextNode | HardBreakNode>;
261
62
  }
262
63
  interface BlockquoteNode extends JSONContent {
263
- type: "blockquote";
264
- content?: Array<ParagraphNode>;
64
+ type: "blockquote";
65
+ content?: Array<ParagraphNode>;
265
66
  }
266
67
  interface CodeBlockNode extends JSONContent {
267
- type: "codeBlock";
268
- attrs?: {
269
- language?: string;
270
- };
271
- content?: Array<TextNode>;
68
+ type: "codeBlock";
69
+ attrs?: {
70
+ language?: string;
71
+ };
72
+ content?: Array<TextNode>;
272
73
  }
273
74
  interface HorizontalRuleNode extends JSONContent {
274
- type: "horizontalRule";
75
+ type: "horizontalRule";
275
76
  }
276
77
  interface BulletListNode extends JSONContent {
277
- type: "bulletList";
278
- content?: Array<ListItemNode>;
78
+ type: "bulletList";
79
+ content?: Array<ListItemNode>;
279
80
  }
280
81
  interface OrderedListNode extends JSONContent {
281
- type: "orderedList";
282
- attrs?: {
283
- start?: number;
284
- order?: number;
285
- type?: string | null;
286
- };
287
- content?: Array<ListItemNode>;
82
+ type: "orderedList";
83
+ attrs?: {
84
+ start?: number;
85
+ order?: number;
86
+ type?: string | null;
87
+ };
88
+ content?: Array<ListItemNode>;
288
89
  }
289
90
  interface TaskListNode extends JSONContent {
290
- type: "taskList";
291
- content?: Array<TaskItemNode>;
91
+ type: "taskList";
92
+ content?: Array<TaskItemNode>;
292
93
  }
293
94
  interface ListItemNode extends JSONContent {
294
- type: "listItem";
295
- content?: Array<ParagraphNode>;
95
+ type: "listItem";
96
+ content?: Array<ParagraphNode>;
296
97
  }
297
98
  interface TaskItemNode extends JSONContent {
298
- type: "taskItem";
299
- attrs?: {
300
- checked?: boolean;
301
- };
302
- content?: Array<ParagraphNode>;
99
+ type: "taskItem";
100
+ attrs?: {
101
+ checked?: boolean;
102
+ };
103
+ content?: Array<ParagraphNode>;
303
104
  }
304
105
  interface TableCellBorder {
305
- color?: string;
306
- width?: number;
307
- style?: "solid" | "dashed" | "dotted" | "double" | "none";
106
+ color?: string;
107
+ width?: number;
108
+ style?: "solid" | "dashed" | "dotted" | "double" | "none";
308
109
  }
309
110
  interface TableNode extends JSONContent {
310
- type: "table";
311
- attrs?: {
312
- marginTop?: number | null;
313
- marginBottom?: number | null;
314
- marginLeft?: number | null;
315
- marginRight?: number | null;
316
- };
317
- content?: Array<TableRowNode>;
111
+ type: "table";
112
+ attrs?: {
113
+ marginTop?: number | null;
114
+ marginBottom?: number | null;
115
+ marginLeft?: number | null;
116
+ marginRight?: number | null;
117
+ };
118
+ content?: Array<TableRowNode>;
318
119
  }
319
120
  interface TableRowNode extends JSONContent {
320
- type: "tableRow";
321
- attrs?: {
322
- rowHeight?: string | null;
323
- };
324
- content?: Array<TableCellNode | TableHeaderNode>;
121
+ type: "tableRow";
122
+ attrs?: {
123
+ rowHeight?: string | null;
124
+ };
125
+ content?: Array<TableCellNode | TableHeaderNode>;
325
126
  }
326
127
  interface TableCellNode extends JSONContent {
327
- type: "tableCell";
328
- attrs?: {
329
- colspan?: number;
330
- rowspan?: number;
331
- colwidth?: number[] | null;
332
- backgroundColor?: string | null;
333
- verticalAlign?: "top" | "middle" | "bottom" | null;
334
- borderTop?: TableCellBorder | null;
335
- borderBottom?: TableCellBorder | null;
336
- borderLeft?: TableCellBorder | null;
337
- borderRight?: TableCellBorder | null;
338
- };
339
- content?: Array<ParagraphNode>;
128
+ type: "tableCell";
129
+ attrs?: {
130
+ colspan?: number;
131
+ rowspan?: number;
132
+ colwidth?: number[] | null;
133
+ backgroundColor?: string | null;
134
+ verticalAlign?: "top" | "middle" | "bottom" | null;
135
+ borderTop?: TableCellBorder | null;
136
+ borderBottom?: TableCellBorder | null;
137
+ borderLeft?: TableCellBorder | null;
138
+ borderRight?: TableCellBorder | null;
139
+ };
140
+ content?: Array<ParagraphNode>;
340
141
  }
341
142
  interface TableHeaderNode extends JSONContent {
342
- type: "tableHeader";
343
- attrs?: {
344
- colspan?: number;
345
- rowspan?: number;
346
- colwidth?: number[] | null;
347
- backgroundColor?: string | null;
348
- verticalAlign?: "top" | "middle" | "bottom" | null;
349
- borderTop?: TableCellBorder | null;
350
- borderBottom?: TableCellBorder | null;
351
- borderLeft?: TableCellBorder | null;
352
- borderRight?: TableCellBorder | null;
353
- };
354
- content?: Array<ParagraphNode>;
143
+ type: "tableHeader";
144
+ attrs?: {
145
+ colspan?: number;
146
+ rowspan?: number;
147
+ colwidth?: number[] | null;
148
+ backgroundColor?: string | null;
149
+ verticalAlign?: "top" | "middle" | "bottom" | null;
150
+ borderTop?: TableCellBorder | null;
151
+ borderBottom?: TableCellBorder | null;
152
+ borderLeft?: TableCellBorder | null;
153
+ borderRight?: TableCellBorder | null;
154
+ };
155
+ content?: Array<ParagraphNode>;
355
156
  }
356
157
  interface ImageNode extends JSONContent {
357
- type: "image";
358
- attrs?: {
359
- src: string;
360
- alt?: string | null;
361
- title?: string | null;
362
- width?: number | null;
363
- height?: number | null;
364
- rotation?: number;
365
- floating?: ImageFloatingOptions;
366
- outline?: ImageOutlineOptions;
367
- };
158
+ type: "image";
159
+ attrs?: {
160
+ src: string;
161
+ alt?: string | null;
162
+ title?: string | null;
163
+ width?: number | null;
164
+ height?: number | null;
165
+ rotation?: number;
166
+ floating?: ImageFloatingOptions;
167
+ outline?: ImageOutlineOptions;
168
+ };
368
169
  }
369
170
  interface DetailsNode extends JSONContent {
370
- type: "details";
371
- content?: Array<DetailsSummaryNode | DetailsContentNode>;
171
+ type: "details";
172
+ content?: Array<DetailsSummaryNode | DetailsContentNode>;
372
173
  }
373
174
  interface DetailsSummaryNode extends JSONContent {
374
- type: "detailsSummary";
375
- content?: Array<TextNode | HardBreakNode>;
175
+ type: "detailsSummary";
176
+ content?: Array<TextNode | HardBreakNode>;
376
177
  }
377
178
  interface DetailsContentNode extends JSONContent {
378
- type: "detailsContent";
379
- content?: Array<BlockNode>;
179
+ type: "detailsContent";
180
+ content?: Array<BlockNode>;
380
181
  }
381
182
  type TextContent = TextNode | HardBreakNode;
382
183
  type BlockNode = ParagraphNode | HeadingNode | BlockquoteNode | CodeBlockNode | HorizontalRuleNode | BulletListNode | OrderedListNode | TaskListNode | TableNode | ImageNode | DetailsNode;
383
-
384
- export { JSONContent };
385
- export type { BlockNode, BlockquoteNode, BulletListNode, CodeBlockNode, DetailsContentNode, DetailsNode, DetailsSummaryNode, DocumentNode, HardBreakNode, HeadingNode, HorizontalRuleNode, ImageFloatingOptions, ImageNode, ImageOutlineOptions, ListItemNode, Mark, OrderedListNode, ParagraphNode, TableCellBorder, TableCellNode, TableHeaderNode, TableNode, TableRowNode, TaskItemNode, TaskListNode, TextContent, TextNode };
184
+ //#endregion
185
+ export { BlockNode, BlockquoteNode, BulletListNode, CodeBlockNode, DetailsContentNode, DetailsNode, DetailsSummaryNode, DocumentNode, HardBreakNode, HeadingNode, HorizontalRuleNode, ImageFloatingOptions, ImageNode, ImageOutlineOptions, type JSONContent, ListItemNode, Mark, OrderedListNode, ParagraphNode, TableCellBorder, TableCellNode, TableHeaderNode, TableNode, TableRowNode, TaskItemNode, TaskListNode, TextContent, TextNode };
package/dist/types.mjs CHANGED
@@ -1 +1 @@
1
-
1
+ export {};