Files
outline/app/stores/index.js
2018-05-12 21:01:17 -07:00

18 lines
400 B
JavaScript

// @flow
import AuthStore from './AuthStore';
import UiStore from './UiStore';
import ErrorsStore from './ErrorsStore';
import DocumentsStore from './DocumentsStore';
const ui = new UiStore();
const errors = new ErrorsStore();
const stores = {
user: null, // Including for Layout
auth: new AuthStore(),
ui,
errors,
documents: new DocumentsStore({ ui, errors }),
};
export default stores;