This commit is contained in:
Mikan
2025-05-30 19:32:58 +03:00
parent 93471d038a
commit 90d12b57ec
25 changed files with 3395 additions and 180 deletions

12
src/types/common.ts Normal file
View File

@@ -0,0 +1,12 @@
export interface UniqueItem{
id: number;
}
export interface PageControl<T>{
items: T[] | null;
hasNext: boolean;
hasPrevious: boolean;
nextPage(): void;
previousPage(): void;
}