This commit is contained in:
2023-06-26 21:51:50 +08:00
parent 4a9687a045
commit ddf3a0a878
11 changed files with 157 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
import { Client } from "./client.ts";
import { Config } from "./config.ts";
import { Config, ConfigType } from "./config.ts";
import { EhDb } from "./db.ts";
import { MeiliSearchServer } from "./meilisearch.ts";
import { check_running } from "./pid_check.ts";
@@ -28,6 +28,7 @@ export class AlreadyClosedError extends Error {
}
type EventMap = {
current_cfg_updated: ConfigType;
new_task: Task;
task_started: Task;
task_finished: Task;