interface AdminProductDetail {
    id: number;
    sku: string;
    name: string;
    slug: string;
    category: { id: number; name: string };
    brand: null | { id: number; name: string };
    description: string;
    material_composition: string;
    weight: string;
    base_price: string;
    max_print_width: number;
    max_print_height: number;
    print_positions: Record<string, unknown>;
    main_image: null | string;
    is_active: boolean;
    is_featured: boolean;
    show_print_area: boolean;
    custom_text_price: string;
    custom_number_price: string;
    available_colors: number[];
    available_sizes: number[];
    variants: AdminProductVariant[];
    color_images: AdminProductColorImage[];
    color_slot_labels: string[];
    color_combinations: AdminTwoColorCombination[];
    created_at: string;
    updated_at: string;
}

Properties

id: number
sku: string
name: string
slug: string
category: { id: number; name: string }
brand: null | { id: number; name: string }
description: string
material_composition: string
weight: string
base_price: string
max_print_width: number
max_print_height: number
print_positions: Record<string, unknown>
main_image: null | string
is_active: boolean
is_featured: boolean
show_print_area: boolean
custom_text_price: string
custom_number_price: string
available_colors: number[]
available_sizes: number[]
color_images: AdminProductColorImage[]
color_slot_labels: string[]
color_combinations: AdminTwoColorCombination[]
created_at: string
updated_at: string