UNPKG

@lucidcms/plugin-local-storage

Version:

The official Local Storage plugin for Lucid

22 lines (21 loc) 669 B
import { Config } from "@lucidcms/core/types"; //#region src/types/types.d.ts 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[]; } //# sourceMappingURL=types.d.ts.map //#endregion //#region src/index.d.ts declare const lucidLocalStorage: (pluginOptions: PluginOptions) => (config: Config) => Promise<{ key: string; lucid: string; config: Config; }>; //#endregion export { lucidLocalStorage as default }; //# sourceMappingURL=index.d.ts.map