Add:Support multiple book upload #248

This commit is contained in:
advplyr 2022-02-26 16:19:22 -06:00
parent 907790fe92
commit aa675422a9
7 changed files with 670 additions and 217 deletions

View file

@ -1,3 +1,12 @@
const SupportedFileTypes = {
image: ['png', 'jpg', 'jpeg', 'webp'],
audio: ['m4b', 'mp3', 'm4a', 'flac', 'opus', 'mp4', 'aac'],
ebook: ['epub', 'pdf', 'mobi', 'azw3', 'cbr', 'cbz'],
info: ['nfo'],
text: ['txt'],
opf: ['opf']
}
const DownloadStatus = {
PENDING: 0,
READY: 1,
@ -21,6 +30,7 @@ const BookshelfView = {
}
const Constants = {
SupportedFileTypes,
DownloadStatus,
CoverDestination,
BookCoverAspectRatio,