Trevixal API
    Preparing search index...

    Interface BackupsDialogOptions

    interface BackupsDialogOptions {
        document: Document;
        editor?: Editor;
        now?: () => number;
    }
    Index
    document: Document
    editor?: Editor

    The editor the backups are of. With it, the dialog can compare a backup or a version with the document as it is now, and two of them with each other.

    now?: () => number