@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_.
27 lines (23 loc) • 625 B
text/typescript
import { SchemaProperty } from '@/types'
export type DefaultBaseJobConfiguration = {
jobConfiguration: Record<string, unknown>,
variables: SchemaProperty,
}
export type WorkerCollectionItem = {
defaultBaseJobConfiguration?: Record<string, unknown>,
description?: string,
displayName?: string,
documentationUrl?: string,
installCommand?: string,
logoUrl?: string,
type?: string,
isBeta?: boolean,
isPushPool?: boolean,
isMexPool?: boolean,
}
export type WorkerColection = Record<string, WorkerCollectionItem>
export type PrefectWorkerCollection = {
prefect: {
workers: WorkerColection,
},
}