เพิ่ม type

This commit is contained in:
Net 2024-07-11 15:31:00 +07:00
parent fe256161a5
commit dd097979d8

View file

@ -1,8 +1,33 @@
interface DataBackup {
id: string;
name: string;
createAt: Date;
timestamp: Date;
status: string;
}
export type { DataBackup };
interface BackUpRunning {
type: string;
workspace_id: string;
id: string;
created_by: string;
created_at: Date;
started_at: Date;
scheduled_for: Date;
running: boolean;
script_hash: string;
script_path: string;
args: any;
canceled: boolean;
job_kind: string;
permissioned_as: string;
is_flow_step: boolean;
language: string;
same_worker: boolean;
email: string;
visible_to_owner: boolean;
suspend: number;
mem_peak: number;
tag: string;
}
export type { DataBackup, BackUpRunning };