Files
FastGPT/packages/global/common/file/api.d.ts
2023-12-08 15:01:11 +08:00

16 lines
280 B
TypeScript

export type UploadImgProps = {
base64Img: string;
expiredTime?: Date;
metadata?: Record<string, any>;
shareId?: string;
};
export type UrlFetchParams = {
urlList: string[];
selector?: string;
};
export type UrlFetchResponse = {
url: string;
content: string;
}[];