@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_.
42 lines (41 loc) • 1.35 kB
TypeScript
import { CreatedOrUpdatedByResponse } from '../../index';
import { SchemaResponseV2, SchemaValuesV2 } from '../../schemas';
import { DateString } from '../../types/dates';
export type DeploymentVersionInfoResponse = {
type: string;
version: string;
branch?: string | null;
url?: string | null;
commit_sha?: string | null;
message?: string | null;
repository?: string | null;
} & Record<string, unknown>;
export type DeploymentVersionResponse = {
id: string;
created: DateString;
created_by: CreatedOrUpdatedByResponse | null;
updated: DateString;
updated_by: CreatedOrUpdatedByResponse | null;
last_active: DateString | null;
name: string;
deployment_id: string;
description: string | null;
version_info: DeploymentVersionInfoResponse;
parameters: SchemaValuesV2;
tags: string[] | null;
labels: Record<string, string>;
entrypoint: string | null;
parameter_openapi_schema: SchemaResponseV2 | null;
job_variables: Record<string, unknown> | null;
work_queue_name: string | null;
work_pool_name: string | null;
enforce_parameter_schema: boolean;
pull_steps: unknown;
};
export type DeploymentVersionPaginationResponse = {
results: DeploymentVersionResponse[];
count: number;
limit: number;
pages: number;
page: number;
};