- Add TableHeader DTO - Refactor Toggle component to have checked prop, as wire:model does not work - add null collasing for php 8.5 strict compatibility in scope directive - refactor card component so that actions stay on the right - make button component scaled small on active and change color on hover
19 lines
328 B
PHP
19 lines
328 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Data\Ui\ManageRoles;
|
|
|
|
use Spatie\LaravelData\Data;
|
|
|
|
final class PermissionData extends Data
|
|
{
|
|
public function __construct(
|
|
public string $name,
|
|
public bool $view,
|
|
public bool $create,
|
|
public bool $update,
|
|
public bool $delete,
|
|
) {}
|
|
}
|