remove deprecated api
This commit is contained in:
+6
-17
@@ -1,10 +1,10 @@
|
||||
import { Model } from "./Model";
|
||||
|
||||
export type Attachment = {
|
||||
bizType: AttachmentBizType;
|
||||
bizId: string;
|
||||
bizType?: AttachmentBizType;
|
||||
bizId?: string;
|
||||
attachType?: string;
|
||||
mongoId: string;
|
||||
mongoId?: string;
|
||||
title?: string;
|
||||
name?: string;
|
||||
mimeType?: string;
|
||||
@@ -17,26 +17,15 @@ export type Attachment = {
|
||||
tempFileId?: string;
|
||||
} & Model;
|
||||
|
||||
export type TempFileResp = {
|
||||
export type TempFile = {
|
||||
id: string;
|
||||
expireAt?: number;
|
||||
};
|
||||
|
||||
export type BizUpdateReq = {
|
||||
export type BizIdUpdate = {
|
||||
bizType: AttachmentBizType;
|
||||
bizId: string;
|
||||
items: Partial<Attachment>[];
|
||||
};
|
||||
|
||||
export enum AttachmentBizType {
|
||||
|
||||
USER = "USER",
|
||||
|
||||
GAO_CUSTOMER = "GAO_CUSTOMER",
|
||||
|
||||
GAO_REGISTER_RECORD = "GAO_REGISTER_RECORD",
|
||||
|
||||
TEMP_FILE = "TEMP_FILE",
|
||||
|
||||
MIRROR = "MIRROR"
|
||||
}
|
||||
export type AttachmentBizType = | "USER" | "GAO_CUSTOMER" | "GAO_REGISTER_RECORD" | "TEMP_FILE" | "MIRROR";
|
||||
|
||||
Reference in New Issue
Block a user