From dd097979d8ac585a7ee5e3ea68ed59e79ceab248 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Thu, 11 Jul 2024 15:31:00 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_system/interface/response/Main.ts | 29 +++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/src/modules/04_system/interface/response/Main.ts b/src/modules/04_system/interface/response/Main.ts index 44933442..6d7dde1d 100644 --- a/src/modules/04_system/interface/response/Main.ts +++ b/src/modules/04_system/interface/response/Main.ts @@ -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 };