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

16 lines (15 loc) 546 B
import { GraphNode, TaskRunInputType } from '../models'; import { MockFunction } from '../services/Mocker'; export type Shape = 'linear' | 'fanOut' | 'fanOutIn'; export type GraphOptions = { shape?: Shape; size?: number; fanMultiplier?: number; ids?: string[]; }; export type UpstreamReference = { id: string; inputType: TaskRunInputType; }; export declare const randomGraphNode: MockFunction<GraphNode, [Partial<GraphNode>?]>; export declare const randomFlowRunGraph: MockFunction<GraphNode[], [Partial<GraphOptions>?]>;