Initial work on the frontend

This commit is contained in:
Jori Lallo
2018-03-04 15:39:17 -08:00
parent 3d6b9466fb
commit 06a6573feb
6 changed files with 142 additions and 45 deletions

View File

@ -2,7 +2,8 @@
import React from 'react';
import { Provider } from 'mobx-react';
import stores from 'stores';
import SettingsStore from 'stores/SettingsStore';
import ApiKeysStore from 'stores/settings/ApiKeysStore';
import MembersStore from 'stores/settings/MembersStore';
import DocumentsStore from 'stores/DocumentsStore';
import CollectionsStore from 'stores/CollectionsStore';
import CacheStore from 'stores/CacheStore';
@ -22,7 +23,8 @@ const Auth = ({ children }: Props) => {
const { user, team } = stores.auth;
const cache = new CacheStore(user.id);
authenticatedStores = {
settings: new SettingsStore(),
apiKeys: new ApiKeysStore(),
members: new MembersStore(),
documents: new DocumentsStore({
ui: stores.ui,
cache,