Redesign products list and form to match catalog mockups.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user