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

25 lines (22 loc) 520 B
export type IFlow = { id: string, created: Date, description: string, updated: Date, name: string, } export class Flow implements IFlow { public readonly id: string public readonly kind = 'flow' public readonly created: Date public readonly updated: Date public name: string public description: string public constructor(flow: IFlow) { this.id = flow.id this.created = flow.created this.updated = flow.updated this.name = flow.name this.description = flow.description } }