@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_.
23 lines (22 loc) • 718 B
TypeScript
import { SchemaResponse } from '../../models/api/SchemaResponse';
import { ServerWorkPoolStatus } from '../../models/WorkPoolStatus';
import { DateString } from '../../types/dates';
export type BaseJobTemplateResponse = {
job_configuration?: Record<string, string>;
variables?: SchemaResponse;
};
export type WorkPoolResponse = {
id: string;
created: DateString;
updated: DateString;
name: string;
description: string | null;
type: string;
is_paused: boolean | null;
is_push_pool?: boolean;
is_mex_pool?: boolean;
concurrency_limit: number | null;
default_queue_id: string;
base_job_template: BaseJobTemplateResponse;
status: ServerWorkPoolStatus | null;
};