Skip to content

basalt / files-versions/src / FileVersionsPluginOptions

Interface: FileVersionsPluginOptions ​

Defined in: files-versions/src/plugin.ts:8

Properties ​

store? ​

> optional store?: FileVersionStore

Defined in: files-versions/src/plugin.ts:15

Where the history lives. Defaults to memory, which is fine for a test and wrong for anything else: a restart takes the revision history with it and leaves the files behind, so every past draft is still on the disk with nothing left to say which document it belonged to.

Released under the MIT License.