This repository has been archived on 2026-03-31. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
memelee/stores/index.js
2018-04-11 23:16:10 -04:00

33 lines
803 B
JavaScript

/**
* smashGG
*
* Handles communication with Smash.gg endpoints. Mostly promise based.
*
* @copyright Ryan McGrath 2018, unless the content belongs to Smash.gg, in which case,
* it's them.
*/
import {v4} from 'uuid';
import moment from 'moment';
import {create} from 'mobx-persist';
import {AsyncStorage} from 'react-native';
import TournamentsListingStore from './TournamentsListingStore';
import TournamentEventStore from './TournamentEventStore';
import BookmarksStore from './BookmarksStore';
import SettingsStore from './SettingsStore';
const hydrate = create({
storage: AsyncStorage
});
const stores = {
Tournaments: TournamentsListingStore,
Events: TournamentEventStore,
Bookmarks: BookmarksStore,
Settings: SettingsStore
};
// Hydrate
export default stores;