mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
displaying profile photo
This commit is contained in:
parent
a27ff0f52a
commit
6c1e88804b
7 changed files with 24 additions and 15 deletions
|
@ -35,6 +35,7 @@ export const EMPTY_USER: IUser = {
|
|||
name: null,
|
||||
username: null,
|
||||
photo: null,
|
||||
cover: null,
|
||||
is_activated: false,
|
||||
is_user: false,
|
||||
};
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
import { IFile } from '../types';
|
||||
|
||||
export interface IToken {
|
||||
access: string;
|
||||
refresh: string;
|
||||
|
@ -8,7 +10,8 @@ export interface IUser {
|
|||
username: string;
|
||||
email: string;
|
||||
role: string;
|
||||
photo: string;
|
||||
photo: IFile;
|
||||
cover: IFile;
|
||||
name: string;
|
||||
|
||||
is_activated: boolean;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue