diff options
-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[] } |