export type PaginationResponse = {
  page: number;
  limit: number;
  total: number;
  totalPages: number;
};

export type SuccessApiResponse<T> = {
  success: true;
  statusCode: number;
  message: string;
  data: T;
  meta?: PaginationResponse;
};

export type ErrorApiResponse<T> = {
  success: false;
  statusCode: number;
  message: string;
  errors?: T;
};
