Freeze Design Frontend - TypeScript API
    Preparing search index...

    Interface CartGroup

    Een teambestelling in de winkelwagen: één kaart voor alle regels van de groep (GET /api/cart/ → groups, OrderGroupSerializer). Bedragen zijn strings.

    interface CartGroup {
        id: number;
        team_name: string;
        product: LineProduct;
        color: { id: number; name: string; hex_code: string };
        base_design: OrderLineDesign | null;
        roster: {
            variant_id: number;
            size: string;
            name: string;
            number: string;
            design_id: number | null;
            texts?: Partial<
                Record<
                    "number"
                    | "name",
                    Partial<Record<"front" | "back" | "left" | "right", string>>,
                >,
            >;
        }[];
        size_breakdown: { size: string; quantity: number }[];
        size_breakdown_text: string;
        total_quantity: number;
        unit_price: string;
        line_total: string;
        is_personalized: boolean;
    }
    Index
    id: number
    team_name: string
    product: LineProduct
    color: { id: number; name: string; hex_code: string }
    base_design: OrderLineDesign | null
    roster: {
        variant_id: number;
        size: string;
        name: string;
        number: string;
        design_id: number | null;
        texts?: Partial<
            Record<
                "number"
                | "name",
                Partial<Record<"front" | "back" | "left" | "right", string>>,
            >,
        >;
    }[]
    size_breakdown: { size: string; quantity: number }[]

    Aantal per maat, al in maatvolgorde.

    size_breakdown_text: string
    total_quantity: number
    unit_price: string
    line_total: string
    is_personalized: boolean