This commit is contained in:
@@ -14,9 +14,22 @@ export interface TaskListItem {
|
||||
assigned_host_id: string | null;
|
||||
attempt_count: number;
|
||||
failure_reason: string | null;
|
||||
target_host_id: string | null;
|
||||
target_device_id: string | null;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export interface TaskSubmissionPayload {
|
||||
goal?: string;
|
||||
workflow_definition_id?: string;
|
||||
constraints?: {
|
||||
driver_type?: string;
|
||||
capability_tags?: string[];
|
||||
target_host_id?: string;
|
||||
target_device_id?: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface TaskListResponse {
|
||||
items: TaskListItem[];
|
||||
total: number;
|
||||
|
||||
Reference in New Issue
Block a user