@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) • 319 B
TypeScript
import { StateDetails } from '../models/StateDetails';
import { StateType } from '../models/StateType';
export type State = {
id: string;
kind: 'state';
type: StateType;
message: string;
stateDetails: StateDetails | null;
data: Record<string, unknown>;
timestamp: Date;
name: string;
};