mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-08 19:25:10 -05:00
File manager changes:
- Modify storage driver name and location - Add option to select patchline - Add option to mark file for delete - Add option to delete file from the server - Small UI adjustments to new added options
This commit is contained in:
12
dist/app/Models/GameFile.php
vendored
12
dist/app/Models/GameFile.php
vendored
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Enums\Launcher\FileAction;
|
||||
use App\Enums\Launcher\Patchline;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
@@ -11,4 +13,14 @@
|
||||
class GameFile extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
/**
|
||||
* The attributes that should be cast.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts = [
|
||||
'patchline' => Patchline::class,
|
||||
'action' => FileAction::class,
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user