UploadFile
@flatfile/adapter
› UploadFileHierarchy
- UploadFile
Index
Constructors
Accessors
Constructors
constructor
+ new UploadFile(file
:
FileObject
): UploadFileDefined in src/upload-file.ts:4
Parameters:
Name | Type |
---|---|
file | FileObject |
Returns: UploadFile
Accessors
filename
• get filename(): string
Defined in src/upload-file.ts:20
The original filename on the user's system
Returns: string
filesize
• get filesize(): number
Defined in src/upload-file.ts:27
The size of the file in bytes
Returns: number
filetype
• get filetype(): string
Defined in src/upload-file.ts:34
The type of file
Returns: string
id
• get id(): string
Defined in src/upload-file.ts:13
A unique UUID referencing this file in the Flatfile system
Returns: string
url
• get url(): string
Defined in src/upload-file.ts:41
A securely signed url giving you temporary access to download the file
Returns: string