mirror of
https://github.com/langgenius/dify.git
synced 2026-03-20 22:17:58 +08:00
- Update getFileSize utility to format file sizes consistently. - Refactor traverseFileEntry to use specific FileSystemEntry types for better type safety. - Modify useFileUpload hook to accept an optional allowedExtensions parameter for custom file type filtering. - Update tests to reflect changes in file type handling and ensure comprehensive coverage.