export type PaginatedResponse<T> = {
  data: T[];
  meta: {
    page: number;
    per_page: number;
    total: number;
  };
};

export type DetailResponse<T> = {
  data: T;
};

export type ApiErrorResponse = {
  message: string;
  errors?: Record<string, string[]>;
};
