@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_.
17 lines (16 loc) • 789 B
TypeScript
import { Deployment, DeploymentUpdateV2 } from '../models';
import { DeploymentCreate } from '../models/DeploymentCreate';
interface Props {
deployment: Deployment;
mode?: 'duplicate' | 'update';
}
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
cancel: () => any;
submit: (value: DeploymentCreate | DeploymentUpdateV2) => any;
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
onCancel?: (() => any) | undefined;
onSubmit?: ((value: DeploymentCreate | DeploymentUpdateV2) => any) | undefined;
}>, {
mode: "duplicate" | "update";
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;