Updated
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user