adding data browser

This commit is contained in:
2024-09-08 22:11:51 -04:00
parent e88499cbaf
commit 224e6388c1
48 changed files with 1037 additions and 75 deletions

13
src/models/page.ts Normal file
View File

@@ -0,0 +1,13 @@
export class Page {
start: number;
limit: number;
constructor(data: Partial<Page>) {
this.start = data?.start ?? 1;
this.limit = data?.limit ?? 20;
}
toString(): string {
return `(${this.start}:${this.limit})`;
}
}