Files
outline/app/stores/index.js
2018-05-22 23:01:49 -07:00

20 lines
470 B
JavaScript

// @flow
import AuthStore from './AuthStore';
import UiStore from './UiStore';
import ErrorsStore from './ErrorsStore';
import DocumentsStore from './DocumentsStore';
import SharesStore from './SharesStore';
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 }),
shares: new SharesStore(),
};
export default stores;