Define Product type

This commit is contained in:
marzban-dev
2025-01-13 21:07:45 +03:30
parent 65bf2806b8
commit e602ad755a
+18
View File
@@ -14,4 +14,22 @@ declare global {
content: string
}
type Product = {
"id": number,
"price": number,
"name": string,
"description": string,
"currency": string,
"image": string,
"rating": number,
"view": number,
"sell": number,
"in_stock": number,
"discount": number,
"slug": string,
"meta_description": string | null,
"meta_keywords": null,
"meta_rating": number | null
}
}