mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-19 07:47:04 +00:00
♻️ make code cleanrer
This commit is contained in:
5
server/types/Pagination.ts
Normal file
5
server/types/Pagination.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export type Pagination = { total: number; pageSize: number; page: number };
|
||||
|
||||
export type PaginatedResponse<T> = T & {
|
||||
pagination: Pagination;
|
||||
};
|
||||
Reference in New Issue
Block a user