Massive cleanup and plugbox cleanup

This commit is contained in:
Zef Hemel
2022-03-23 15:41:12 +01:00
parent a916088215
commit 09d07d587f
34 changed files with 695 additions and 525 deletions
+4 -2
View File
@@ -1,5 +1,6 @@
import * as plugbox from "../plugbox/types";
import { EndpointHook } from "../plugbox/types";
import { EndpointHook } from "../plugbox/feature/endpoint";
import { CronHook } from "../plugbox/feature/node_cron";
export type CommandDef = {
// Function name to invoke
@@ -18,6 +19,7 @@ export type SilverBulletHooks = {
commands?: {
[key: string]: CommandDef;
};
} & plugbox.EndpointHook;
} & EndpointHook &
CronHook;
export type Manifest = plugbox.Manifest<SilverBulletHooks>;