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

43 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;
totlePage: 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>;
doneTask: Array<any>;
runningTask: 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;
}
}