feat: implement connection and database types

This commit is contained in:
steven
2023-03-22 16:32:12 +08:00
parent 90a6fec65c
commit 5dc3c05a2a
11 changed files with 58 additions and 17 deletions

View File

@ -1,13 +1,6 @@
export enum UserRole {
System = "system",
User = "user",
Assistant = "assistant",
}
export interface User {
id: string;
name: string;
description: string;
avatar: string;
role: UserRole;
}