1
0
silverbullet/common/manifest.ts
2022-03-29 12:13:46 +02:00

17 lines
586 B
TypeScript

import * as plugos from "../plugos/types";
import { EndpointHookT } from "../plugos/hooks/endpoint";
import { CronHookT } from "../plugos/hooks/node_cron";
import { EventHookT } from "../plugos/hooks/event";
import { CommandHookT } from "../webapp/hooks/command";
import { SlashCommandHookT } from "../webapp/hooks/slash_command";
import { CompleterHookT } from "../webapp/hooks/completer";
export type SilverBulletHooks = CommandHookT &
CompleterHookT &
SlashCommandHookT &
EndpointHookT &
CronHookT &
EventHookT;
export type Manifest = plugos.Manifest<SilverBulletHooks>;