18 lines
424 B
TypeScript
18 lines
424 B
TypeScript
import type { DocPageSetup } from "@/lib/drive/doc-page-setup"
|
|
|
|
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
|
|
}
|
|
|
|
export type RichTextSaveStatus = "saved" | "saving" | "error" | "idle"
|