feat: add TextWidget

add TextWidget CRUD api

add basic tests for API
This commit is contained in:
jon brookes 2026-01-08 16:22:47 +00:00
parent 13cfd2961f
commit c66645cbdd
18 changed files with 536 additions and 1 deletions

17
app/Models/TextWidget.php Normal file
View file

@ -0,0 +1,17 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class TextWidget extends Model
{
use HasFactory;
protected $fillable = [
'title',
'description',
'content',
];
}