mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-30 05:20:55 +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(),
|
force_start: faker.datatype.boolean(),
|
||||||
/** Torrent hash */
|
/** Torrent hash */
|
||||||
hash: faker.string.uuid(),
|
hash: faker.string.uuid(),
|
||||||
|
inactive_seeding_time_limit: faker.number.int({ min: 0, max: 50 }),
|
||||||
/** TODO */
|
/** TODO */
|
||||||
infohash_v1: faker.string.uuid(),
|
infohash_v1: faker.string.uuid(),
|
||||||
/** TODO */
|
/** TODO */
|
||||||
|
@ -59,6 +60,7 @@ export function generateTorrent(data: Partial<Torrent>): Torrent {
|
||||||
last_activity: faker.number.int({ min: 0, max: 50 }),
|
last_activity: faker.number.int({ min: 0, max: 50 }),
|
||||||
/** Magnet URI corresponding to this torrent */
|
/** Magnet URI corresponding to this torrent */
|
||||||
magnet_uri: faker.internet.url(),
|
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 */
|
/** Maximum share ratio until torrent is stopped from seeding/uploading */
|
||||||
max_ratio: faker.number.float({ min: 0, max: 1, precision: 0.01 }),
|
max_ratio: faker.number.float({ min: 0, max: 1, precision: 0.01 }),
|
||||||
/** Maximum seeding time (seconds) until torrent is stopped from seeding */
|
/** Maximum seeding time (seconds) until torrent is stopped from seeding */
|
||||||
|
|
Loading…
Add table
Reference in a new issue