diff options
Diffstat (limited to 'karld/protocol.d.ts')
-rw-r--r-- | karld/protocol.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/karld/protocol.d.ts b/karld/protocol.d.ts index be1a9bd..2eb1630 100644 --- a/karld/protocol.d.ts +++ b/karld/protocol.d.ts @@ -7,7 +7,7 @@ interface Error { type: "error", data: { kind: "unknown_task", details: null } | interface Handshake { type: "handshake", data: { version: string } } interface ListTasks { type: "list_tasks", data: null } interface TaskList { type: "task_list", data: Task[] } -interface ListInstances { type: "list_instances", data: null } +interface ListInstances { type: "list_instances", data: { task: number, range: Range } } interface InstanceList { type: "instance_list", data: Instance[] } interface UpdateTask { type: "update_task", data: Task } interface RemoveTask { type: "remove_task", data: number } |