Skip to content

Commit

Permalink
feat: activitySchema 增加 dingFiles 类型
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqin committed Nov 3, 2021
1 parent 3c25062 commit f86fa9f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/schemas/Activity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -61,6 +69,7 @@ export interface ActivitySchema {
comment: string
content: string
attachments: File[]
dingFiles: DingFile[]
voice: Voice
mentionsArray: string[]
mentions: {
Expand Down

0 comments on commit f86fa9f

Please sign in to comment.