- Introduced `StoreURLAppForm` and `StoreURLAppData` for form handling and data transformation. - Added `UrlAppService` to streamline URL app creation with settings like `accessUrl` and `isConnectedToMicrosoft`. - Enhanced user access controls with role-based permissions using `UserAccessTypeEnum`. - Updated UI for URL app creation with support for logos and dynamic role selection. - Implemented feature tests to validate URL app creation and access URL formatting.
25 lines
577 B
PHP
25 lines
577 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Data\Ui\Dashboard;
|
|
|
|
use Spatie\LaravelData\Data;
|
|
|
|
class ServiceAppDto extends Data
|
|
{
|
|
public function __construct(
|
|
public int $id,
|
|
public string $name,
|
|
public string $slug,
|
|
public string $duration,
|
|
public bool $isUnlimited,
|
|
public int $daysRemaining,
|
|
public bool $isWarning,
|
|
public ?string $protocolName = null,
|
|
public ?string $providerSlug = null,
|
|
public ?string $accessUrl = null,
|
|
public bool $isConnectedToMicrosoft = false,
|
|
) {}
|
|
}
|