added collection page

This commit is contained in:
Jelaletdin12
2025-12-15 14:33:34 +05:00
parent 633a3c9d47
commit e886359c5c
31 changed files with 2118 additions and 716 deletions

View File

@@ -97,10 +97,11 @@ export interface Category {
export interface Collection {
id: number;
name: string;
slug?: string;
slug: string;
description?: string;
image?: string;
created_at?: string;
media?: ProductMedia[];
}
// Cart Types
@@ -495,7 +496,7 @@ export interface FiltersResponse {
};
}
// Existing types'a ekleme
export interface ProductFilters {
brands?: number[];
categories?: number[];
@@ -503,4 +504,5 @@ export interface ProductFilters {
max_price?: number;
page?: number;
limit?: number;
}
collection_id?: number;
}