21 lines
454 B
TypeScript
21 lines
454 B
TypeScript
import { OutLinkChatAuthProps } from '../../support/permission/chat.d';
|
|
|
|
export type preUploadImgProps = OutLinkChatAuthProps & {
|
|
// 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;
|
|
}[];
|