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
+7
View File
@@ -735,6 +735,9 @@ message UploadFileReq {
message UploadFileRsp {
string error = 1;
string filename = 2;
// Тип загруженного файла: image | pdf | audio (определяется сервером по
// содержимому). Удобен редактору для предзаполнения file_type улики.
string file_type = 3 [json_name = "file_type"];
}
message DownloadFileReq {
@@ -810,6 +813,10 @@ message Place {
message Application {
string name = 1;
string image = 2;
// Тип файла улики: image | pdf | audio. Значение выводится сервером из
// расширения файла (см. file_storage.FileType); пустое значение возможно
// только для legacy-строк без расширения.
string file_type = 3 [json_name = "file_type"];
}
message Door {