@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_.
29 lines (28 loc) • 700 B
TypeScript
export declare const logLevel: readonly [0, 10, 20, 30, 40, 50];
export type LogLevel = typeof logLevel[number];
export interface ILog {
id: string;
created: Date;
updated: Date;
name: string;
level: LogLevel;
message: string;
timestamp: Date;
flowRunId: string;
taskRunId: string | null;
workerId: string | null;
}
export declare class Log implements ILog {
readonly id: string;
readonly created: Date;
readonly updated: Date;
readonly kind = "log";
name: string;
level: LogLevel;
message: string;
timestamp: Date;
flowRunId: string;
taskRunId: string | null;
workerId: string | null;
constructor(log: ILog);
}