mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-24 02:38:58 +00:00
25 lines
449 B
TypeScript
25 lines
449 B
TypeScript
/**
|
|
* CompanionFile represents a file object returned by the Companion API.
|
|
*/
|
|
export type CompanionFile = {
|
|
id: string
|
|
name: string
|
|
/*
|
|
* Url to the thumbnail icon
|
|
*/
|
|
icon: string
|
|
type: string
|
|
mimeType: string
|
|
extension: string
|
|
size: number
|
|
isFolder: boolean
|
|
modifiedDate: string
|
|
thumbnail?: string
|
|
requestPath: string
|
|
relDirPath?: string
|
|
absDirPath?: string
|
|
author?: {
|
|
name?: string
|
|
url?: string
|
|
}
|
|
}
|