import type { Paginated } from '@/types/common';

export type CategoryListItem = {
    id: number;
    name: string;
    slug: string;
};

export type CategoryFormData = {
    name: string;
};

export type CategoryFilters = {
    search: string;
    sort?: string;
    direction?: 'asc' | 'desc' | null;
};

export type PaginatedCategories = Paginated<CategoryListItem>;
