Blogs listing + Categories

This commit is contained in:
cdricms
2025-02-25 00:13:53 +01:00
parent ae228710e1
commit 793e3748f9
21 changed files with 695 additions and 192 deletions

View File

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