Threepipe Tweakpane Editor Plugin
    Preparing search index...

    Interface NotesStore

    Where notes are kept. NotesPlugin has two stores: file (in the viewer config, so in an exported .glb) and browser (BrowserNotesStore). An app adds others with NotesPlugin.addStore, for example a server (HttpNotesStore) or its own backend.

    interface NotesStore {
        id: string;
        label: string;
        load(): NoteItem[] | Promise<NoteItem[]>;
        save(notes: NoteItem[]): void | Promise<void>;
    }

    Implemented by

    Index
    id: string

    Unique in the plugin, kept in NoteItem.store

    label: string

    The name in the UI, like "In the file"