add all controllers logic
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests\Ui;
|
||||
|
||||
use App\Http\Requests\ApiFormRequest;
|
||||
|
||||
class UiStyleRequest extends ApiFormRequest
|
||||
{
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'accent' => ['nullable', 'string', 'max:50'],
|
||||
'menu' => ['nullable', 'string', 'max:50'],
|
||||
'menu_bg' => ['nullable', 'string', 'max:20'],
|
||||
'menu_text' => ['nullable', 'string', 'max:20'],
|
||||
'menu_mode' => ['nullable', 'in:light,dark,auto'],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user