Add reset password & UI change
This commit is contained in:
@@ -40,5 +40,12 @@ export interface IAuthorizeService {
|
||||
*
|
||||
* @memberof IAuthorizeService
|
||||
*/
|
||||
onAuthStateChanged: (callBack: (user: User) => void)
|
||||
onAuthStateChanged: (callBack: (user: User) => void) => void
|
||||
|
||||
/**
|
||||
* Reset user password
|
||||
*
|
||||
* @memberof IAuthorizeService
|
||||
*/
|
||||
resetPassword: (email: string) => Promise<void>
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ export interface ICommentService {
|
||||
|
||||
addComment: (postId: string, comment: Comment) => Promise<string>
|
||||
getComments: (callback: (resultComments: { [postId: string]: { [commentId: string]: Comment } }) => void) => void
|
||||
updateComment: (userId: string, postId: string, comment: Comment) => Promise<void>
|
||||
updateComment: (commentId: string, postId: string, comment: Comment) => Promise<void>
|
||||
deleteComment: (commentId: string, postId: string) => Promise<void>
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user