Update types

This commit is contained in:
marzban-dev
2025-01-30 01:08:37 +03:30
parent 7019b5ade0
commit 0ca6ecbea0
+10 -1
View File
@@ -43,6 +43,15 @@ declare global {
meta_rating: number | null; meta_rating: number | null;
}; };
type UserComment = {
"id": number,
"content": string,
"timestamp": string,
"show": boolean,
"product": number,
"user": number
}
type Category = { type Category = {
id: number; id: number;
name: string; name: string;
@@ -57,7 +66,7 @@ declare global {
"name": string, "name": string,
"slug": string, "slug": string,
"icon": string, "icon": string,
"image" : string, "image": string,
"product_count": string, "product_count": string,
"parent": string, "parent": string,
"show": boolean "show": boolean