mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-07 12:00:46 +00:00
refactor: Add frontend code to DB-GPT (#912)
This commit is contained in:
23
web/types/prompt.ts
Normal file
23
web/types/prompt.ts
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user