mirror of
https://github.com/daydreamer-json/ak-endfield-api-archive.git
synced 2026-03-26 01:02:26 +01:00
feat: Add origStatus to MirrorFileEntry and implement status check for original files
- Added origStatus property to MirrorFileEntry interface to track the availability of original files. - Updated generateDownloadLinks function to conditionally display the original link based on origStatus. - Implemented checkMirrorFileDbStatus function to verify the accessibility of original files and update their status in the mirrorFileDb. - Called checkMirrorFileDbStatus in main command handler to ensure the status is checked during execution.
This commit is contained in: