mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-03-23 19:08:41 +00:00
- ✨ Refactor edit.blade.php to handle admin-specific fields (accepted and sats_paid) through conditional logic.
- 📦 Upgrade Laravel framework, Livewire, and dependencies to ensure compatibility with version `13.1.1`.
This commit is contained in:
@@ -2,10 +2,13 @@
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Enums\NewsCategory;
|
||||
use App\Models\EinundzwanzigPleb;
|
||||
use App\Models\Notification;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Notification>
|
||||
* @extends Factory<Notification>
|
||||
*/
|
||||
class NotificationFactory extends Factory
|
||||
{
|
||||
@@ -19,8 +22,8 @@ class NotificationFactory extends Factory
|
||||
return [
|
||||
'name' => $this->faker->sentence(3),
|
||||
'description' => $this->faker->paragraph(),
|
||||
'category' => $this->faker->randomElement(\App\Enums\NewsCategory::cases()),
|
||||
'einundzwanzig_pleb_id' => \App\Models\EinundzwanzigPleb::factory(),
|
||||
'category' => $this->faker->randomElement(NewsCategory::cases()),
|
||||
'einundzwanzig_pleb_id' => EinundzwanzigPleb::factory(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user