interface Product {
    id: number;
    sku: string;
    name: string;
    slug: string;
    category: Category;
    brand: null | Brand;
    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;
    created_at: string;
    updated_at: string;
    available_colors?: Color[];
    available_sizes?: Size[];
    variant_count?: number;
    colors_with_images?: number[];
    color_variants?: ColorVariant[];
    variants?: ProductVariant[];
    color_images?: ProductColorImage[];
}

Properties

id: number
sku: string
name: string
slug: string
category: Category
brand: null | Brand
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
created_at: string
updated_at: string
available_colors?: Color[]
available_sizes?: Size[]
variant_count?: number
colors_with_images?: number[]
color_variants?: ColorVariant[]
variants?: ProductVariant[]
color_images?: ProductColorImage[]