Skip to content

Commit

Permalink
Add firestore services to services object
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunsaker committed Jun 26, 2018
1 parent 2612e47 commit 216f744
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions services/firestore/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import addDocument from './addDocument';
import deleteDocument from './deleteDocument';
import disableNetwork from './disableNetwork';
import enableNetwork from './enableNetwork';
import getCollection from './getCollection';
import getDocument from './getDocument';
import getRef from './getRef';
import setDocument from './setDocument';
import updateDocument from './updateDocument';

module.exports = {
addDocument,
deleteDocument,
disableNetwork,
enableNetwork,
getCollection,
getDocument,
getRef,
setDocument,
updateDocument,
};
2 changes: 2 additions & 0 deletions services/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import analytics from './analytics';
import auth from './auth';
import database from './database';
import firestore from './firestore';
import http from './http';
import images from './images';
import location from './location';
Expand All @@ -11,6 +12,7 @@ module.exports = {
analytics,
auth,
database,
firestore,
http,
images,
location,
Expand Down

0 comments on commit 216f744

Please sign in to comment.