feat: добавить workflow управления asset в admin

- добавлены сценарии создания source version и generation jobs\n- добавлены modal формы source version и variants generation\n- обновлена detail panel variants actions и ссылки на public URL
This commit is contained in:
2026-05-05 15:20:24 +03:00
parent 6a018826f5
commit 8094535747
17 changed files with 626 additions and 9 deletions

View File

@@ -3,10 +3,9 @@ import { useSWRConfig } from "swr"
import { backendApi, getAssetsListKey } from "infra/backend-api"
import { ASSETS_DASHBOARD_LIST_PARAMS } from "../config/assets.config"
import { toError } from "../lib/to-error"
import type { CreateAssetAction, CreateAssetInput } from "../types/assets-api.type"
const toError = (error: unknown) => (error instanceof Error ? error : new Error("Неизвестная ошибка"))
/**
* Сценарий создания asset с обновлением списка.
*/