[]
type DocumentInfo = object;
content: unknown;
Document content in JSON format that can be useful for viewers with in-browser rendering.
id: string;
Document id
name: string;
Document name
preferredFormat: "html" | "svg";
Specifies preferred rendering format for the document
optional temporary: boolean;
Specifies whether the document to-be-previewed is an existing document saved on server side.