diff --git a/src/modules/04_system/interface/request/Main.ts b/src/modules/04_system/interface/request/Main.ts index e69de29b..83547771 100644 --- a/src/modules/04_system/interface/request/Main.ts +++ b/src/modules/04_system/interface/request/Main.ts @@ -0,0 +1,13 @@ +interface ScheduleCreate { + name: string; + time: string; + timeStartEvery: string; + + timezone?: string; + type: string; + date: string[]; + schedule: string; + startAt?: string; +} + +export type { ScheduleCreate }; diff --git a/src/modules/04_system/interface/response/Main.ts b/src/modules/04_system/interface/response/Main.ts index b34204ef..690e30f4 100644 --- a/src/modules/04_system/interface/response/Main.ts +++ b/src/modules/04_system/interface/response/Main.ts @@ -32,4 +32,15 @@ interface BackUpRunning { tag: string; } -export type { DataBackup, BackUpRunning }; +interface Schedule { + type: string; + date: string; + time: string; + schedule: string; + name: string; + id: string; + timeStartEvery: string; + startAt?: string; +} + +export type { DataBackup, BackUpRunning, Schedule };