feat(jobs): paginate jobs list

This commit is contained in:
2026-06-21 09:12:46 +03:30
parent a2bd063c9c
commit c72ca7203f
6 changed files with 200 additions and 17 deletions

View File

@@ -36,6 +36,13 @@ export type CursorPage<T> = {
results: T[];
};
export type LimitOffsetPage<T> = {
count: number;
next: string | null;
previous: string | null;
results: T[];
};
export type JobStats = {
total: number;
by_status: Record<JobStatus, number>;