Plugins base (#613)

* wip

* wip

* cleanup

* notification channels

* phpstan

* services

* remove server types

* refactoring

* refactoring
This commit is contained in:
Saeed Vaziry
2025-06-14 14:35:18 +02:00
committed by GitHub
parent adc0653d15
commit 131b828807
311 changed files with 3976 additions and 2660 deletions

View File

@ -2,11 +2,12 @@
namespace Database\Factories;
use App\Models\StorageProvider;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<\App\Models\StorageProvider>
* @extends Factory<StorageProvider>
*/
class StorageProviderFactory extends Factory
{
@ -14,7 +15,7 @@ public function definition(): array
{
return [
'profile' => $this->faker->word(),
'provider' => $this->faker->randomElement(config('core.storage_providers')),
'provider' => $this->faker->randomElement(array_keys(config('storage-provider.providers'))),
'credentials' => [
'token' => 'test-token',
],