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/ConfigsHelper.d.ts

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" />
8 years ago
/// <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 formatVolumes(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;
}
}