Implement Authentication States, show logout options in auth store and services. Make DB and controllers to make messages grouped by chats. Refactor backend code to use DTO.
10 lines
106 B
PHP
10 lines
106 B
PHP
<?php
|
|
|
|
namespace App\Enums\Chats;
|
|
|
|
enum ChatRoles: string
|
|
{
|
|
case USER = 'user';
|
|
case AI = 'ai';
|
|
}
|