feat(events): add cursor infinite event feed

This commit is contained in:
2026-06-21 02:35:13 +03:30
parent 563d6ee238
commit 0c15fbfbd2
7 changed files with 170 additions and 36 deletions

View File

@@ -30,6 +30,12 @@ export type JobEvent = {
created_at: string;
};
export type CursorPage<T> = {
next: string | null;
previous: string | null;
results: T[];
};
export type JobStats = {
total: number;
by_status: Record<JobStatus, number>;