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.
37 lines
1.3 KiB
37 lines
1.3 KiB
/// <reference path="../../includes.d.ts" />
|
|
/// <reference path="configPlugin.d.ts" />
|
|
/// <reference path="configsDataService.d.ts" />
|
|
/// <reference path="../../developer/ts/developerNavigation.d.ts" />
|
|
/// <reference path="../../developer/ts/dataManagerHelper.d.ts" />
|
|
declare module Configs {
|
|
class OperateType {
|
|
static DELETE: string;
|
|
static UPDATE: string;
|
|
static PUT: string;
|
|
static MOVE: string;
|
|
static EXTRACT: string;
|
|
}
|
|
function createOracleInfo(array: Array<any>, id: number): {
|
|
"id": number;
|
|
};
|
|
function shareInit($scope: any, $location: any, $routeParams: any): void;
|
|
function createNewObejct(array: Array<any>, obj: any): any[];
|
|
function oracleInfoOperate($http: any, url: string, operate: string, resource: any, fn?: (data, status) => void): void;
|
|
function createConfigHelperNavBar($scope: any, $location: any, $routeParams: any): any;
|
|
function formatVolume(volume: volume): formatedVolume;
|
|
function volumesFormat(volumes: Array<volume>): Array<formatedVolume>;
|
|
interface formatedVolume {
|
|
name: string;
|
|
path: string;
|
|
brick: Array<Brick>;
|
|
status: boolean;
|
|
editable: boolean;
|
|
}
|
|
interface Brick {
|
|
ip: Array<string>;
|
|
status: boolean;
|
|
path: string;
|
|
editable: boolean;
|
|
}
|
|
}
|