diff --git a/services/torrent/src/services/Database.ts b/services/torrent/src/services/Database.ts index 817c680..832bbb9 100644 --- a/services/torrent/src/services/Database.ts +++ b/services/torrent/src/services/Database.ts @@ -7,10 +7,10 @@ export default class Database extends DatabaseService /** * The entities to use */ - protected entities: EntitySchemaTypes[] = Object.values(entities); + protected override entities: EntitySchemaTypes[] = Object.values(entities); /** * Override the createConnection function to correctly register with the connection manager */ - protected createConnection = createConnection; + protected override createConnection = createConnection; } diff --git a/services/torrent/src/services/IpcInterface.ts b/services/torrent/src/services/IpcInterface.ts index cb0d175..99d5571 100644 --- a/services/torrent/src/services/IpcInterface.ts +++ b/services/torrent/src/services/IpcInterface.ts @@ -29,7 +29,7 @@ export default class IpcInterface extends IpcServerService /** * Boot the IPC interface */ - public async boot() { + public override async boot() { this.torrentClient = this.app.service("Torrent Client"); await super.boot(); } @@ -37,7 +37,7 @@ export default class IpcInterface extends IpcServerService /** * Install the the event handlers */ - protected installMessageHandlers() { + protected override installMessageHandlers() { this.addMessageHandler("add", this.add); this.addMessageHandler("remove", this.remove); this.addMessageHandler("list", this.list); diff --git a/services/torrent/src/services/TorrentClient.ts b/services/torrent/src/services/TorrentClient.ts index 635f717..84fdf1b 100644 --- a/services/torrent/src/services/TorrentClient.ts +++ b/services/torrent/src/services/TorrentClient.ts @@ -50,7 +50,7 @@ export class TorrentClient extends InternalService /** * Boot the service */ - public async boot() { + public override async boot() { this.__webtorrent = new WebTorrent(); this.__webtorrent.on("error", error => this.onError(error)); @@ -68,7 +68,7 @@ export class TorrentClient extends InternalService * @TODO really this is kinda bad putting this here... * Start the torrent client */ - public start() { + public override start() { this.log("Loading torrents..."); this.loadTorrents(); }