8:00 hours (CompressPdf #2549 (To Do): Add file validations)

Zahid Hassan
2025-05-30T12:11:12Z

Refactored chunk upload process to fetch fileId before upload. Added new /chunk-file-id endpoint for generating file IDs. Implemented size/page limit checks and password protection handling using pdfinfo. Centralized file/database cleanup logic. Introduced constants for limits (size, type, timeout) in variables.ts. Improved error types and logging across chunk and remote upload flows.