Move all firbase dependencies from actions layer to firebaseService layer (#13)
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
import { User } from 'domain/users'
|
||||
|
||||
|
||||
|
||||
import { User, Profile } from 'domain/users'
|
||||
|
||||
/**
|
||||
* User service interface
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface IUserService
|
||||
*/
|
||||
export interface IUserService {
|
||||
|
||||
|
||||
}
|
||||
getUserProfile: (userId: string) => Promise<Profile>
|
||||
updateUserProfile: (userId: string, profile: Profile) => Promise<void>
|
||||
getUsersProfile: (userId: string) => Promise<{[userId: string]: Profile}>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user