This commit is contained in:
marzban-dev
2025-01-29 03:29:21 +03:30
parent 29ce3db965
commit e99a81d724
+2 -7
View File
@@ -6,7 +6,7 @@ import { API_ENDPOINTS, QUERY_KEYS } from "~/constants";
// types // types
export type GetHomeDataResponse = { export type GetHomeDataResponse = {
"sliders": { "sliders": {
"id": number, "id": number,
"link": string, "link": string,
"title": string, "title": string,
@@ -14,12 +14,7 @@ export type GetHomeDataResponse = {
"image": string | null, "image": string | null,
"video": string | null "video": string | null
}[], }[],
"sub_categories": { "sub_categories": SubCategory[],
"id": number,
"name": string,
"icon": string,
"product_count": number,
}[],
"products": Product[], "products": Product[],
"difreance_section": { "difreance_section": {
"image1": string, "image1": string,