migration script

# Conflicts:
#	app/Filament/Resources/Torrent/AnnounceLogResource.php
This commit is contained in:
NekoCH
2025-09-21 18:07:38 +08:00
parent f0b50e4826
commit 532f3bdb3f
131 changed files with 2177 additions and 1644 deletions
+6 -4
View File
@@ -1,19 +1,21 @@
<?php
namespace App\Filament\Pages;
use Filament\Pages\Dashboard;
use Filament\Support\Enums\Width;
use App\Filament\Widgets\AnnounceMonitor\MaxUploadedUser;
use App\Models\Setting;
use Illuminate\Contracts\Support\Htmlable;
class AnnounceMonitor extends \Filament\Pages\Dashboard
class AnnounceMonitor extends Dashboard
{
protected ?string $maxContentWidth = 'full';
protected Width|string|null $maxContentWidth = 'full';
protected static ?string $navigationIcon = 'heroicon-o-archive-box';
protected static string | \BackedEnum | null $navigationIcon = 'heroicon-o-archive-box';
protected static string $routePath = 'announce-monitor';
protected static ?string $navigationGroup = 'Torrent';
protected static string | \UnitEnum | null $navigationGroup = 'Torrent';
protected static ?int $navigationSort = 15;
+2 -1
View File
@@ -1,6 +1,7 @@
<?php
namespace App\Filament\Pages;
use Filament\Support\Enums\Width;
use App\Filament\Widgets\AccountInfo;
use App\Filament\Widgets\LatestTorrents;
use App\Filament\Widgets\LatestUsers;
@@ -13,7 +14,7 @@ use App\Filament\Widgets\UserTrend;
class Dashboard extends \Filament\Pages\Dashboard
{
protected ?string $maxContentWidth = 'full';
protected Width|string|null $maxContentWidth = 'full';
public function getWidgets(): array
{
+2 -2
View File
@@ -6,9 +6,9 @@ use Filament\Pages\Page;
class RunCommand extends Page
{
protected static ?string $navigationIcon = 'heroicon-o-document-text';
protected static string | \BackedEnum | null $navigationIcon = 'heroicon-o-document-text';
protected static string $view = 'filament.pages.run-command';
protected string $view = 'filament.pages.run-command';
protected static bool $shouldRegisterNavigation = false;
}