18 lines
375 B
TypeScript
18 lines
375 B
TypeScript
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;
|
|
}
|