feat(scheduler,conversations,api): cron and schedule in the gateway tz, job runs persisted

This commit is contained in:
hh
2026-09-01 23:13:17 +02:00
parent 9b1127acff
commit 1954a6e9f2
10 changed files with 326 additions and 43 deletions
+12 -1
View File
@@ -270,6 +270,17 @@ export interface QueuedJob {
status: string;
}
export interface JobRunInfo {
error: string | null;
finished_at: string | null;
id: number | null;
job: string;
payload: Record<string, unknown>;
started_at: string;
status: string;
trigger: string;
}
export interface JobInfo {
critical: boolean;
cron: string | null;
@@ -277,7 +288,7 @@ export interface JobInfo {
last_run: string | null;
name: string;
next_run: string | null;
run: { trigger: string; started_at: string; status: string } | null;
run: JobRunInfo | null;
status: string | null;
webhook: boolean;
}