UNPKG

@openinc/parse-server-opendash

Version:
12 lines (11 loc) 349 B
import { GraphEventResponse } from "../types/Event"; export type ScheduleCronTimestamp = { startData: Date; endData?: Date; number: number; unit: "days" | "weeks" | "months"; }; export declare function eventToSchedule(event: GraphEventResponse): { timestamp: ScheduleCronTimestamp; schedule_type: "timestamp"; } | undefined;