2020-09-07 09:46:23 +03:00
|
|
|
import { ParagraphJSON, BookmarkStartJSON, BookmarkEndJSON } from "./paragraph";
|
2020-02-13 09:14:06 +02:00
|
|
|
import { TableJSON } from "./table";
|
2020-10-12 11:51:28 +03:00
|
|
|
import { SectionPropertyJSON } from "./section-property";
|
2020-12-18 09:09:48 +02:00
|
|
|
import { CommentRangeStartJSON, CommentRangeEndJSON } from "..";
|
2022-10-14 12:49:20 +03:00
|
|
|
import { StructuredTagJSON } from "./structured-data-tag";
|
2020-02-13 09:14:06 +02:00
|
|
|
|
2020-09-07 09:46:23 +03:00
|
|
|
export type DocumentChildJSON =
|
|
|
|
| ParagraphJSON
|
|
|
|
| TableJSON
|
2020-12-18 09:09:48 +02:00
|
|
|
| CommentRangeStartJSON
|
|
|
|
| CommentRangeEndJSON
|
2020-09-07 09:46:23 +03:00
|
|
|
| BookmarkStartJSON
|
2022-10-14 12:49:20 +03:00
|
|
|
| BookmarkEndJSON
|
|
|
|
| StructuredTagJSON;
|
2020-02-13 09:14:06 +02:00
|
|
|
|
|
|
|
export type DocumentJSON = {
|
|
|
|
children: DocumentChildJSON[];
|
2020-10-12 11:51:28 +03:00
|
|
|
sectionProperty: SectionPropertyJSON;
|
2020-02-13 09:14:06 +02:00
|
|
|
hasNumbering: boolean;
|
|
|
|
};
|