diff options
author | metamuffin <yvchraiqi@protonmail.com> | 2022-08-16 13:48:24 +0200 |
---|---|---|
committer | metamuffin <yvchraiqi@protonmail.com> | 2022-08-16 13:48:24 +0200 |
commit | 0c12d22f53865fadf7f6eb17b44396663ddbf0e0 (patch) | |
tree | 455ac2e2455dfad79e709aaf3fe5147d623bdfae | |
parent | 09ee50601311c802e67e1f7b0a5278c334d2e406 (diff) | |
download | karlender-0c12d22f53865fadf7f6eb17b44396663ddbf0e0.tar karlender-0c12d22f53865fadf7f6eb17b44396663ddbf0e0.tar.bz2 karlender-0c12d22f53865fadf7f6eb17b44396663ddbf0e0.tar.zst |
fix proto
-rw-r--r-- | karlcommon/protocol.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/karlcommon/protocol.d.ts b/karlcommon/protocol.d.ts index 0d93cea..8d147d0 100644 --- a/karlcommon/protocol.d.ts +++ b/karlcommon/protocol.d.ts @@ -25,7 +25,7 @@ export interface Task { export type Schedule = { type: "never" } | { type: "static", options: Range } | { type: "condition", options: Condition } - | { type: "dynamic", options: { priority: number, scheduled?: number, deadline?: number } } + | { type: "dynamic", options: { priority: number, scheduled?: number, duration: number, deadline?: Condition } } export type Condition = { from?: Condition } | { or?: Condition[] } |