import {SeriesCoverDto} from '@/types/enum-libraries'

export interface LibraryCreationDto {
  name: string,
  root: string,
  importComicInfoBook: boolean,
  importComicInfoSeries: boolean,
  importComicInfoCollection: boolean,
  importComicInfoReadList: boolean,
  importEpubBook: boolean,
  importEpubSeries: boolean,
  importMylarSeries: boolean,
  importLocalArtwork: boolean,
  importBarcodeIsbn: boolean,
  scanForceModifiedTime: boolean,
  scanDeep: boolean,
  repairExtensions: boolean,
  convertToCbz: boolean,
  emptyTrashAfterScan: boolean,
  seriesCover: SeriesCoverDto,
  hashFiles: boolean,
  hashPages: boolean,
  analyzeDimensions: boolean,
}

export interface LibraryUpdateDto {
  name: string,
  root: string,
  importComicInfoBook: boolean,
  importComicInfoSeries: boolean,
  importComicInfoCollection: boolean,
  importComicInfoReadList: boolean,
  importEpubBook: boolean,
  importEpubSeries: boolean,
  importMylarSeries: boolean,
  importLocalArtwork: boolean,
  importBarcodeIsbn: boolean,
  scanForceModifiedTime: boolean,
  scanDeep: boolean,
  repairExtensions: boolean,
  convertToCbz: boolean,
  emptyTrashAfterScan: boolean,
  seriesCover: SeriesCoverDto,
  hashFiles: boolean,
  hashPages: boolean,
  analyzeDimensions: boolean,
}

export interface LibraryDto {
  id: string,
  name: string,
  root: string,
  importComicInfoBook: boolean,
  importComicInfoSeries: boolean,
  importComicInfoCollection: boolean,
  importComicInfoReadList: boolean,
  importEpubBook: boolean,
  importEpubSeries: boolean,
  importMylarSeries: boolean,
  importLocalArtwork: boolean,
  importBarcodeIsbn: boolean,
  scanForceModifiedTime: boolean,
  scanDeep: boolean,
  repairExtensions: boolean,
  convertToCbz: boolean,
  emptyTrashAfterScan: boolean,
  seriesCover: SeriesCoverDto,
  hashFiles: boolean,
  hashPages: boolean,
  analyzeDimensions: boolean,
  unavailable: boolean,
}
