Initial commit.

This commit is contained in:
Ryan McGrath 2018-04-05 15:17:53 -04:00
commit 1f90ca2575
No known key found for this signature in database
GPG key ID: 811674B62B666830
63 changed files with 4059 additions and 0 deletions

33
stores/index.js Normal file
View file

@ -0,0 +1,33 @@
/**
* 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,
TournamentEventStore: TournamentEventStore,
Bookmarks: BookmarksStore,
Settings: SettingsStore
};
// Hydrate
export default stores;