/** 分页参数 */
export type PageQuery = {
  /** 页码，从 1 开始，默认 1 */
  page?: number
  /** 每页条数，默认 20 */
  size?: number
}

export type PagePagination = {
  page: number
  size: number
  total: number
}

export type PageResult<T = unknown> = {
  list: T[]
  pagination: PagePagination
}
