@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_.
19 lines (17 loc) • 511 B
text/typescript
import { StateResponse } from '@/models/api/StateResponse'
import { TaskRunInputType } from '@/models/GraphNode'
import { DateString } from '@/types/dates'
export type FlowRunGraphResponse = {
id: string,
name?: string,
upstream_dependencies: {
id: string,
input_type: TaskRunInputType,
}[],
state: StateResponse,
expected_start_time: DateString | null,
start_time: DateString | null,
end_time: DateString | null,
total_run_time: number | null,
estimated_run_time: number | null,
}