@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_.
16 lines (15 loc) • 667 B
TypeScript
import { AutomationTrigger } from '../../automations/types/triggers';
export type AutomationTriggerCompoundRequire = number | 'any' | 'all';
export declare const DEFAULT_COMPOUND_TRIGGER_REQUIRED: AutomationTriggerCompoundRequire;
export interface IAutomationTriggerCompound {
triggers: AutomationTrigger[];
within: number;
require: AutomationTriggerCompoundRequire;
}
export declare class AutomationTriggerCompound implements IAutomationTriggerCompound {
readonly type = "compound";
triggers: AutomationTrigger[];
within: number;
require: AutomationTriggerCompoundRequire;
constructor(trigger: Partial<IAutomationTriggerCompound>);
}