This commit is contained in:
2026-08-30 22:11:28 +07:00
parent 2a33998a8c
commit a3f5eef6be
2 changed files with 14 additions and 0 deletions
@@ -166,6 +166,9 @@ export type UploadFileReq = {
export type UploadFileRsp = {
error: string | undefined;
filename: string | undefined;
// Тип загруженного файла: image | pdf | audio (определяется сервером по
// содержимому). Удобен редактору для предзаполнения file_type улики.
file_type: string | undefined;
};
export type DownloadFileReq = {
@@ -226,6 +229,10 @@ export type Place = {
export type Application = {
name: string | undefined;
image: string | undefined;
// Тип файла улики: image | pdf | audio. Значение выводится сервером из
// расширения файла (см. file_storage.FileType); пустое значение возможно
// только для legacy-строк без расширения.
file_type: string | undefined;
};
export type Door = {