@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_.
28 lines (26 loc) • 869 B
text/typescript
import { DeploymentConcurrencyOptions } from '@/models/Deployment'
import { DeploymentSchedule } from '@/models/DeploymentSchedule'
import { SchemaValuesV2 } from '@/schemas'
export type DeploymentCreate = {
name: string,
version: string | null,
description: string | null,
flowId: string,
paused: boolean,
schedules: DeploymentSchedule[],
parameters: SchemaValuesV2,
parameterOpenApiSchema: unknown,
tags: string[] | null,
manifestPath: string | null,
path: string | null,
entrypoint: string | null,
storageDocumentId: string | null,
infrastructureDocumentId: string | null,
jobVariables: Record<string, unknown> | null,
workQueueName: string | null,
workPoolName: string | null,
enforceParameterSchema: boolean,
pullSteps: unknown,
concurrencyLimit: number | null,
concurrencyOptions: DeploymentConcurrencyOptions | null,
}