feat(#17): add commands and jobs to poll, download and update firmware

feat(#17): add commands and jobs to poll, download and update firmware

feat(#17): update firmware modal

feat(#17): add tests
This commit is contained in:
Benjamin Nussbaum 2025-05-29 00:49:56 +02:00
parent 93aac51182
commit 87b9b57c3d
13 changed files with 567 additions and 3 deletions

View file

@ -0,0 +1,24 @@
<?php
namespace Database\Factories;
use App\Models\Firmware;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Carbon;
class FirmwareFactory extends Factory
{
protected $model = Firmware::class;
public function definition(): array
{
return [
'version_tag' => $this->faker->word(),
'url' => $this->faker->url(),
'latest' => $this->faker->boolean(),
'storage_location' => $this->faker->word(),
'created_at' => Carbon::now(),
'updated_at' => Carbon::now(),
];
}
}