Deprecate and re-export
Signed-off-by: solimant <solimant@users.noreply.github.com>
This commit is contained in:
@@ -39,7 +39,8 @@ export type TaskStatus =
|
||||
| 'completed'
|
||||
| 'failed'
|
||||
| 'open'
|
||||
| 'processing';
|
||||
| 'processing'
|
||||
| 'skipped';
|
||||
|
||||
/**
|
||||
* The state of a completed task.
|
||||
@@ -80,7 +81,11 @@ export type SerializedTaskEvent = {
|
||||
id: number;
|
||||
isTaskRecoverable?: boolean;
|
||||
taskId: string;
|
||||
body: JsonObject;
|
||||
body: {
|
||||
message: string;
|
||||
stepId?: string;
|
||||
status?: TaskStatus;
|
||||
} & JsonObject;
|
||||
type: TaskEventType;
|
||||
createdAt: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user