Additional Ebook validation

This commit is contained in:
Mike Colagrosso 2024-04-26 23:52:28 -06:00 committed by Alex Cabal
parent 3ef1af1237
commit 032032b920
22 changed files with 262 additions and 2 deletions

View file

@ -32,7 +32,9 @@ const DATABASE_DEFAULT_HOST = 'localhost';
const EBOOKS_PER_PAGE = 12;
const EBOOKS_MAX_STRING_LENGTH = 250;
const EBOOKS_MAX_LONG_STRING_LENGTH = 500;
const EBOOK_SINGLE_PAGE_SIZE_WARNING = 3 *1024 * 1024; // 3145728
const EBOOK_EARLIEST_CREATION_DATE = new DateTimeImmutable('2014-01-01');
const ARTWORK_THUMBNAIL_HEIGHT = 350;
const ARTWORK_THUMBNAIL_WIDTH = 350;