Blogs listing + Categories
This commit is contained in:
@@ -34,6 +34,11 @@ export interface Blog {
|
||||
author: User; // Relation to User
|
||||
}
|
||||
|
||||
export interface Category {
|
||||
category: string;
|
||||
count: number;
|
||||
}
|
||||
|
||||
export type NewBlog = Omit<
|
||||
Blog,
|
||||
"blogID" | "authorID" | "author" | "published"
|
||||
|
||||
Reference in New Issue
Block a user