- Introduced `HandlesOperations` trait for reusable error handling with toasts and logging. - Added `StoreConnectionProviderForm` Livewire component with validation and slug uniqueness check. - Implemented `StoreConnectionProviderRequestData` DTO for structured data handling. - Updated `ConnectionProviderService` to include `create()` method using database transactions. - Registered new routes for creating connection providers. - Enhanced `ConnectionProvider` model with `Fillable` attribute for `name` and `slug`.
22 lines
662 B
PHP
22 lines
662 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::view('/', 'welcome')->name('home');
|
|
|
|
Route::group(['middleware' => ['auth', 'verified']], function (): void {
|
|
Route::livewire('dashboard', 'pages::dashboard')->name('dashboard');
|
|
|
|
Route::prefix('connected-apps')->name('connected-apps.')->group(function (): void {
|
|
Route::livewire('create', 'pages::connected-apps.create')->name('create');
|
|
});
|
|
|
|
Route::prefix('connection-providers')->name('users.')->group(function (): void {
|
|
Route::livewire('create', 'pages::connecton-providers.create')->name('create');
|
|
});
|
|
});
|
|
|
|
require __DIR__.'/settings.php';
|