initial commit
Change-Id: Ifa2442bb2e786af351ef5f575ca69828870c8b6e
This commit is contained in:
17
src/app/routes/auth/user.model.ts
Normal file
17
src/app/routes/auth/user.model.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Article } from '../article/article.model';
|
||||
import { Comment } from '../article/comment.model';
|
||||
|
||||
export interface User {
|
||||
id: number;
|
||||
username: string;
|
||||
email: string;
|
||||
password: string;
|
||||
bio: string | null;
|
||||
image: any | null;
|
||||
articles: Article[];
|
||||
favorites: Article[];
|
||||
followedBy: User[];
|
||||
following: User[];
|
||||
comments: Comment[];
|
||||
demo: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user