mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-28 06:46:13 +03:00
fix build errors
This commit is contained in:
parent
ed0991e0a5
commit
bec28c2d54
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,7 @@ export function generateTorrent(data: Partial<Torrent>): Torrent {
|
|||
force_start: faker.datatype.boolean(),
|
||||
/** Torrent hash */
|
||||
hash: faker.string.uuid(),
|
||||
inactive_seeding_time_limit: faker.number.int({ min: 0, max: 50 }),
|
||||
/** TODO */
|
||||
infohash_v1: faker.string.uuid(),
|
||||
/** TODO */
|
||||
|
@ -59,6 +60,7 @@ export function generateTorrent(data: Partial<Torrent>): Torrent {
|
|||
last_activity: faker.number.int({ min: 0, max: 50 }),
|
||||
/** Magnet URI corresponding to this torrent */
|
||||
magnet_uri: faker.internet.url(),
|
||||
max_inactive_seeding_time: faker.number.int({ min: 0, max: 50 }),
|
||||
/** Maximum share ratio until torrent is stopped from seeding/uploading */
|
||||
max_ratio: faker.number.float({ min: 0, max: 1, precision: 0.01 }),
|
||||
/** Maximum seeding time (seconds) until torrent is stopped from seeding */
|
||||
|
|
Loading…
Reference in a new issue