From bcb040de3e271376381d1b1346b3858e34ea6bfb Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 12 May 2022 16:51:08 +0200 Subject: [PATCH] chore: change api report to make it more narrow Signed-off-by: blam Signed-off-by: blam --- plugins/scaffolder-backend/api-report.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/scaffolder-backend/api-report.md b/plugins/scaffolder-backend/api-report.md index b09939e68a..1c333eb85f 100644 --- a/plugins/scaffolder-backend/api-report.md +++ b/plugins/scaffolder-backend/api-report.md @@ -395,7 +395,7 @@ export class DatabaseTaskStore implements TaskStore { // (undocumented) heartbeatTask(taskId: string): Promise; // (undocumented) - list(options: Partial): Promise; + list(options: { createdBy?: string }): Promise; // (undocumented) listEvents({ taskId, after }: TaskStoreListEventsOptions): Promise<{ events: SerializedTaskEvent[]; @@ -521,7 +521,7 @@ export interface TaskBroker { // (undocumented) get(taskId: string): Promise; // (undocumented) - list(options?: Partial): Promise; + list(options?: { createdBy?: string }): Promise; // (undocumented) vacuumTasks(options: { timeoutS: number }): Promise; } @@ -620,7 +620,7 @@ export interface TaskStore { // (undocumented) heartbeatTask(taskId: string): Promise; // (undocumented) - list(options: Partial): Promise; + list(options: { createdBy?: string }): Promise; // (undocumented) listEvents({ taskId, after }: TaskStoreListEventsOptions): Promise<{ events: SerializedTaskEvent[];