From 0d7df8a33000f3ff606945ca70bd5e108a49a97f Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 21 Jun 2023 10:20:48 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20feat(api):=20add=20UploadFileTyp?= =?UTF-8?q?eAPI=20type=20definition=20This=20commit=20adds=20a=20new=20typ?= =?UTF-8?q?e=20definition=20for=20the=20UploadFileTypeAPI,=20which=20inclu?= =?UTF-8?q?des=20a=20single=20property=20file=5Fpath=20of=20type=20string.?= =?UTF-8?q?=20This=20type=20will=20be=20used=20to=20define=20the=20respons?= =?UTF-8?q?e=20of=20an=20API=20endpoint=20that=20handles=20file=20uploads.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/types/api/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/src/types/api/index.ts b/src/frontend/src/types/api/index.ts index 534657644..9bf66e3da 100644 --- a/src/frontend/src/types/api/index.ts +++ b/src/frontend/src/types/api/index.ts @@ -46,3 +46,7 @@ export type BuildStatusTypeAPI = { export type InitTypeAPI = { flowId: string; }; + +export type UploadFileTypeAPI = { + file_path: string; +};