15 lines
326 B
TypeScript
15 lines
326 B
TypeScript
export type RichTextSessionResponse = {
|
|
roomId: string
|
|
canonicalPath: string
|
|
sourcePath?: string
|
|
wsUrl: string
|
|
token: string
|
|
mode: "edit" | "view"
|
|
importRequired: boolean
|
|
collaboration: boolean
|
|
documentUrl?: string
|
|
saveUrl?: string
|
|
}
|
|
|
|
export type RichTextSaveStatus = "saved" | "saving" | "error" | "idle"
|