From 29491bce018fcd0b1d4f728eee5b5b4c8479f325 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..076f3fdf3 100644 --- a/src/schemas/Activity.ts +++ b/src/schemas/Activity.ts @@ -50,6 +50,14 @@ export interface Share { description: string } +export 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: {