From 0c12d22f53865fadf7f6eb17b44396663ddbf0e0 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 16 Aug 2022 13:48:24 +0200 Subject: fix proto --- karlcommon/protocol.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] } -- cgit v1.2.3-70-g09d2