mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-28 11:21:06 -05:00
Added interface that represents an uploaded file
This commit is contained in:
parent
90564b0aa2
commit
7fad565f52
1 changed files with 19 additions and 0 deletions
19
src/platforms/uploaded-file.ts
Normal file
19
src/platforms/uploaded-file.ts
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
/**
|
||||||
|
* Represents an uploaded file.
|
||||||
|
*/
|
||||||
|
export interface UploadedFile {
|
||||||
|
/**
|
||||||
|
* The unique identifier of the file.
|
||||||
|
*/
|
||||||
|
id: number | string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The display name of the file.
|
||||||
|
*/
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The URL to download the file.
|
||||||
|
*/
|
||||||
|
url: string;
|
||||||
|
}
|
Loading…
Reference in a new issue