mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-28 15:42:55 +00:00
Some checks failed
deploy-docs / deploy-production (push) Has been cancelled
Build docs images and copy image to docker hub / build-fastgpt-docs-images (push) Has been cancelled
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Has been cancelled
Build docs images and copy image to docker hub / push-to-docker-hub (push) Has been cancelled
Build docs images and copy image to docker hub / update-docs-image (push) Has been cancelled
Co-authored-by: Mufei <327958099@qq.com> Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
24 lines
541 B
TypeScript
24 lines
541 B
TypeScript
import { MongoImageTypeEnum } from './image/constants';
|
|
import { OutLinkChatAuthProps } from '../../support/permission/chat.d';
|
|
|
|
export type preUploadImgProps = OutLinkChatAuthProps & {
|
|
type: `${MongoImageTypeEnum}`;
|
|
|
|
expiredTime?: Date;
|
|
metadata?: Record<string, any>;
|
|
};
|
|
export type UploadImgProps = preUploadImgProps & {
|
|
base64Img: string;
|
|
};
|
|
|
|
export type UrlFetchParams = {
|
|
urlList: string[];
|
|
selector?: string;
|
|
};
|
|
export type UrlFetchResponse = {
|
|
url: string;
|
|
title: string;
|
|
content: string;
|
|
selector?: string;
|
|
}[];
|