UNPKG

@lucidcms/plugin-local-storage

Version:

The official Local Storage plugin for Lucid

19 lines (15 loc) 536 B
import { Config } from '@lucidcms/core/types'; interface PluginOptions { /** The directory where the files will be uploaded */ uploadDir: string; /** The secret key used to sign the URLs */ secretKey: string; /** Provide a list of mime types that the upload service supports */ supportedMimeTypes?: string[]; } declare const lucidLocalStorage: (pluginOptions: PluginOptions) => (config: Config) => Promise<{ key: string; lucid: string; config: Config; }>; export { lucidLocalStorage as default };