20 lines
560 B
TypeScript
20 lines
560 B
TypeScript
import type { DocPageSetup } from "@/lib/drive/doc-page-setup"
|
|
import type { DocParagraphStylesCatalog } from "@/lib/drive/docs-paragraph-styles"
|
|
|
|
export type RichTextSessionResponse = {
|
|
roomId: string
|
|
canonicalPath: string
|
|
sourcePath?: string
|
|
wsUrl: string
|
|
token: string
|
|
mode: "edit" | "view"
|
|
importRequired: boolean
|
|
collaboration: boolean
|
|
documentUrl?: string
|
|
saveUrl?: string
|
|
pageSetup?: DocPageSetup | null
|
|
paragraphStyles?: DocParagraphStylesCatalog | null
|
|
}
|
|
|
|
export type RichTextSaveStatus = "saved" | "saving" | "error" | "idle"
|