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;
};
type UserComment = {
"id": number,
"content": string,
"timestamp": string,
"show": boolean,
"product": number,
"user": number
}
type Category = {
id: number;
name: string;
@@ -57,7 +66,7 @@ declare global {
"name": string,
"slug": string,
"icon": string,
"image" : string,
"image": string,
"product_count": string,
"parent": string,
"show": boolean