Generated API reports and hiding the "Retry" option if task is not retryable

Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
This commit is contained in:
bnechyporenko
2024-09-10 21:44:02 +02:00
committed by blam
parent 11e07521ab
commit 42b3a4c106
7 changed files with 48 additions and 19 deletions
+3
View File
@@ -292,6 +292,7 @@ export type SerializedTask = {
// @public
export type SerializedTaskEvent = {
id: number;
isTaskRecoverable?: boolean;
taskId: string;
body: JsonObject;
type: TaskEventType;
@@ -340,6 +341,8 @@ export interface TaskBroker {
// (undocumented)
recoverTasks?(): Promise<void>;
// (undocumented)
retry?(taskId: string): Promise<void>;
// (undocumented)
vacuumTasks(options: { timeoutS: number }): Promise<void>;
}