initial: bootstrap from BukidBountyApp base
This commit is contained in:
23
ai-docs/modules/files.md
Normal file
23
ai-docs/modules/files.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# Files Module
|
||||
|
||||
## Purpose
|
||||
Handles file uploads and management operations including photos, documents, and binary files.
|
||||
|
||||
## Key Files
|
||||
- `app/Http/Controllers/FilesMainController.php` - File upload controller
|
||||
- `app/Models/FileContent.php` - File content model
|
||||
- `app/Models/FileList.php` - File list metadata model
|
||||
|
||||
## Public APIs
|
||||
- `uploadFilefromRequest()` - Upload file from request
|
||||
- `viewFilebyFileListHash()` - View file by hash key
|
||||
|
||||
## Dependencies
|
||||
- `App\Models\FileContent`
|
||||
- `Hypervel\Support\Facades\Storage`
|
||||
|
||||
## Important Behavior
|
||||
- Stores files in binary format via FileContent model
|
||||
- Tracks metadata in FileList model
|
||||
- Supports various file categories
|
||||
- Returns file content with proper headers for download/viewing
|
||||
Reference in New Issue
Block a user