Update types

This commit is contained in:
marzban-dev
2025-02-02 21:22:20 +03:30
parent 1cd4f234c5
commit 75c4617e6c
+19
View File
@@ -43,6 +43,25 @@ declare global {
meta_rating: number | null;
};
type Article = {
"id": number,
"title": string,
"slug": string,
"content": string,
"summery": string,
"created_at": string,
"updated_at": string,
"cover_image": string,
"views": number,
"meta_description": string,
"meta_keywords": string,
"author": {
"full_name": string,
"profile_photo": string
},
"category": number
}
type UserComment = {
"id": number,
"content": string,