@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_.
50 lines (49 loc) • 1.83 kB
TypeScript
import { CreatedOrUpdatedBy } from '../models/CreatedOrUpdatedBy';
import { DeploymentVersionInfo } from '../models/DeploymentVersionInfo';
import { SchemaValuesV2, SchemaV2 } from '../schemas';
export type IDeploymentVersion = {
id: string;
created: Date;
createdBy: CreatedOrUpdatedBy | null;
updated: Date;
updatedBy: CreatedOrUpdatedBy | null;
lastActive: Date | null;
name: string;
deploymentId: string;
description: string | null;
versionInfo: DeploymentVersionInfo;
tags: string[] | null;
labels: Record<string, string>;
entrypoint: string | null;
pullSteps: unknown;
parameters: SchemaValuesV2;
parameterOpenApiSchema: SchemaV2;
jobVariables: Record<string, unknown> | null;
workQueueName: string | null;
workPoolName: string | null;
enforceParameterSchema: boolean;
};
export declare class DeploymentVersion implements IDeploymentVersion {
readonly id: string;
readonly deploymentId: string;
readonly kind = "deployment-version";
readonly created: Date;
readonly createdBy: CreatedOrUpdatedBy | null;
readonly updated: Date;
readonly updatedBy: CreatedOrUpdatedBy | null;
readonly lastActive: Date | null;
readonly name: string;
readonly description: string | null;
readonly versionInfo: DeploymentVersionInfo;
readonly tags: string[];
readonly labels: Record<string, string>;
readonly entrypoint: string | null;
readonly pullSteps: unknown;
readonly parameters: SchemaValuesV2;
readonly parameterOpenApiSchema: SchemaV2;
readonly jobVariables: Record<string, unknown> | null;
readonly workQueueName: string | null;
readonly workPoolName: string | null;
readonly enforceParameterSchema: boolean;
constructor(deploymentVersion: IDeploymentVersion);
}