import { EmpiricalPolicyResponse } from '@/models/api/EmpiricalPolicyResponse' import { StateResponse } from '@/models/api/StateResponse' import { TaskInputResponse } from '@/models/api/TaskInputResponse' import { ServerStateType } from '@/models/StateType' import { DateString } from '@/types/dates' export type TaskRunResponse = { id: string, created: string, updated: string, name: string | null, flow_run_id: string | null, task_key: string, dynamic_key: string, cache_key: string | null, cache_expiration: DateString | null, task_version: string | null, empirical_policy: EmpiricalPolicyResponse | null, tags: string[] | null, state_id: string | null, task_inputs: Record | null, state_type: ServerStateType | null, state_name: string | null, run_count: number | null, expected_start_time: DateString | null, next_scheduled_start_time: DateString | null, start_time: DateString | null, end_time: DateString | null, total_run_time: number | null, estimated_run_time: number | null, estimated_start_time_delta: number | null, state: StateResponse | null, }