/**
 * @see {@link https://github.com/LeafLink/dev-page/tree/main/docs/api/getting-started#parameters Unified API Pagination Params}
 */
export interface UnifiedApiPaginationParams {
  ordering?: string;
  page?: number;
  pageSize?: number;
}

/**
 * @see {@link https://github.com/LeafLink/dev-page/tree/main/docs/api/getting-started#list-response-attributes Unified API List Response}
 */
export interface UnifiedApiListResponse<R = object> {
  count: number;
  next: string | null;
  previous: string | null;
  results: R[];
}
