import {
  PictureTypeEnum,
  TrackColorTypeEnum,
  StudentFileRuleEnum,
} from '@/constants/enumerate';

export interface TrackConfigType {
  pictureType: PictureTypeEnum[];
  outputDir: string;
  curOutputDir: string;
  outputDirIsDefault: boolean;
  trackColorType: TrackColorTypeEnum;
  studentFileRule: StudentFileRuleEnum;
}

export interface DownloadSetType {
  trackExport: {
    semesterId: string;
    examId: string;
    courseId: string;
  };
}

export interface AppState {
  version: string;
  domain: string;
  device: string;
  trackConfig: TrackConfigType;
  downloadTaskRunning: boolean;
  // auto download task
  actionSession: string;
  downloadSet: DownloadSetType | null;
}
