UNPKG

@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_.

13 lines (12 loc) 821 B
import { RunGraphData, RunGraphNode, RunGraphArtifact, RunGraphStateEvent } from '@prefecthq/graphs'; import { RunGraphDataResponse, RunGraphNodeResponse, RunGraphArtifactResponse, RunGraphStateResponse } from '../models/api/RunGraphDataResponse'; import { MapFunction } from '../services/Mapper'; export declare const mapRunGraphNodeResponse: MapFunction<RunGraphNodeResponse, RunGraphNode>; export declare const mapRunGraphArtifactResponse: MapFunction<RunGraphArtifactResponse, RunGraphArtifact>; export declare const mapRunGraphStateResponse: MapFunction<RunGraphStateResponse, RunGraphStateEvent>; type FlowRunGraphResponseSource = { graph: RunGraphDataResponse; nestedTaskRunGraphs: boolean; }; export declare const mapRunGraphDataResponse: MapFunction<FlowRunGraphResponseSource, RunGraphData>; export {};