feat: Add import/export of documents as JSON (#4621)
* feat: Add export of documents as JSON * Rename, add structured collection description * stash * ui * Add entity creation data to JSON archive * Import JSON UI plumbing * stash * Messy, but working * tsc * tsc
This commit is contained in:
@@ -14,9 +14,10 @@ export enum ExportContentType {
|
||||
}
|
||||
|
||||
export enum FileOperationFormat {
|
||||
JSON = "json",
|
||||
MarkdownZip = "outline-markdown",
|
||||
HTMLZip = "html",
|
||||
PDFZip = "pdf",
|
||||
PDF = "pdf",
|
||||
Notion = "notion",
|
||||
}
|
||||
|
||||
@@ -134,3 +135,8 @@ export type NavigationNode = {
|
||||
parent?: NavigationNode | null;
|
||||
depth?: number;
|
||||
};
|
||||
|
||||
export type CollectionSort = {
|
||||
field: string;
|
||||
direction: "asc" | "desc";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user