Initial commit

This commit is contained in:
2026-07-27 18:01:07 +02:00
commit 0758b00d54
192 changed files with 45091 additions and 0 deletions

View File

@@ -0,0 +1 @@
export * from './lib/product.model';

View File

@@ -0,0 +1,34 @@
export interface Product {
id: string;
name: string;
description: string;
price: number;
category: string;
imageUrl: string;
inStock: boolean;
rating: number;
reviewCount: number;
}
export interface ApiResponse<T> {
data: T;
success: boolean;
message?: string;
error?: string;
}
export interface PaginatedResponse<T> {
items: T[];
total: number;
page: number;
pageSize: number;
totalPages: number;
}
export interface ProductFilter {
category?: string;
minPrice?: number;
maxPrice?: number;
inStock?: boolean;
searchTerm?: string;
}