Started working on the blogs
This commit is contained in:
@@ -24,16 +24,20 @@ export interface Blog {
|
||||
blogID: string;
|
||||
slug: string;
|
||||
content: string;
|
||||
label?: string;
|
||||
title: string;
|
||||
authorID: string;
|
||||
published: string;
|
||||
summary?: string;
|
||||
image?: string;
|
||||
href?: string;
|
||||
|
||||
author: User; // Relation to User
|
||||
}
|
||||
|
||||
export type NewBlog = Omit<
|
||||
Blog,
|
||||
"blogID" | "authorID" | "author" | "published"
|
||||
>;
|
||||
|
||||
// User type definition
|
||||
export interface User {
|
||||
userId: string; // UUID represented as a string
|
||||
|
||||
Reference in New Issue
Block a user