@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_.
44 lines (43 loc) • 1.57 kB
TypeScript
import { Deployment, DeploymentScheduleCompatible, Schedule } from '../models';
import { SchemaV2, SchemaValuesV2 } from '../schemas';
export interface ScheduleFormModalMethods {
publicOpen: () => void;
}
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
slug: string | null;
active: boolean | null;
schedule: Schedule | null;
jobVariables: Record<string, unknown> | undefined;
deploymentParameters: SchemaValuesV2;
scheduleParameters?: SchemaValuesV2 | null;
parameterOpenApiSchema?: SchemaV2 | null;
deployment?: Deployment;
deploymentScheduleId?: string;
}, {
publicOpen: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
submit: (value: DeploymentScheduleCompatible) => any;
}, string, import("vue").PublicProps, Readonly<{
slug: string | null;
active: boolean | null;
schedule: Schedule | null;
jobVariables: Record<string, unknown> | undefined;
deploymentParameters: SchemaValuesV2;
scheduleParameters?: SchemaValuesV2 | null;
parameterOpenApiSchema?: SchemaV2 | null;
deployment?: Deployment;
deploymentScheduleId?: string;
}> & Readonly<{
onSubmit?: ((value: DeploymentScheduleCompatible) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
default?: (props: {
open: () => void;
close: () => void;
}) => any;
}>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};