Interface TorrentInfo

interface TorrentInfo {
    error: string;
    id: number;
    result: {
        files_tree: {
            contents: Record<string, TorrentContentFile | TorrentContentDir>;
        };
        info_hash: string;
        name: string;
    };
}

Hierarchy (view full)

Properties

Properties

error: string
id: number

mostly usless id that increments with every request

result: {
    files_tree: {
        contents: Record<string, TorrentContentFile | TorrentContentDir>;
    };
    info_hash: string;
    name: string;
}

Type declaration