From 3642f6543e144e89f5c9c08b81b0099e0472b24c Mon Sep 17 00:00:00 2001 From: haoqin Date: Wed, 3 Nov 2021 17:01:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20activitySchema=20=E5=A2=9E=E5=8A=A0=20d?= =?UTF-8?q?ingFiles=20=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/schemas/Activity.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/schemas/Activity.ts b/src/schemas/Activity.ts index da02f094e..42b87c62f 100644 --- a/src/schemas/Activity.ts +++ b/src/schemas/Activity.ts @@ -50,6 +50,14 @@ export interface Share { description: string } +interface DingFile { + spaceId: string + fileId: string + fileName: string + fileSize: number + fileType: string +} + export interface ActivitySchema { _boundToObjectId: DetailObjectId _creatorId: UserId @@ -61,6 +69,7 @@ export interface ActivitySchema { comment: string content: string attachments: File[] + dingFiles: DingFile[] voice: Voice mentionsArray: string[] mentions: {