Validate a TorrentSource and resolve it against the catalog.
TorrentSource
request.source from torrent.add.
request.source
torrent.add
Images to resolve against.
The resolved source or the NAP error to report.
parseTorrentSource({ sourceType: 'magnet', magnet: LINUX_DISTROS[0].magnet }, LINUX_DISTROS).ok === true; Copy
parseTorrentSource({ sourceType: 'magnet', magnet: LINUX_DISTROS[0].magnet }, LINUX_DISTROS).ok === true;
Validate a
TorrentSourceand resolve it against the catalog.