Update types

This commit is contained in:
marzban-dev
2025-01-28 19:51:29 +03:30
parent 532ad4ebf1
commit d65d3bd907
+13 -1
View File
@@ -51,9 +51,21 @@ declare global {
meta_title: string;
meta_description: string;
parent: number;
children: "string";
"product_count": string,
"subcategorys": SubCategory[]
};
type SubCategory = {
"id": number,
"name": string,
"slug": string,
"icon": string,
"meta_title": string,
"meta_description": string,
"product_count": string,
"show": boolean
}
type Address = {
id: number;
province: string;