feat(uploads): preview storage paths, detect templates, attach covers and withdraw batches
ci / module boundaries / boundaries (push) Successful in 7s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 55s
ci / ts / ts (packages + web) (push) Failing after 4m4s
ci / api / api (push) Successful in 55s
ci / db / db (push) Failing after 1m14s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m11s

This commit is contained in:
mrleo1nid committed 2026-10-29 10:28:29 +03:00
1 parent 5e2d1e902b
commit 64dd8ed05e
29 files changed
+1219 -471

No files matched your search

@@ -2233,6 +2233,8 @@ export interface components {
}[];
};
UploadBatchRequest: {
/** @description Обложка альбома JPEG, PNG или WebP, до 8 МБ после декодирования. Применяется ко всем файлам пачки. */
cover_base64?: string;
comment?: string;
files: {
client_id: string;
@@ -2314,6 +2316,8 @@ export interface components {
target_source_id: string | null;
/** @description Путь в хранилище по write_template (null — не построился, причина в status_reason) */
target_rel_path: string | null;
/** @description Название целевого хранилища; null, если хранилище не выбрано или удалено */
target_source_name?: string | null;
status_reason: string | null;
/** Format: date-time */
reviewed_at: string | null;
@@ -2695,6 +2699,12 @@ export interface components {
};
WriteTemplateSuggestion: {
template: string;
/** @description Число путей выборки, совпавших с предложенным шаблоном */
matched?: number;
/** @description Число исследованных файлов хранилища */
total?: number;
/** @description До трёх существующих путей, совпавших с шаблоном */
examples?: string[];
};
WriteTemplateCheckRequest: {
template: string;
@@ -4413,6 +4423,8 @@ export interface operations {
listMyUploads: {
parameters: {
query?: {
/** @description Только файлы указанной собственной пачки */
batch?: string;
/** @description Статусы через запятую */
status?: components["parameters"]["UploadStatusFilter"];
limit?: components["parameters"]["Limit"];