Firebase Stub: simple implementation of data changes listener

This commit is contained in:
gianantoniopini
2021-01-14 14:00:07 +01:00
parent 36036cc411
commit 6d36c27889
5 changed files with 193 additions and 60 deletions

View File

@ -1,5 +1,7 @@
import AuthConstants from './auth';
const valueEventType = 'value';
const resumesPath = 'resumes';
const usersPath = 'users';
const connectedPath = '/.info/connected';
@ -18,6 +20,10 @@ const user2 = {
};
class Database {
static get valueEventType() {
return valueEventType;
}
static get resumesPath() {
return resumesPath;
}