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 (21 loc) 607 B
import { ServerWorkPoolWorkerStatus } from '@/models/WorkPoolWorkerStatus' import { DateString } from '@/types/dates' export type WorkPoolWorkerResponse = { id: string, created: DateString, updated: DateString, name: string, work_pool_id: string, last_heartbeat_time: DateString, status: ServerWorkPoolWorkerStatus, client_version?: string | null, heartbeat_interval_seconds: number, metadata_: Record<string, unknown> | null, } export type WorkPoolWorkerPaginationResponse = { results: WorkPoolWorkerResponse[], count: number, limit: number, page: number, pages: number, }