@adaptabletools/adaptable
Version:
Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
52 lines (51 loc) • 1.3 kB
TypeScript
import { AdaptableObject } from './Common/AdaptableObject';
import { BaseState } from './BaseState';
/**
* Internal State used by AdapTable for managing the ipushpull plugin
*/
export interface IPushPullState extends BaseState {
IsIPushPullRunning?: boolean;
IPushPullDomainsPages?: IPushPullDomain[];
IPushPullLoginErrorMessage?: string;
CurrentLiveIPushPullReport?: IPushPullReport;
CurrentIPushpullUsername?: string;
CurrentIPushpullPassword?: string;
IPushPullCurrentReportName?: string;
IPushPullCurrentFolder?: string;
IPushPullCurrentPage?: string;
IPushPullCurrentAvailablePages?: string[];
}
/**
* Internal object that maps an IPushPull Domain object
*/
export interface IPushPullDomain {
/**
* the Name of the Domain / Folder
*/
Name: string;
/**
* the Id of the Folder
*/
FolderId: number;
/**
* The names of the pages within the (Folder)
*/
Pages: string[];
}
/**
* An ipushpull report
*/
export interface IPushPullReport extends AdaptableObject {
/**
* Name of the Report
*/
ReportName: string;
/**
* ipushpull Folder which contains the Page
*/
Folder: string;
/**
* ipushpull Page which will contain the data
*/
Page: string;
}