feat(api): lab5 serve attachment variants in json and content endpoints

This commit is contained in:
Голиков Maximillian Антон
2026-11-09 14:51:17 +03:00
parent 22c876f63c
commit bb5f2fb237
4 changed files with 27 additions and 8 deletions
+2
View File
@@ -65,4 +65,6 @@ type Attachment struct {
LockedUntil *time.Time // lease; nil = не арендовано
PipelineVersion int // guard в CompleteJob; в БД default 1
StagingKey string // S3-ключ оригинала до 202; "" в lab4-пути
Variants []AttachmentVariant
}