25 lines
924 B
Plaintext
25 lines
924 B
Plaintext
The file /home/project/src/components/warehouse/ProductForm.tsx has been updated. Made 1 replacement.
|
|
|
|
Here's the result of running `cat -n` on a snippet of the edited file:
|
|
5→import { supabase } from '../../supabase/client';
|
|
6→import { decode } from 'base64-arraybuffer';
|
|
7→import type { Product, ProductYarnRatio } from '../../types';
|
|
8→
|
|
9→interface ProductFormData {
|
|
10→ product_name: string;
|
|
11→ weight: string;
|
|
12→ warp_weight: string;
|
|
13→ weft_weight: string;
|
|
14→ total_weight: string;
|
|
15→ color: string;
|
|
16→ fabric_code: string;
|
|
17→ color_code: string;
|
|
18→ production_price: string;
|
|
19→ yarn_ratios: { yarn_name: string; ratio: number; yarn_type: 'warp' | 'weft' | 'all' }[];
|
|
20→ image_url?: string;
|
|
21→}
|
|
22→
|
|
23→interface ProductFormProps {
|
|
24→ isOpen: boolean;
|
|
25→ onClose: () => void;
|
|
26→ onSave: () => void; |