feat: custom title and set history top

This commit is contained in:
archer
2023-05-29 22:24:49 +08:00
parent 7fe39c2515
commit 2fce76202a
11 changed files with 210 additions and 161 deletions

View File

@@ -85,10 +85,12 @@ export interface ChatSchema {
userId: string;
modelId: string;
expiredTime: number;
loadAmount: number;
updateTime: Date;
title: string;
customTitle: string;
latestChat: string;
top: boolean;
content: ChatItemType[];
customTitle: Boolean;
}
export interface ChatPopulate extends ChatSchema {
userId: UserModelSchema;