= 105123bb74 chore: introduce role management functionality with DTOs and Livewire components
- Added Role and User DTOs for dynamic role handling.
- Implemented table and badge components for displaying role data.
- Registered a Blade directive for scoped slots in `ScopeServiceProvider`.
- Updated dashboard views to include role management section.
2026-05-08 13:15:00 +00:00

23 lines
489 B
PHP

<?php
declare(strict_types=1);
namespace App\Data\Ui\ManageRoles;
use App\Data\Users\UsersData;
use App\Enums\RolesStatus;
use Livewire\Wireable;
use Spatie\LaravelData\Concerns\WireableData;
use Spatie\LaravelData\Data;
final class RoleData extends Data implements Wireable
{
use WireableData;
public function __construct(
public string $name,
public UsersData $users,
public ServiceCollection $services,
public RolesStatus $status,
) {}
}