From 7fad565f523dd1aa1698b2963491acf2d1be80d4 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Sat, 1 Apr 2023 14:01:33 +0000 Subject: [PATCH] Added interface that represents an uploaded file --- src/platforms/uploaded-file.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/platforms/uploaded-file.ts diff --git a/src/platforms/uploaded-file.ts b/src/platforms/uploaded-file.ts new file mode 100644 index 0000000..90b410a --- /dev/null +++ b/src/platforms/uploaded-file.ts @@ -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; +}