feat: added torrents list

This commit is contained in:
ner committed 2023-08-11 15:23:01 +03:00
1 parent 5d7a3464ed
commit dd7339b62c
11 files changed
+2303 -5

No files matched your search

Vendored
+46
View File
@@ -73,3 +73,49 @@ interface IDName<T = number> {
id: T;
name: string;
}
interface TrackerTorrent {
author: string;
category: string;
id: string;
leeches: number;
seeds: number;
size: number;
state: string;
title: string;
downloads: number;
registered: Date;
host: string;
}
interface PirateTorrent {
id: string;
name: string;
size: string;
link: string;
category: Category;
seeders: string;
leechers: string;
uploadDate: Date;
magnetLink: string;
subcategory: Category;
uploader: string;
verified: boolean;
uploaderLink: string;
}
interface Torrent {
id: string;
title: string;
seeders: number;
size: string;
magnetLink: string;
}
interface Category {
id: string;
name: string;
}
declare module 'rutracker-api-with-proxy';
declare module 'thepiratebayfixed';