Monorepo containing core modules of Zeichen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 regels
299 B

  1. import { Plugin } from '../core/plugin'
  2. import Storage from './Storage'
  3. type PluginConfig = {}
  4. const LocalStoragePlugin: Plugin<PluginConfig> = config => ({
  5. currentUserId,
  6. }) => {
  7. new Storage(currentUserId, 'notes')
  8. new Storage(currentUserId, 'folders')
  9. }
  10. export default LocalStoragePlugin