UNPKG

@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_.

19 lines (18 loc) 768 B
export type ScheduleResponse = RRuleScheduleResponse | CronScheduleResponse | IntervalScheduleResponse; export type RRuleScheduleResponse = { rrule: string; timezone: string | null; }; export type CronScheduleResponse = { cron: string; timezone: string | null; day_or: boolean; }; export type IntervalScheduleResponse = { interval: number; timezone: string | null; anchor_date: string | null; }; export declare function isRRuleScheduleResponse(schedule: ScheduleResponse): schedule is RRuleScheduleResponse; export declare function isCronScheduleResponse(schedule: ScheduleResponse): schedule is CronScheduleResponse; export declare function isIntervalScheduleResponse(schedule: ScheduleResponse): schedule is IntervalScheduleResponse;