mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-09-25 17:15:19 +08:00
feat: implement stores and basic chat logic
This commit is contained in:
13
types/user.ts
Normal file
13
types/user.ts
Normal file
@ -0,0 +1,13 @@
|
||||
export enum UserRole {
|
||||
System = "system",
|
||||
User = "user",
|
||||
Assistant = "assistant",
|
||||
}
|
||||
|
||||
export interface User {
|
||||
id: string;
|
||||
name: string;
|
||||
description: string;
|
||||
avatar: string;
|
||||
role: UserRole;
|
||||
}
|
Reference in New Issue
Block a user