Merge pull request #25831 from drodil/scaffolder_tasks_status_filter
feat: add support for status filtering in scaffolder endpoint
This commit is contained in:
@@ -315,7 +315,7 @@ export interface TaskBroker {
|
||||
// (undocumented)
|
||||
get(taskId: string): Promise<SerializedTask>;
|
||||
// (undocumented)
|
||||
list?(options?: { createdBy?: string }): Promise<{
|
||||
list?(options?: { createdBy?: string; status?: TaskStatus }): Promise<{
|
||||
tasks: SerializedTask[];
|
||||
}>;
|
||||
// (undocumented)
|
||||
|
||||
@@ -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[] }>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user