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

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

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

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

export type PaginatedCustomers = Paginated<CustomerListItem>;
