refactor: move AddTorrentRequest to shared library for type safety
All checks were successful
Build MIPS Binary / build (push) Successful in 4m28s

This commit is contained in:
spinline
2026-02-08 22:43:35 +03:00
parent f2dfa7963e
commit 129a4c7586
4 changed files with 12 additions and 17 deletions

View File

@@ -125,7 +125,7 @@ struct Args {
),
components(
schemas(
handlers::AddTorrentRequest,
shared::AddTorrentRequest,
shared::TorrentActionRequest,
shared::Torrent,
shared::TorrentStatus,
@@ -172,7 +172,7 @@ struct ApiDoc;
),
components(
schemas(
handlers::AddTorrentRequest,
shared::AddTorrentRequest,
shared::TorrentActionRequest,
shared::Torrent,
shared::TorrentStatus,