export type ApiResponse<T = unknown> = {
  data: T;
  error?: never;
};

export type PagedResponse<T> = {
  content: T[];
  number: number;
  totalElements: number;
  totalPages: number;
  size: number;
  sort: {
    empty: boolean;
    sorted: boolean;
    unsorted: boolean;
  };
};
