UNPKG

560 BJavaScriptView Raw
1import { getUserLoader } from './User';
2import { getGeolocationsLoader } from './Geolocation';
3import { getActivityLoader } from './Activity';
4import { getScoreLoader } from './Score';
5
6const cacheMap = new Map();
7const userLoader = getUserLoader(cacheMap);
8const geolocationsLoader = getGeolocationsLoader(cacheMap);
9const activityLoader = getActivityLoader(cacheMap);
10const scoreLoader = getScoreLoader(cacheMap);
11
12// FB Dataloaders
13export default {
14 user: userLoader,
15 geolocation: geolocationsLoader,
16 activity: activityLoader,
17 score: scoreLoader,
18};