add tiptap

This commit is contained in:
Timi
2026-08-21 01:11:23 +08:00
parent 763783b984
commit 68d9946b70
41 changed files with 5845 additions and 35 deletions
+19 -2
View File
@@ -8,7 +8,8 @@ export type Attachment = {
title?: string;
name?: string;
mimeType?: string;
metadata?: unknown;
metadata?: Record<string, any>;
accessKey?: AttachmentAccessKey;
size?: number;
md5?: string;
uploaderIp?: string;
@@ -28,4 +29,20 @@ export type BizIdUpdate = {
items: Partial<Attachment>[];
};
export type AttachmentBizType = | "USER" | "GAO_CUSTOMER" | "GAO_REGISTER_RECORD" | "TEMP_FILE" | "MIRROR";
export type AttachmentBizType =
| "ARTICLE"
| "USER"
| "GAO_CUSTOMER"
| "GAO_EVENT_RECORD"
| "GAO_REGISTER_RECORD"
| "TEMP_FILE"
| "MIRROR";
/** 附件访问密钥 */
export type AttachmentAccessKey = {
value: string;
attachmentId: string;
isDisposable: boolean;
expiredAt: number;
createdAt: number;
};