interface DataBackup {
  id: string;
  name: string;
  timestamp: Date;
  databaseSize: number;
  storageSize: number;
  status: string;
}

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;
}

interface Schedule {
  type: string;
  date: string;
  time: string;
  schedule: string;
  name: string;
  id: string;
  timeStartEvery: string;
  startAt?: string;
  enabled: boolean;
}

export type { DataBackup, BackUpRunning, Schedule };
