interface Category {
    id: number;
    name: string;
    slug: string;
    description: string;
    image: null | string;
    parent: null | number;
    is_active: boolean;
    sort_order: number;
    product_count: number;
    level: number;
    full_path: string;
    children: Category[];
    created_at: string;
    updated_at: string;
}

Properties

id: number
name: string
slug: string
description: string
image: null | string
parent: null | number
is_active: boolean
sort_order: number
product_count: number
level: number
full_path: string
children: Category[]
created_at: string
updated_at: string