@prefecthq/prefect-ui-library
Version:
This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.
33 lines (32 loc) • 1.14 kB
text/typescript
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<string, TaskInputResponse[]> | 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,
}