UNPKG

@adaptabletools/adaptable-cjs

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

42 lines (41 loc) 977 B
import { AdaptableObject, SuspendableObject } from '../../types'; /** * Defines when an action will be run - either one-off or recurring */ export interface Schedule { /** * Hour the Schedule will run */ Hour: number; /** * Minute the Schedule will run */ Minute: number; /** * A one off date on which the Schedule will run */ OneOffDate?: string; /** * Days on which Schedule will run */ DaysOfWeek?: Weekdays; } /** * Base Schedule object */ export interface BaseSchedule extends AdaptableObject, SuspendableObject { /** * Name of the Schedule */ Name: string; /** * The Schedule to run */ Schedule: Schedule; /** * The type of Schedule */ ScheduleType: 'Report' | 'ipushpull' | 'Reminder' | 'OpenFin'; } export type Weekdays = Weekday[]; export type Weekday = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday';