@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_.
20 lines (19 loc) • 746 B
TypeScript
import { SchemaPropertyResponse } from '../../models/api/SchemaResponse';
export type DefaultBaseJobConfigurationResponse = {
job_configuration: Record<string, unknown>;
variables: SchemaPropertyResponse;
};
export type WorkerCollectionItemResponse = {
default_base_job_configuration?: DefaultBaseJobConfigurationResponse;
description?: string;
display_name?: string;
documentation_url?: string;
install_command?: string;
logo_url?: string;
type?: string;
is_beta?: boolean;
is_push_pool?: boolean;
is_mex_pool?: boolean;
};
export type WorkerCollectionResponse = Record<string, WorkerCollectionItemResponse>;
export type PrefectWorkerCollectionResponse = Record<string, WorkerCollectionResponse>;