1
1
mirror of https://github.com/neosubhamoy/neodlp.git synced 2026-05-07 00:15:49 +05:30

feat: added clear, copy log buttons and pagination in completed downloads

This commit is contained in:
2026-01-09 23:40:35 +05:30
Verified
parent 01f4e96101
commit 2b7ab9def4
10 changed files with 214 additions and 15 deletions

View File

@@ -97,3 +97,21 @@ export interface DownloadProgress {
total: number | null;
eta: number | null;
}
export interface Paginated<T = any> {
current_page: number;
from: number;
first_page: number;
last_page: number;
pages: Array<{
label: string;
page: number;
active: boolean;
}>;
next_page: number | null;
per_page: number;
prev_page: number | null;
to: number;
total: number;
data: T[];
}