upload file

This commit is contained in:
royalcat 2024-05-15 00:40:38 +03:00
parent 974814c281
commit fa1fdcfc63
5 changed files with 155 additions and 1 deletions
ui/lib/api

View file

@ -46,7 +46,7 @@ type Mutation {
validateTorrents(filter: TorrentFilter!): Boolean!
cleanupTorrents(files: Boolean, dryRun: Boolean!): CleanupResponse!
downloadTorrent(infohash: String!, file: String): DownloadTorrentResponse
uploadFile(file: Upload!): Boolean!
uploadFile(dir: String!, file: Upload!): Boolean!
dedupeStorage: Int!
}
input Pagination {