feat: autorisations

This commit is contained in:
2026-05-16 15:15:44 +02:00
parent 425d0d2498
commit 276978128d
7 changed files with 133 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class DeviceTokenRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'expo_push_token' => ['required', 'string', 'max:255'],
'platform' => ['nullable', 'string', 'in:ios,android,web'],
];
}
}