@@ -24,6 +24,5 @@ export type {
|
||||
TaskCompletionState,
|
||||
TaskContext,
|
||||
TaskEventType,
|
||||
TaskState,
|
||||
TaskStatus,
|
||||
} from './types';
|
||||
|
||||
@@ -26,20 +26,6 @@ export type TaskSecrets = Record<string, string> & {
|
||||
backstageToken?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* The state of all task's checkpoints
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
export type TaskState = {
|
||||
[key: string]:
|
||||
| { status: 'failed'; reason: string }
|
||||
| {
|
||||
status: 'success';
|
||||
value: JsonValue;
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* The status of each step of the Task
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user