aggregation-platform/d.ts/developer/ts/dataManagerModel.d.ts

40 lines
1.2 KiB
TypeScript

/// <reference path="../../includes.d.ts" />
/// <reference path="developerPlugin.d.ts" />
declare module Developer {
class OptionsParams {
pagerSizeOption: number[];
dataType: any;
currentTableSize: number;
dataBatch: any;
labels: {};
currentPageNum: number;
totalSize: any;
priorTableSize: number;
keyQuery: any;
volumeType: number;
createParamData(): {
currentPageNum: number;
dataType: any;
submittedBatch: any;
limit: number;
priorTableSize: number;
keyQuery: any;
volumeType: number;
};
getPageSizeNum(): number;
}
class DataModelService {
data: Array<any>;
paramOptions: OptionsParams;
transferTasks: Array<any>;
constructor();
protected getDataModel(paramOptions: any): any;
initParamOptions(): void;
updateModel(): void;
maybeFormat(): void;
updateParamOption(option: string, value: any): void;
getParamOption(key: string): any;
startIntervalTask($interval: any, $http: any): void;
}
}