API: torrents upload/list

This commit is contained in:
xiaomlove
2025-04-17 01:39:40 +07:00
parent 0d3a46231d
commit 2b029eba10
72 changed files with 2332 additions and 507 deletions
+10
View File
@@ -7,5 +7,15 @@ enum PermissionEnum: string {
case BE_ANONYMOUS = 'beanonymous';
case TORRENT_LIST = 'torrent:list';
case TORRENT_VIEW = 'torrent:view';
case TORRENT_VIEW_SPECIAL = 'view_special_torrent';
case TORRENT_SET_HR = 'torrent_hr';
case TORRENT_SET_PRICE = 'torrent-set-price';
case TORRENT_SET_STICKY = 'torrentsticky';
case TORRENT_MANAGE = 'torrentmanage';
case TORRENT_APPROVAL_ALLOW_AUTOMATIC = 'torrent-approval-allow-automatic';
case TORRENT_SET_SPECIAL_TAG = 'torrent-set-special-tag';
case UPLOAD = 'upload';
case USER_VIEW = "user:view";
}