feat(scheduler,conversations,api): cron and schedule in the gateway tz, job runs persisted
This commit is contained in:
+12
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user