UNPKG

@adaptabletools/adaptable

Version:

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

17 lines (16 loc) 1.23 kB
import { ExportState, ReportNameType, ReportSchedule } from '../../../AdaptableState/ExportState'; export declare function reportScheduleToSchedule(reportSchedule: { ReportName?: string; ScheduleType?: string; } & Omit<ReportSchedule, 'ReportName'> & Partial<Pick<ReportSchedule, 'ReportName'>>): ReportSchedule; export declare function withReportName(schedule: ReportSchedule, reportName: ReportNameType): ReportSchedule; export declare function normalizeScheduledReportSchedule(schedule: ReportSchedule): ReportSchedule; export declare function getScheduledReports(exportState: ExportState): ReportSchedule[]; export declare function exportStateNeedsScheduleUuids(exportState: ExportState): boolean; /** * Assigns a unique {@link ReportSchedule.Uuid} to any schedule that lacks one. * Required so edit/suspend/delete match a single schedule (not every `undefined` uuid). */ export declare function ensureExportStateSchedulesUuids(exportState: ExportState): ExportState; export declare function replaceScheduledReportScheduleInList(schedules: ReportSchedule[], schedule: ReportSchedule): ReportSchedule[]; export declare function countSchedulesForReport(exportState: ExportState, reportName: ReportNameType): number;