This commit is contained in:
crusader 2018-06-05 18:18:38 +09:00
parent b83b4bedaa
commit 75a1154219
24 changed files with 87 additions and 88 deletions

View File

@ -1,9 +1,9 @@
import {Target} from '../target';
import {MetaCrawler} from '../meta';
import { Target } from '../target';
import { MetaCrawler } from '../meta';
export interface AuthCrawler {
id?: number;
crawler?: MetaCrawler;
metaCrawler?: MetaCrawler;
target?: Target;
authJson?: string;
createDate?: Date;

View File

@ -1,12 +1,12 @@
import { MetaHistoryType } from '../meta';
import {Probe} from '../probe';
import {Member} from '../member';
import {Domain} from '../domain';
import { Probe } from '../probe';
import { Member } from '../member';
import { Domain } from '../domain';
export interface History {
id?: number;
createDate?: Date;
type?: MetaHistoryType;
metaHistoryType?: MetaHistoryType;
message?: string;
probe?: Probe;
member?: Member;

View File

@ -1,10 +1,10 @@
import {MetaInfraType} from '../meta';
import {Probe} from '../probe';
import {Target} from '../target';
import { MetaInfraType } from '../meta';
import { Probe } from '../probe';
import { Target } from '../target';
export interface Infra {
id?: number;
infraType?: MetaInfraType;
metaInfraType?: MetaInfraType;
createDate?: Date;
probe?: Probe;
target?: Target;

View File

@ -1,9 +1,9 @@
import { InfraMachine } from './InfraMachine';
import { Infra } from './Infra';
import {MetaInfraVendor} from '../meta';
import { MetaInfraVendor } from '../meta';
export interface InfraOS extends Infra {
machine?: InfraMachine;
meta?: string;
vendor?: MetaInfraVendor;
metaInfraVendor?: MetaInfraVendor;
}

View File

@ -1,11 +1,11 @@
import { InfraOS } from './InfraOS';
import { Infra } from './Infra';
import {MetaInfraVendor} from '../meta';
import { MetaInfraVendor } from '../meta';
export interface InfraOSPort extends Infra {
os?: InfraOS;
port?: number;
portType?: string;
vendor?: MetaInfraVendor;
metaInfraVendor?: MetaInfraVendor;
tlsType?: boolean;
}

View File

@ -1,11 +1,11 @@
import { InfraHost } from './InfraHost';
import { Infra } from './Infra';
import {MetaInfraVendor} from '../meta';
import { MetaInfraVendor } from '../meta';
export interface InfraService extends Infra {
host?: InfraHost;
portType?: string;
port?: number;
vendor?: MetaInfraVendor;
metaInfraVendor?: MetaInfraVendor;
tlsType?: boolean;
}

View File

@ -1,4 +1,4 @@
import {MetaMemberStatus} from '../meta';
import { MetaMemberStatus } from '../meta';
export interface Member {
id?: number;
@ -8,7 +8,7 @@ export interface Member {
phone?: string;
companyName?: string;
createDate?: Date;
status?: MetaMemberStatus;
metaMemberStatus?: MetaMemberStatus;
signinFailCount?: number;
totpType?: boolean;
}

View File

@ -1,10 +1,10 @@
import {MetaInputType} from './MetaInputType';
import {MetaCrawler} from './MetaCrawler';
import { MetaInputType } from './MetaInputType';
import { MetaCrawler } from './MetaCrawler';
export interface MetaCrawlerInputItem {
id?: number;
inputType?: MetaInputType;
crawler?: MetaCrawler;
metaInputType?: MetaInputType;
metaCrawler?: MetaCrawler;
description?: string;
name?: string;
createDate?: Date;

View File

@ -1,10 +1,10 @@
import {MetaInfraType} from './MetaInfraType';
import { MetaInfraType } from './MetaInfraType';
export interface MetaInfraVendor {
id?: number;
name?: string;
createDate?: Date;
infraType?: MetaInfraType;
metaInfraType?: MetaInfraType;
}

View File

@ -1,11 +1,11 @@
import {MetaProbeVersion} from './MetaProbeVersion';
import {MetaProbeOs} from './MetaProbeOs';
import {MetaProbeArchitecture} from './MetaProbeArchitecture';
import { MetaProbeVersion } from './MetaProbeVersion';
import { MetaProbeOs } from './MetaProbeOs';
import { MetaProbeArchitecture } from './MetaProbeArchitecture';
export interface MetaProbePackage {
id?: number;
version?: MetaProbeVersion;
os?: MetaProbeOs;
architecture?: MetaProbeArchitecture;
metaProbeVersion?: MetaProbeVersion;
metaProbeOs?: MetaProbeOs;
metaProbeArchitecture?: MetaProbeArchitecture;
createDate?: Date;
}

View File

@ -4,7 +4,6 @@ export interface MetaProbeStatus {
name?: string;
}
export enum MetaProbeStatus_ID {
INITIAL = 1,
NORMAL = 2,

View File

@ -1,6 +1,6 @@
import {MetaCrawler} from './MetaCrawler';
import {MetaSensorItemUnit} from './MetaSensorItemUnit';
import {MetaSensorItemType} from './MetaSensorItemType';
import { MetaCrawler } from './MetaCrawler';
import { MetaSensorItemUnit } from './MetaSensorItemUnit';
import { MetaSensorItemType } from './MetaSensorItemType';
export interface MetaSensorDisplayItem {
@ -8,9 +8,9 @@ export interface MetaSensorDisplayItem {
key?: string;
displayName?: string;
description?: string;
crawler?: MetaCrawler;
unit?: MetaSensorItemUnit;
metaCrawler?: MetaCrawler;
metaSensorItemUnit?: MetaSensorItemUnit;
createDate?: Date;
itemType?: MetaSensorItemType;
metaSensorItemType?: MetaSensorItemType;
default?: boolean;
}

View File

@ -1,8 +1,8 @@
import {MetaSensorDisplayItem} from './MetaSensorDisplayItem';
import {MetaSensorItemKey} from './MetaSensorItemKey';
import { MetaSensorDisplayItem } from './MetaSensorDisplayItem';
import { MetaSensorItemKey } from './MetaSensorItemKey';
export interface MetaSensorDisplayMapping {
id?: number;
displayItem?: MetaSensorDisplayItem;
itemKey?: MetaSensorItemKey;
metaSensorDisplayItem?: MetaSensorDisplayItem;
metaSensorItemKey?: MetaSensorItemKey;
}

View File

@ -1,14 +1,14 @@
import {MetaSensorItem} from './MetaSensorItem';
import {MetaCrawler} from './MetaCrawler';
import {MetaSensorItemUnit} from './MetaSensorItemUnit';
import { MetaSensorItem } from './MetaSensorItem';
import { MetaCrawler } from './MetaCrawler';
import { MetaSensorItemUnit } from './MetaSensorItemUnit';
export interface MetaSensorItemKey {
id?: number;
item?: MetaSensorItem;
key?: string;
froms?: string;
option?: string;
crawler?: MetaCrawler;
createDate?: Date;
unit?: MetaSensorItemUnit;
id?: number;
metaSensorItem?: MetaSensorItem;
key?: string;
froms?: string;
option?: string;
metaCrawler?: MetaCrawler;
createDate?: Date;
metaSensorItemUnit?: MetaSensorItemUnit;
}

View File

@ -1,7 +1,7 @@
export interface MetaSensorItemUnit {
id?: number;
unit?: string;
createDate?: Date;
mark?: string;
id?: number;
unit?: string;
createDate?: Date;
mark?: string;
}

View File

@ -1,9 +1,9 @@
import {MetaCrawler} from './MetaCrawler';
import {MetaInfraVendor} from './MetaInfraVendor';
import { MetaCrawler } from './MetaCrawler';
import { MetaInfraVendor } from './MetaInfraVendor';
export interface MetaVendorCrawler {
id?: number;
crawler: MetaCrawler;
infraVendor: MetaInfraVendor;
metaCrawler: MetaCrawler;
metaInfraVendor: MetaInfraVendor;
createDate: Date;
}

View File

@ -1,12 +1,12 @@
import {MetaSensorItem} from './MetaSensorItem';
import {MetaInfraVendor} from './MetaInfraVendor';
import { MetaSensorItem } from './MetaSensorItem';
import { MetaInfraVendor } from './MetaInfraVendor';
export interface MetaVendorCrawlerSensorItem {
id?: number;
interval: string;
warnCondition: string;
createDate: Date;
sensorItem: MetaSensorItem;
vendor: MetaInfraVendor;
metaSensorItem: MetaSensorItem;
metaInfraVendor: MetaInfraVendor;
crawlerId: number;
}

View File

@ -1,13 +1,13 @@
import {MetaNoAuthProbeStatus} from '../meta';
import {Domain} from '../domain';
import {Probe} from '../probe';
import { MetaNoAuthProbeStatus } from '../meta';
import { Domain } from '../domain';
import { Probe } from '../probe';
import { NoAuthProbeDescription } from './NoAuthProbeDescription';
export interface NoAuthProbe {
id?: number;
description?: string;
descriptions?: NoAuthProbeDescription;
status?: MetaNoAuthProbeStatus;
metaNoAuthProbeStatus?: MetaNoAuthProbeStatus;
tempProbeKey?: string;
createDate?: Date;
apiKey?: string;

View File

@ -1,10 +1,10 @@
import {MetaProbeStatus} from '../meta';
import {Domain} from '../domain';
import {Member} from '../member';
import { MetaProbeStatus } from '../meta';
import { Domain } from '../domain';
import { Member } from '../member';
export interface Probe {
id?: number;
status?: MetaProbeStatus;
metaProbeStatus?: MetaProbeStatus;
description?: string;
createDate?: Date;
domain?: Domain;

View File

@ -1,9 +1,9 @@
import { Probe } from './Probe';
import {MetaProbeTaskType} from '../meta';
import { MetaProbeTaskType } from '../meta';
export interface ProbeTask {
id?: number;
taskType?: MetaProbeTaskType;
metaProbeTaskType?: MetaProbeTaskType;
probe?: Probe;
data?: string;
createDate?: Date;

View File

@ -1,9 +1,9 @@
import {Sensor} from '../sensor';
import {MetaSensorDisplayItem} from '../meta';
import { Sensor } from '../sensor';
import { MetaSensorDisplayItem } from '../meta';
export interface SensorItem {
id?: number;
sensor?: Sensor;
item?: MetaSensorDisplayItem;
metaSensorDisplayItem?: MetaSensorDisplayItem;
createDate?: Date;
}

View File

@ -1,7 +1,7 @@
import {MetaSensorDisplayItem, MetaSensorItemKey} from '../meta';
import { MetaSensorDisplayItem, MetaSensorItemKey } from '../meta';
export interface SensorItemDependency {
id?: number;
displayItem?: MetaSensorDisplayItem;
sensorItem?: MetaSensorItemKey;
metaSensorDisplayItem?: MetaSensorDisplayItem;
metaSensorItemKey?: MetaSensorItemKey;
}

View File

@ -1,13 +1,13 @@
import {MetaCrawler, MetaSensorStatus} from '../meta';
import {Target} from '../target';
import { MetaCrawler, MetaSensorStatus } from '../meta';
import { Target } from '../target';
export interface Sensor {
id?: number;
createDate?: Date;
description?: string;
status?: MetaSensorStatus;
metaSensorStatus?: MetaSensorStatus;
target?: Target;
crawler?: MetaCrawler;
metaCrawler?: MetaCrawler;
crawlerInputItems?: string;
itemCount?: number;
}

View File

@ -1,9 +1,9 @@
import {MetaCrawler, MetaSensorDisplayItem} from '../meta';
import {Infra} from '../infra';
import { MetaCrawler, MetaSensorDisplayItem } from '../meta';
import { Infra } from '../infra';
export interface SensorRegistInfo {
sensorItemMap: Map<number, Array<MetaSensorDisplayItem>>;
crawler: MetaCrawler;
metaCrawler: MetaCrawler;
// targetId: number;
interval: number;
// type: string;