feat(events): add cursor infinite event feed
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user