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

export type SupplierListItem = {
    id: number;
    name: string;
    phone_number: string;
    address: string;
};

export type SupplierFormData = {
    name: string;
    phone_number: string;
    address: string;
};

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

export type PaginatedSuppliers = Paginated<SupplierListItem>;
