mirror of
https://github.com/csunny/DB-GPT.git
synced 2026-01-13 19:55:44 +00:00
62 lines
1.1 KiB
TypeScript
62 lines
1.1 KiB
TypeScript
export type PostAgentHubUpdateParams = {
|
|
channel: string;
|
|
url: string;
|
|
branch: string;
|
|
authorization: string;
|
|
};
|
|
|
|
export type PostAgentQueryParams = {
|
|
page_index: number;
|
|
page_size: number;
|
|
filter?: {
|
|
name?: string;
|
|
description?: string;
|
|
author?: string;
|
|
email?: string;
|
|
type?: string;
|
|
version?: string;
|
|
storage_channel?: string;
|
|
storage_url?: string;
|
|
};
|
|
};
|
|
|
|
export type IAgentPlugin = {
|
|
name: string;
|
|
description: string;
|
|
email: string;
|
|
version: string;
|
|
storage_url: string;
|
|
download_param: string;
|
|
installed: number;
|
|
id: number;
|
|
author: string;
|
|
type: string;
|
|
storage_channel: string;
|
|
created_at: string;
|
|
};
|
|
|
|
export type PostAgentPluginResponse = {
|
|
page_index: number;
|
|
page_size: number;
|
|
total_page: number;
|
|
total_row_count: number;
|
|
datas: IAgentPlugin[];
|
|
};
|
|
|
|
export type IMyPlugin = {
|
|
user_name: null | string;
|
|
id: number;
|
|
file_name: string;
|
|
version: string;
|
|
succ_count: number;
|
|
name: string;
|
|
tenant: null | string;
|
|
user_code: string;
|
|
type: string;
|
|
use_count: number;
|
|
created_at: string;
|
|
description: string;
|
|
};
|
|
|
|
export type PostAgentMyPluginResponse = IMyPlugin[];
|