@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) • 598 B
TypeScript
import { CronScheduleResponse, ISchedule } from '../models';
import { CronKeyword } from '../types/cron';
export interface ICronSchedule extends ISchedule {
timezone: string | null;
cron: string;
dayOr: boolean;
}
export declare class CronSchedule implements ICronSchedule {
timezone: string | null;
cron: string | CronKeyword;
dayOr: boolean;
constructor(schedule: Pick<ICronSchedule, 'cron' | 'timezone' | 'dayOr'>);
get raw(): string | CronKeyword;
toString({ verbose }?: {
verbose?: boolean;
}): string;
toResponse(): CronScheduleResponse;
}