Trevixal API
    Preparing search index...

    Interface WorkspaceStoreOptions

    @trevixal/extension-workspace. A document store with folders, templates, recents and favorites; a tab strip that switches the editor between documents and autosaves; a workspace sidebar; and a split view with a live preview or a mirrored second editor.

    interface WorkspaceStoreOptions {
        idFactory?: () => string;
        now?: () => number;
    }
    Index
    idFactory?: () => string

    Id generator, for tests. Defaults to crypto.randomUUID().

    now?: () => number

    Clock, for tests. Defaults to Date.now.