refactor: Add frontend code to DB-GPT (#912)

This commit is contained in:
katakuri
2023-12-11 00:05:42 +08:00
committed by GitHub
parent b8dc9cf11e
commit 43190ca333
189 changed files with 19179 additions and 16 deletions

23
web/types/prompt.ts Normal file
View File

@@ -0,0 +1,23 @@
export type PromptParams = {
prompt_type: string;
current: number;
pageSize: number;
hideOnSinglePage: boolean;
showQuickJumper: boolean;
};
export interface UpdatePromptParams extends IPrompt {
prompt_type: string;
}
export interface IPrompt {
chat_scene: string;
content: string;
gmt_created: string;
gmt_modified: string;
id: number;
prompt_name: string;
prompt_type: string;
sub_chat_scene: string;
user_name?: string;
}