20 lines
470 B
JavaScript
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;
|