@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_.
22 lines (19 loc) • 560 B
text/typescript
import { SchemaResponse } from '@/models/api/SchemaResponse'
export type BaseJobTemplateRequest = {
job_configuration?: Record<string, string>,
variables?: SchemaResponse,
}
export type WorkPoolCreateRequest = Partial<{
name: string,
description: string,
type: string,
is_paused: boolean,
concurrency_limit: number,
base_job_template: BaseJobTemplateRequest,
}>
export type WorkPoolEditRequest = Partial<{
description: string | null,
is_paused: boolean,
concurrency_limit: number | null,
base_job_template: BaseJobTemplateRequest,
}>