Skip to content

Commit

Permalink
feat: CustomFieldWorkSnapshotItem add source rawData field
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuyoou committed Nov 27, 2020
1 parent 17c6c0b commit ed7de5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/teambition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,16 @@ declare module 'teambition-types' {
removable?: boolean
}

export interface CustomFieldWorkSnapshotItem {
export interface CustomFieldWorkSnapshotItem<T = unknown> {
_id: FileId
fileType: string
fileName: string
fileSize: number
thumbnail: string
thumbnailUrl: string
fileCategory: string
source?: string
rawData?: T
}

export interface CustomFieldValue {
Expand Down

0 comments on commit ed7de5b

Please sign in to comment.