You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aggregation-platform/d.ts/configs/ts/configsDataService.d.ts

53 lines
1.4 KiB

/// <reference path="../../includes.d.ts" />
/// <reference path="configPlugin.d.ts" />
declare module Configs {
interface Block {
ip: string;
path: string;
status: boolean;
availableSize?: number;
usedSize?: number;
editable?: boolean;
}
interface oracleParam {
name: string;
ip: string;
port: string;
serviceName: string;
tableName: string;
status: string;
id?: number;
}
interface volume {
name: string;
allSize: number;
usedSize: number;
brick: Array<Block>;
folder?: Array<any>;
status: boolean;
path: string;
editable?: boolean;
}
function formatVolumes(volumes: Array<volume>): void;
/**
volumebrock
*/
function deleteBrock(volume: volume, brock: Block): void;
/**
volumebrock
*/
function addBrock(volume: volume, brock: Block): void;
class ConfigsModelService {
cluster: Array<volume>;
oracleParam: Array<oracleParam>;
systemInfo: Array<any>;
regionalismInfo: Array<any>;
8 years ago
constructor();
updateAllData(): void;
updateVolumeData(): void;
updateCodeInfo(): void;
updateOracleParam(): void;
getFolderByVolumeName(name: string): any[];
}
}