diff --git a/app/Filament/Admin/Resources/ApiKeyResource.php b/app/Filament/Admin/Resources/ApiKeyResource.php index fa3422ab22..7a42c12931 100644 --- a/app/Filament/Admin/Resources/ApiKeyResource.php +++ b/app/Filament/Admin/Resources/ApiKeyResource.php @@ -2,6 +2,7 @@ namespace App\Filament\Admin\Resources; +use App\Filament\Admin\Resources\ApiKeyResource\Pages; use App\Models\ApiKey; use Filament\Resources\Resource; use Illuminate\Database\Eloquent\Model; @@ -29,8 +30,8 @@ public static function canEdit(Model $record): bool public static function getPages(): array { return [ - 'index' => \App\Filament\Admin\Resources\ApiKeyResource\Pages\ListApiKeys::route('/'), - 'create' => \App\Filament\Admin\Resources\ApiKeyResource\Pages\CreateApiKey::route('/create'), + 'index' => Pages\ListApiKeys::route('/'), + 'create' => Pages\CreateApiKey::route('/create'), ]; } } diff --git a/app/Filament/Admin/Resources/DatabaseHostResource.php b/app/Filament/Admin/Resources/DatabaseHostResource.php index 3ab8916a53..2a00907dfe 100644 --- a/app/Filament/Admin/Resources/DatabaseHostResource.php +++ b/app/Filament/Admin/Resources/DatabaseHostResource.php @@ -2,6 +2,7 @@ namespace App\Filament\Admin\Resources; +use App\Filament\Admin\Resources\DatabaseHostResource\Pages; use App\Models\DatabaseHost; use Filament\Resources\Resource; @@ -23,9 +24,9 @@ public static function getNavigationBadge(): ?string public static function getPages(): array { return [ - 'index' => \App\Filament\Admin\Resources\DatabaseHostResource\Pages\ListDatabaseHosts::route('/'), - 'create' => \App\Filament\Admin\Resources\DatabaseHostResource\Pages\CreateDatabaseHost::route('/create'), - 'edit' => \App\Filament\Admin\Resources\DatabaseHostResource\Pages\EditDatabaseHost::route('/{record}/edit'), + 'index' => Pages\ListDatabaseHosts::route('/'), + 'create' => Pages\CreateDatabaseHost::route('/create'), + 'edit' => Pages\EditDatabaseHost::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Admin/Resources/DatabaseResource.php b/app/Filament/Admin/Resources/DatabaseResource.php index b771f32c34..d4a78ed410 100644 --- a/app/Filament/Admin/Resources/DatabaseResource.php +++ b/app/Filament/Admin/Resources/DatabaseResource.php @@ -2,6 +2,7 @@ namespace App\Filament\Admin\Resources; +use App\Filament\Admin\Resources\DatabaseResource\Pages; use App\Models\Database; use Filament\Resources\Resource; @@ -23,9 +24,9 @@ public static function getNavigationBadge(): ?string public static function getPages(): array { return [ - 'index' => \App\Filament\Admin\Resources\DatabaseResource\Pages\ListDatabases::route('/'), - 'create' => \App\Filament\Admin\Resources\DatabaseResource\Pages\CreateDatabase::route('/create'), - 'edit' => \App\Filament\Admin\Resources\DatabaseResource\Pages\EditDatabase::route('/{record}/edit'), + 'index' => Pages\ListDatabases::route('/'), + 'create' => Pages\CreateDatabase::route('/create'), + 'edit' => Pages\EditDatabase::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Admin/Resources/EggResource.php b/app/Filament/Admin/Resources/EggResource.php index 2f9cc4cb70..20cf209a1c 100644 --- a/app/Filament/Admin/Resources/EggResource.php +++ b/app/Filament/Admin/Resources/EggResource.php @@ -2,6 +2,7 @@ namespace App\Filament\Admin\Resources; +use App\Filament\Admin\Resources\EggResource\Pages; use App\Models\Egg; use Filament\Resources\Resource; @@ -28,9 +29,9 @@ public static function getGloballySearchableAttributes(): array public static function getPages(): array { return [ - 'index' => \App\Filament\Admin\Resources\EggResource\Pages\ListEggs::route('/'), - 'create' => \App\Filament\Admin\Resources\EggResource\Pages\CreateEgg::route('/create'), - 'edit' => \App\Filament\Admin\Resources\EggResource\Pages\EditEgg::route('/{record}/edit'), + 'index' => Pages\ListEggs::route('/'), + 'create' => Pages\CreateEgg::route('/create'), + 'edit' => Pages\EditEgg::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Admin/Resources/MountResource.php b/app/Filament/Admin/Resources/MountResource.php index 404e6eab8b..83ecc697db 100644 --- a/app/Filament/Admin/Resources/MountResource.php +++ b/app/Filament/Admin/Resources/MountResource.php @@ -2,6 +2,7 @@ namespace App\Filament\Admin\Resources; +use App\Filament\Admin\Resources\MountResource\Pages; use App\Models\Mount; use Filament\Resources\Resource; @@ -21,9 +22,9 @@ public static function getNavigationBadge(): ?string public static function getPages(): array { return [ - 'index' => \App\Filament\Admin\Resources\MountResource\Pages\ListMounts::route('/'), - 'create' => \App\Filament\Admin\Resources\MountResource\Pages\CreateMount::route('/create'), - 'edit' => \App\Filament\Admin\Resources\MountResource\Pages\EditMount::route('/{record}/edit'), + 'index' => Pages\ListMounts::route('/'), + 'create' => Pages\CreateMount::route('/create'), + 'edit' => Pages\EditMount::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Admin/Resources/NodeResource.php b/app/Filament/Admin/Resources/NodeResource.php index 5c398da883..0c597132c2 100644 --- a/app/Filament/Admin/Resources/NodeResource.php +++ b/app/Filament/Admin/Resources/NodeResource.php @@ -2,6 +2,7 @@ namespace App\Filament\Admin\Resources; +use App\Filament\Admin\Resources\NodeResource\Pages; use App\Filament\Admin\Resources\NodeResource\RelationManagers\AllocationsRelationManager; use App\Filament\Admin\Resources\NodeResource\RelationManagers\NodesRelationManager; use App\Models\Node; @@ -31,9 +32,9 @@ public static function getRelations(): array public static function getPages(): array { return [ - 'index' => \App\Filament\Admin\Resources\NodeResource\Pages\ListNodes::route('/'), - 'create' => \App\Filament\Admin\Resources\NodeResource\Pages\CreateNode::route('/create'), - 'edit' => \App\Filament\Admin\Resources\NodeResource\Pages\EditNode::route('/{record}/edit'), + 'index' => Pages\ListNodes::route('/'), + 'create' => Pages\CreateNode::route('/create'), + 'edit' => Pages\EditNode::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Admin/Resources/RoleResource.php b/app/Filament/Admin/Resources/RoleResource.php index fee58b24fe..0151bc59ad 100644 --- a/app/Filament/Admin/Resources/RoleResource.php +++ b/app/Filament/Admin/Resources/RoleResource.php @@ -4,6 +4,7 @@ use App\Enums\RolePermissionModels; use App\Enums\RolePermissionPrefixes; +use App\Filament\Admin\Resources\RoleResource\Pages; use App\Models\Role; use Filament\Forms\Components\Actions\Action; use Filament\Forms\Components\CheckboxList; @@ -138,9 +139,9 @@ function (Component $component, string $operation, ?Role $record) use ($options) public static function getPages(): array { return [ - 'index' => \App\Filament\Admin\Resources\RoleResource\Pages\ListRoles::route('/'), - 'create' => \App\Filament\Admin\Resources\RoleResource\Pages\CreateRole::route('/create'), - 'edit' => \App\Filament\Admin\Resources\RoleResource\Pages\EditRole::route('/{record}/edit'), + 'index' => Pages\ListRoles::route('/'), + 'create' => Pages\CreateRole::route('/create'), + 'edit' => Pages\EditRole::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Admin/Resources/ServerResource.php b/app/Filament/Admin/Resources/ServerResource.php index e3ecd30bfb..0ddf495bf5 100644 --- a/app/Filament/Admin/Resources/ServerResource.php +++ b/app/Filament/Admin/Resources/ServerResource.php @@ -2,6 +2,7 @@ namespace App\Filament\Admin\Resources; +use App\Filament\Admin\Resources\ServerResource\Pages; use App\Models\Server; use Filament\Resources\Resource; @@ -21,9 +22,9 @@ public static function getNavigationBadge(): ?string public static function getPages(): array { return [ - 'index' => \App\Filament\Admin\Resources\ServerResource\Pages\ListServers::route('/'), - 'create' => \App\Filament\Admin\Resources\ServerResource\Pages\CreateServer::route('/create'), - 'edit' => \App\Filament\Admin\Resources\ServerResource\Pages\EditServer::route('/{record}/edit'), + 'index' => Pages\ListServers::route('/'), + 'create' => Pages\CreateServer::route('/create'), + 'edit' => Pages\EditServer::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Admin/Resources/UserResource.php b/app/Filament/Admin/Resources/UserResource.php index 2149978f69..ae284465b2 100644 --- a/app/Filament/Admin/Resources/UserResource.php +++ b/app/Filament/Admin/Resources/UserResource.php @@ -2,6 +2,7 @@ namespace App\Filament\Admin\Resources; +use App\Filament\Admin\Resources\UserResource\Pages; use App\Filament\Admin\Resources\UserResource\RelationManagers\ServersRelationManager; use App\Models\User; use Filament\Resources\Resource; @@ -29,8 +30,8 @@ public static function getRelations(): array public static function getPages(): array { return [ - 'index' => \App\Filament\Admin\Resources\UserResource\Pages\ListUsers::route('/'), - 'edit' => \App\Filament\Admin\Resources\UserResource\Pages\EditUser::route('/{record}/edit'), + 'index' => Pages\ListUsers::route('/'), + 'edit' => Pages\EditUser::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Admin/Resources/WebhookResource.php b/app/Filament/Admin/Resources/WebhookResource.php index 9a5af39448..54eed4b5aa 100644 --- a/app/Filament/Admin/Resources/WebhookResource.php +++ b/app/Filament/Admin/Resources/WebhookResource.php @@ -2,6 +2,7 @@ namespace App\Filament\Admin\Resources; +use App\Filament\Admin\Resources\WebhookResource\Pages; use App\Models\WebhookConfiguration; use Filament\Resources\Resource; @@ -23,9 +24,9 @@ public static function getNavigationBadge(): ?string public static function getPages(): array { return [ - 'index' => \App\Filament\Admin\Resources\WebhookResource\Pages\ListWebhookConfigurations::route('/'), - 'create' => \App\Filament\Admin\Resources\WebhookResource\Pages\CreateWebhookConfiguration::route('/create'), - 'edit' => \App\Filament\Admin\Resources\WebhookResource\Pages\EditWebhookConfiguration::route('/{record}/edit'), + 'index' => Pages\ListWebhookConfigurations::route('/'), + 'create' => Pages\CreateWebhookConfiguration::route('/create'), + 'edit' => Pages\EditWebhookConfiguration::route('/{record}/edit'), ]; } }