@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
52 lines (51 loc) • 1.81 kB
TypeScript
import * as Redux from 'redux';
import { ExportState, Report, ReportFormatType } 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";
/**
* @ReduxAction A report Format has been selected
*/
export declare const FORMAT_SELECT = "FORMAT_SELECT";
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 FormatSelect: (SelectedFormat: ReportFormatType) => FormatSelectAction;
export declare const ExportReducer: Redux.Reducer<ExportState>;