- Added services (`RoleService`, `AppRoleService`, `AppsPermissionService`) to handle role creation, app assignments, and permissions. - Introduced new Livewire forms for creating roles and assigning apps (`CreateRoleForm`, `AssignAppToRoleForm`). - Built dynamic Blade views for role and app management, including modals and reusable components. - Removed outdated `fluxui-development` skill documentation.
24 lines
565 B
PHP
24 lines
565 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Data\ConnectedApp;
|
|
|
|
use Spatie\LaravelData\Attributes\MapInputName;
|
|
use Spatie\LaravelData\Data;
|
|
|
|
final class ConnectedAppData extends Data
|
|
{
|
|
public function __construct(
|
|
public int $id,
|
|
public string $name,
|
|
#[MapInputName('connection_protocol_id')]
|
|
public int $protocolId,
|
|
#[MapInputName('connection_provider_id')]
|
|
public int $providerId,
|
|
#[MapInputName('connection_status_id')]
|
|
public int $statusId,
|
|
public ?string $slug = null,
|
|
) {}
|
|
}
|