diff --git a/SharpbinV3.Client/src/lib/types/pagination.ts b/SharpbinV3.Client/src/lib/types/pagination.ts new file mode 100644 index 0000000..1d576af --- /dev/null +++ b/SharpbinV3.Client/src/lib/types/pagination.ts @@ -0,0 +1,6 @@ +export interface Pagination { + page: number; + pageSize: number; + totalCount: number; + totalPages: number; +} \ No newline at end of file diff --git a/SharpbinV3.Client/src/lib/types/user.ts b/SharpbinV3.Client/src/lib/types/user.ts index ceaaf46..886b065 100644 --- a/SharpbinV3.Client/src/lib/types/user.ts +++ b/SharpbinV3.Client/src/lib/types/user.ts @@ -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; }