From bec28c2d5437277b847978b9ec2033e1e12c114a Mon Sep 17 00:00:00 2001 From: Larsluph <22910497+Larsluph@users.noreply.github.com> Date: Sun, 5 Nov 2023 18:59:26 +0100 Subject: [PATCH] fix build errors --- src/utils/faker.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/faker.ts b/src/utils/faker.ts index b7de83ec..1c1be3ef 100644 --- a/src/utils/faker.ts +++ b/src/utils/faker.ts @@ -51,6 +51,7 @@ export function generateTorrent(data: Partial): 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 { 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 */