chat logs filter & export (#3737)

* chat logs filter & export

* export chat detail
This commit is contained in:
heheer
2025-02-11 16:32:47 +08:00
committed by GitHub
parent 8738c32fb0
commit f002896a24
8 changed files with 505 additions and 153 deletions

View File

@@ -1,7 +1,13 @@
import { ChatSourceEnum } from '@fastgpt/global/core/chat/constants';
import { UsageSourceEnum } from '@fastgpt/global/support/wallet/usage/constants';
import { PaginationProps } from '@fastgpt/web/common/fetch/type';
export type GetAppChatLogsParams = PaginationProps<{
export type GetAppChatLogsProps = {
appId: string;
dateStart: Date;
dateEnd: Date;
}>;
sources?: ChatSourceEnum[];
logTitle?: string;
};
export type GetAppChatLogsParams = PaginationProps<GetAppChatLogsProps>;