From 32b336327ac0e99ce0c64e462ffa3b460611df53 Mon Sep 17 00:00:00 2001 From: Ruidy Nemausat Date: Tue, 19 May 2020 14:59:50 +0200 Subject: [PATCH] fetch posts from db, can post and like posts --- src/constants/collections.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/constants/collections.ts diff --git a/src/constants/collections.ts b/src/constants/collections.ts new file mode 100644 index 0000000..59bc389 --- /dev/null +++ b/src/constants/collections.ts @@ -0,0 +1,9 @@ +/** + * Register all firestore collections + */ +enum Collections { + USERS = 'users', + POSTS = 'posts', +} + +export default Collections;