@adaptabletools/adaptable
Version:
Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
91 lines (90 loc) • 3.59 kB
TypeScript
import * as Redux from 'redux';
import { ExportState, Report, ReportFormatType, ReportSchedule } from '../../AdaptableState/ExportState';
/**
* @ReduxAction A Report has been selected
*/
export declare const REPORT_SELECT = "REPORT_SELECT";
/**
* @ReduxAction A Report has been added
*/
export declare const REPORT_ADD = "REPORT_ADD";
/**
* @ReduxAction A Report has been edited
*/
export declare const REPORT_EDIT = "REPORT_EDIT";
/**
* @ReduxAction A Report has been deleted
*/
export declare const REPORT_DELETE = "REPORT_DELETE";
/**
* @ReduxAction Export Module is ready
*/
export declare const EXPORT_READY = "EXPORT_READY";
export declare const EXPORT_ENSURE_SCHEDULE_UUIDS = "EXPORT_ENSURE_SCHEDULE_UUIDS";
/**
* @ReduxAction A report Format has been selected
*/
export declare const FORMAT_SELECT = "FORMAT_SELECT";
/**
* @ReduxAction A Scheduled Report has been added
*/
export declare const SCHEDULED_REPORT_ADD = "SCHEDULED_REPORT_ADD";
/**
* @ReduxAction A Scheduled Report has been edited
*/
export declare const SCHEDULED_REPORT_EDIT = "SCHEDULED_REPORT_EDIT";
/**
* @ReduxAction A Scheduled Report has been deleted
*/
export declare const SCHEDULED_REPORT_DELETE = "SCHEDULED_REPORT_DELETE";
/**
* @ReduxAction A Scheduled Report has been suspended
*/
export declare const SCHEDULED_REPORT_SUSPEND = "SCHEDULED_REPORT_SUSPEND";
/**
* @ReduxAction A Scheduled Report has been unsuspended
*/
export declare const SCHEDULED_REPORT_UNSUSPEND = "SCHEDULED_REPORT_UNSUSPEND";
/**
* @ReduxAction A Scheduled Report job has been run
*/
export declare const SCHEDULED_REPORT_JOB_RUN = "SCHEDULED_REPORT_JOB_RUN";
export interface ReportAction extends Redux.Action {
report: Report;
}
export interface ReportSelectAction extends Redux.Action {
SelectedReport: string;
}
export interface ReportAddAction extends ReportAction {
}
export interface ReportEditAction extends ReportAction {
}
export interface ReportDeleteAction extends ReportAction {
}
export interface ExportReadyAction extends Redux.Action {
exportState: ExportState;
}
export interface FormatSelectAction extends Redux.Action {
SelectedFormat: ReportFormatType;
}
export declare const ReportSelect: (SelectedReport: string) => ReportSelectAction;
export declare const ReportAdd: (report: Report) => ReportAddAction;
export declare const ReportEdit: (report: Report) => ReportEditAction;
export declare const ReportDelete: (report: Report) => ReportDeleteAction;
export declare const ExportReady: (exportState: ExportState) => ExportReadyAction;
export declare const ExportEnsureScheduleUuids: () => {
type: string;
};
export declare const FormatSelect: (SelectedFormat: ReportFormatType) => FormatSelectAction;
export interface ScheduledReportAction extends Redux.Action {
reportSchedule: ReportSchedule;
}
export interface ScheduledReportJobRunAction extends ScheduledReportAction {
}
export declare const ScheduledReportAdd: (reportSchedule: ReportSchedule) => ScheduledReportAction;
export declare const ScheduledReportEdit: (reportSchedule: ReportSchedule) => ScheduledReportAction;
export declare const ScheduledReportDelete: (reportSchedule: ReportSchedule) => ScheduledReportAction;
export declare const ScheduledReportSuspend: (reportSchedule: ReportSchedule) => ScheduledReportAction;
export declare const ScheduledReportUnSuspend: (reportSchedule: ReportSchedule) => ScheduledReportAction;
export declare const ScheduledReportJobRun: (reportSchedule: ReportSchedule) => ScheduledReportJobRunAction;
export declare const ExportReducer: Redux.Reducer<ExportState>;