@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_.
17 lines (16 loc) • 507 B
TypeScript
import { StateType } from '../models/StateType';
export type IStateHistory = {
stateType: StateType;
stateName: string;
countRuns: number;
sumEstimatedRunTime: number;
sumEstimatedLateness: number;
};
export declare class StateHistory implements IStateHistory {
readonly stateType: StateType;
readonly stateName: string;
readonly countRuns: number;
readonly sumEstimatedRunTime: number;
readonly sumEstimatedLateness: number;
constructor(state: IStateHistory);
}