import store from 'store'
import { expire } from 'store/plugins/all'
import { localStorage, sessionStorage, cookieStorage } from 'store/storages/all'
import { prefix } from './config'
const local = store.createStore( [ localStorage ], [ expire ] ).namespace( prefix );
const session = store.createStore( [ sessionStorage ], null ).namespace( prefix );
const cookie = store.createStore( [ cookieStorage ], expire );
export default {
    local,
    session,
    cookie,
}