1
0
Fork 0
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:
Fedor Katurov 2019-10-12 14:51:05 +07:00
parent a27ff0f52a
commit 6c1e88804b
7 changed files with 24 additions and 15 deletions

View file

@ -35,6 +35,7 @@ export const EMPTY_USER: IUser = {
name: null,
username: null,
photo: null,
cover: null,
is_activated: false,
is_user: false,
};

View file

@ -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;