feat: Add in more options in the adding of a daemon

This commit is contained in:
BluJ
2023-04-27 11:56:39 -06:00
parent c1226cf2b4
commit 07ecc59611
3 changed files with 37 additions and 21 deletions

View File

@@ -13,10 +13,7 @@ type Daemon<
command: ValidIfNoStupidEscape<Command> | [string, ...string[]]
ready: {
display: null | {
name: string
message: string
}
display: string | null
fn: () => Promise<CheckResult> | CheckResult
trigger?: Trigger
}