basalt / files-versions/src / fileVersionsPlugin
Function: fileVersionsPlugin()
> fileVersionsPlugin(options?): BasaltPlugin<unknown>
Defined in: files-versions/src/plugin.ts:26
Registers FILE_VERSIONS, layered on the FILES service.
Depends on basalt:files by name rather than constructing its own Files: two services with different quota settings writing to the same disk is the kind of divergence nobody notices until an upload is refused in one code path and accepted in another.
Parameters
options?
FileVersionsPluginOptions = {}
Returns
BasaltPlugin<unknown>