feat: add Pagination interface and integrate it into User type

This commit is contained in:
2025-12-29 04:27:45 -05:00
parent 7eb0204e67
commit a9e1e82359
2 changed files with 8 additions and 0 deletions
@@ -0,0 +1,6 @@
export interface Pagination {
page: number;
pageSize: number;
totalCount: number;
totalPages: number;
}
+2
View File
@@ -1,4 +1,5 @@
import type { Paste } from './paste';
import type { Pagination } from './pagination';
export interface User {
uid: number;
@@ -10,4 +11,5 @@ export interface User {
roles: number[];
visibility: 0 | 1 | 2;
pastes: Paste[] | null;
pagination: Pagination | null;
}