feat: add support for status filtering in scaffolder endpoint

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
Heikki Hellgren
2024-07-30 11:14:29 +03:00
parent e7dba9ff5d
commit c544f811b8
10 changed files with 86 additions and 26 deletions
+4 -1
View File
@@ -180,5 +180,8 @@ export interface TaskBroker {
get(taskId: string): Promise<SerializedTask>;
list?(options?: { createdBy?: string }): Promise<{ tasks: SerializedTask[] }>;
list?(options?: {
createdBy?: string;
status?: TaskStatus;
}): Promise<{ tasks: SerializedTask[] }>;
}