perf: init chat content.use mongo aggregate
This commit is contained in:
10
src/types/chat.d.ts
vendored
10
src/types/chat.d.ts
vendored
@@ -3,13 +3,3 @@ export type ChatItemType = {
|
||||
value: string;
|
||||
deleted?: boolean;
|
||||
};
|
||||
|
||||
export type ChatSiteItemType = {
|
||||
status: 'loading' | 'finish';
|
||||
} & ChatItemType;
|
||||
|
||||
export type HistoryItem = {
|
||||
chatId: string;
|
||||
title: string;
|
||||
history?: ChatSiteItemType[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user