Redesign products list and form to match catalog mockups.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 16:26:09 +03:30
co-authored by Cursor
parent 028362da44
commit 55f360c13f
9 changed files with 1626 additions and 236 deletions
+24
View File
@@ -697,9 +697,17 @@ export interface ImportContactsResult {
export interface ProductDto {
id: string;
kind: "product" | "service";
name: string;
sku: string | null;
description: string | null;
category: string | null;
unit: string | null;
stockQty: number | null;
brand: string | null;
model: string | null;
country: string | null;
tags: string[];
unitPrice: number | null;
currency: string;
isActive: boolean;
@@ -708,18 +716,34 @@ export interface ProductDto {
}
export interface CreateProductRequest {
kind?: "product" | "service";
name: string;
sku?: string;
description?: string;
category?: string;
unit?: string;
stockQty?: number | null;
brand?: string;
model?: string;
country?: string;
tags?: string[];
unitPrice?: number | null;
currency?: string;
isActive?: boolean;
}
export interface UpdateProductRequest {
kind?: "product" | "service";
name?: string;
sku?: string | null;
description?: string | null;
category?: string | null;
unit?: string | null;
stockQty?: number | null;
brand?: string | null;
model?: string | null;
country?: string | null;
tags?: string[];
unitPrice?: number | null;
currency?: string;
isActive?: boolean;