- Added `Choices` component for dropdowns with search and multi-selection functionality. - Implemented foundational classes for service connection: - `ConnectServiceData` - `ConnectedServiceFactory` - `ConnectedServicesService` - Added `ConnectServiceForm` Livewire component for managing service connections. - Introduced shared utility traits (`HasAttributeHelpers`) and error components. - Added components for generic use: `Input` and `ListItem`.
20 lines
417 B
PHP
20 lines
417 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Data\ConnectService;
|
|
|
|
use Spatie\LaravelData\Data;
|
|
|
|
class ConnectServiceData extends Data
|
|
{
|
|
public function __construct(
|
|
public string $name,
|
|
public int $serviceProviderId,
|
|
public int $serviceProtocolId,
|
|
public ?string $connectionService = null,
|
|
public ?string $logoUrl = null,
|
|
public ?string $slug = null,
|
|
) {}
|
|
}
|