Initial commit

This commit is contained in:
2023-08-31 21:44:37 -05:00
commit f7a8fe6ea8
23 changed files with 10464 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
"use strict";
import { Context, Service, ServiceBroker, ServiceSchema, Errors } from "moleculer";
export default class TorrentService extends Service {
// @ts-ignore
public constructor(
public broker: ServiceBroker,
schema: ServiceSchema<{}> = { name: "torrent" },
) {
super(broker);
this.parseServiceSchema({
name: "torrent",
mixins: [],
hooks: {},
actions: {},
methods: {},
});
}
}