vuex-easy-firestore
Version:
Easy coupling of firestore and a vuex module. 2-way sync with 0 boilerplate!
17 lines (16 loc) • 411 B
TypeScript
import { IState } from './module/state';
import { IConfig } from './module/defaultConfig';
export type AnyObject = {
[key: string]: any;
};
export type IStore = {
state: AnyObject;
mutations: AnyObject;
actions: AnyObject;
getters: AnyObject;
[key: string]: any;
};
export type IEasyFirestoreModule = IConfig;
export type IPluginState = IState & {
_conf: IConfig;
};