-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add tool convert all current user's avatar url to Firebase
- Loading branch information
Showing
7 changed files
with
1,257 additions
and
1,145 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
import { ObjectId } from "mongodb"; | ||
import { UserRole, UserVerifyStatus } from "~/modules/user/user.enum"; | ||
import User from "~/modules/user/user.schema"; | ||
|
||
export type UserList = { | ||
export interface UserList { | ||
_id: ObjectId; | ||
first_name: string; | ||
last_name: string; | ||
phone_number: string; | ||
email: string; | ||
role: UserRole; | ||
status: UserVerifyStatus; | ||
}; | ||
} | ||
|
||
export type UserAvatarInfo = Pick<User, "_id" | "avatar_url">; |
Oops, something went wrong.