ing
This commit is contained in:
parent
96fdfd4f4a
commit
b854cbb766
|
@ -1,5 +1,4 @@
|
|||
export interface Alert {
|
||||
created: string;
|
||||
msg: string;
|
||||
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
import {Alert} from './Alert';
|
||||
|
||||
|
||||
export interface AlertSystem extends Alert {
|
||||
status?: string; // test
|
||||
}
|
|
@ -1,9 +1,8 @@
|
|||
import { Domain } from "model/domain";
|
||||
|
||||
import {Domain} from '../domain';
|
||||
|
||||
export interface ApiKey {
|
||||
id?: number;
|
||||
apiKey?: string;
|
||||
createDate?: Date;
|
||||
domain?: Domain;
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
import { MetaCrawler } from "model/meta/crawler/MetaCrawler";
|
||||
import { Target } from "model/target";
|
||||
import {Target} from '../target';
|
||||
import {MetaCrawler} from '../meta';
|
||||
|
||||
export interface AuthCrawler {
|
||||
id?: number;
|
||||
|
@ -7,4 +7,4 @@ export interface AuthCrawler {
|
|||
target?: Target;
|
||||
authJson?: string;
|
||||
createDate?: Date;
|
||||
}
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
export interface PageParams {
|
||||
pageNo: number;
|
||||
countPerPage: number;
|
||||
sortCol: string;
|
||||
sortDirection: string;
|
||||
}
|
||||
}
|
1
model/discovery/CryptoType.ts
Normal file
1
model/discovery/CryptoType.ts
Normal file
|
@ -0,0 +1 @@
|
|||
export type CryptoType = "TLS";
|
1
model/discovery/PortType.ts
Normal file
1
model/discovery/PortType.ts
Normal file
|
@ -0,0 +1 @@
|
|||
export type PortType = 'TCP' | 'UDP' | 'TLS';
|
|
@ -1,5 +1,5 @@
|
|||
import { Domain } from './Domain';
|
||||
import { Member } from 'model/member';
|
||||
import {Member} from '../member';
|
||||
|
||||
export interface DomainMember {
|
||||
id?: number;
|
|
@ -1,4 +1,4 @@
|
|||
import { Member } from "model/member";
|
||||
import {Member} from '../member';
|
||||
|
||||
export interface EmailAuth {
|
||||
id?: number;
|
14
model/history/History.ts
Normal file
14
model/history/History.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { MetaHistoryType } from '../meta';
|
||||
import {Probe} from '../probe';
|
||||
import {Member} from '../member';
|
||||
import {Domain} from '../domain';
|
||||
|
||||
export interface History {
|
||||
id?: number;
|
||||
createDate?: Date;
|
||||
type?: MetaHistoryType;
|
||||
message?: string;
|
||||
probe?: Probe;
|
||||
member?: Member;
|
||||
domain?: Domain;
|
||||
}
|
11
model/infra/Infra.ts
Normal file
11
model/infra/Infra.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import {MetaInfraType} from '../meta';
|
||||
import {Probe} from '../probe';
|
||||
import {Target} from '../target';
|
||||
|
||||
export interface Infra {
|
||||
id?: number;
|
||||
infraType?: MetaInfraType;
|
||||
createDate?: Date;
|
||||
probe?: Probe;
|
||||
target?: Target;
|
||||
}
|
|
@ -1,14 +1,6 @@
|
|||
import { InfraOS } from './InfraOS';
|
||||
import { Infra } from './Infra';
|
||||
|
||||
// export interface InfraHost extends Infra {
|
||||
// // id?: number;
|
||||
// os?: InfraOS;
|
||||
// ip?: number;
|
||||
// mac?: number;
|
||||
// createDate?: Date;
|
||||
// }
|
||||
|
||||
export interface InfraHost extends Infra {
|
||||
os?: InfraOS;
|
||||
ipv4?: string;
|
6
model/infra/InfraMachine.ts
Normal file
6
model/infra/InfraMachine.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { Infra } from './Infra';
|
||||
|
||||
|
||||
export interface InfraMachine extends Infra {
|
||||
meta?: string;
|
||||
}
|
9
model/infra/InfraOS.ts
Normal file
9
model/infra/InfraOS.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { InfraMachine } from './InfraMachine';
|
||||
import { Infra } from './Infra';
|
||||
import {MetaInfraVendor} from '../meta';
|
||||
|
||||
export interface InfraOS extends Infra {
|
||||
machine?: InfraMachine;
|
||||
meta?: string;
|
||||
vendor?: MetaInfraVendor;
|
||||
}
|
|
@ -1,14 +1,6 @@
|
|||
|
||||
import { InfraOS } from './InfraOS';
|
||||
import { Infra } from './Infra';
|
||||
|
||||
// export interface InfraOSApplication extends Infra {
|
||||
// // id?: number;
|
||||
// os?: InfraOS;
|
||||
// name?: string;
|
||||
// createDate?: Date;
|
||||
// }
|
||||
|
||||
export interface InfraOSApplication extends Infra {
|
||||
os?: InfraOS;
|
||||
name?: string;
|
|
@ -1,14 +1,6 @@
|
|||
import { InfraOS } from './InfraOS';
|
||||
import { Infra } from './Infra';
|
||||
|
||||
// export interface InfraOSDaemon extends Infra {
|
||||
// // id?: number;
|
||||
// os?: InfraOS;
|
||||
// name?: string;
|
||||
// createDate?: Date;
|
||||
// }
|
||||
|
||||
|
||||
export interface InfraOSDaemon extends Infra {
|
||||
os?: InfraOS;
|
||||
name?: string;
|
11
model/infra/InfraOSPort.ts
Normal file
11
model/infra/InfraOSPort.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { InfraOS } from './InfraOS';
|
||||
import { Infra } from './Infra';
|
||||
import {MetaInfraVendor} from '../meta';
|
||||
|
||||
export interface InfraOSPort extends Infra {
|
||||
os?: InfraOS;
|
||||
port?: number;
|
||||
portType?: string;
|
||||
vendor?: MetaInfraVendor;
|
||||
tlsType?: boolean;
|
||||
}
|
11
model/infra/InfraService.ts
Normal file
11
model/infra/InfraService.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { InfraHost } from './InfraHost';
|
||||
import { Infra } from './Infra';
|
||||
import {MetaInfraVendor} from '../meta';
|
||||
|
||||
export interface InfraService extends Infra {
|
||||
host?: InfraHost;
|
||||
portType?: string;
|
||||
port?: number;
|
||||
vendor?: MetaInfraVendor;
|
||||
tlsType?: boolean;
|
||||
}
|
14
model/member/Member.ts
Normal file
14
model/member/Member.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
import {MetaMemberStatus} from '../meta';
|
||||
|
||||
export interface Member {
|
||||
id?: number;
|
||||
email?: string;
|
||||
pw?: string;
|
||||
name?: string;
|
||||
phone?: string;
|
||||
companyName?: string;
|
||||
createDate?: Date;
|
||||
status?: MetaMemberStatus;
|
||||
signinFailCount?: number;
|
||||
totpType?: boolean;
|
||||
}
|
10
model/member/MemberTotp.ts
Normal file
10
model/member/MemberTotp.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import {Member} from './Member';
|
||||
|
||||
export interface MemberTotp {
|
||||
id?: number;
|
||||
member?: Member;
|
||||
secretCode?: string;
|
||||
createDate?: Date;
|
||||
updateDate?: Date;
|
||||
otpAuth?: string;
|
||||
}
|
|
@ -1,10 +1,3 @@
|
|||
|
||||
// export interface MetaCrawler {
|
||||
// id: number;
|
||||
// createDate?: Date;
|
||||
// name?: string;
|
||||
// description?: string;
|
||||
// }
|
||||
export interface MetaCrawler {
|
||||
id?: number;
|
||||
createDate?: Date;
|
16
model/meta/MetaCrawlerInputItem.ts
Normal file
16
model/meta/MetaCrawlerInputItem.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import {MetaInputType} from './MetaInputType';
|
||||
import {MetaCrawler} from './MetaCrawler';
|
||||
|
||||
export interface MetaCrawlerInputItem {
|
||||
id?: number;
|
||||
inputType?: MetaInputType;
|
||||
crawler?: MetaCrawler;
|
||||
description?: string;
|
||||
name?: string;
|
||||
createDate?: Date;
|
||||
required?: boolean;
|
||||
defaultValue?: string;
|
||||
pattern?: string;
|
||||
keyName?: string;
|
||||
keyValue?: string;
|
||||
}
|
|
@ -1,9 +1,3 @@
|
|||
// export interface MetaHistoryType {
|
||||
// id?: number;
|
||||
// name?: string;
|
||||
// createDate?: Date;
|
||||
// }
|
||||
|
||||
export interface MetaHistoryType {
|
||||
id?: number;
|
||||
name?: string;
|
|
@ -1,9 +1,3 @@
|
|||
// export interface MetaInfraType {
|
||||
// id?: number;
|
||||
// name?: string;
|
||||
// createDate?: Date;
|
||||
// }
|
||||
|
||||
export interface MetaInfraType {
|
||||
id?: number;
|
||||
name?: string;
|
|
@ -1,12 +1,4 @@
|
|||
import { MetaInfraType } from 'model/meta/infra-type/MetaInfraType';
|
||||
|
||||
|
||||
// export interface MetaInfraVendor {
|
||||
// id?: number;
|
||||
// name?: string;
|
||||
// createDate?: Date;
|
||||
// infraType?: MetaInfraType;
|
||||
// }
|
||||
import {MetaInfraType} from './MetaInfraType';
|
||||
|
||||
export interface MetaInfraVendor {
|
||||
id?: number;
|
|
@ -1,9 +1,3 @@
|
|||
// export interface MetaInputType {
|
||||
// id?: number;
|
||||
// name: string;
|
||||
// description: string;
|
||||
// createDate: Date;
|
||||
// }
|
||||
|
||||
export interface MetaInputType {
|
||||
id?: number;
|
|
@ -1,7 +1,3 @@
|
|||
// export interface MetaMemberStatus {
|
||||
// id: number;
|
||||
// name: string;
|
||||
// }
|
||||
|
||||
export interface MetaMemberStatus {
|
||||
id?: number;
|
|
@ -1,9 +1,4 @@
|
|||
|
||||
// export interface MetaNoAuthProbeStatus {
|
||||
// id?: number;
|
||||
// name: string;
|
||||
// }
|
||||
|
||||
export interface MetaNoAuthProbeStatus {
|
||||
id?: number;
|
||||
name?: string;
|
7
model/meta/MetaNotification.ts
Normal file
7
model/meta/MetaNotification.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
export interface MetaNotification {
|
||||
id?: number;
|
||||
createDate?: Date;
|
||||
name?: string;
|
||||
description?: string;
|
||||
}
|
|
@ -1,10 +1,4 @@
|
|||
|
||||
// export interface MetaProbeArchitecture {
|
||||
// id?: number;
|
||||
// architecture: string;
|
||||
// createDate: Date;
|
||||
// }
|
||||
|
||||
export interface MetaProbeArchitecture {
|
||||
id?: number;
|
||||
architecture?: string;
|
|
@ -1,10 +1,4 @@
|
|||
|
||||
// export interface MetaProbeOs {
|
||||
// id?: number;
|
||||
// name: string;
|
||||
// createDate: Date;
|
||||
// }
|
||||
|
||||
export interface MetaProbeOs {
|
||||
id?: number;
|
||||
name?: string;
|
11
model/meta/MetaProbePackage.ts
Normal file
11
model/meta/MetaProbePackage.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import {MetaProbeVersion} from './MetaProbeVersion';
|
||||
import {MetaProbeOs} from './MetaProbeOs';
|
||||
import {MetaProbeArchitecture} from './MetaProbeArchitecture';
|
||||
|
||||
export interface MetaProbePackage {
|
||||
id?: number;
|
||||
version?: MetaProbeVersion;
|
||||
os?: MetaProbeOs;
|
||||
architecture?: MetaProbeArchitecture;
|
||||
createDate?: Date;
|
||||
}
|
|
@ -1,9 +1,4 @@
|
|||
|
||||
// export interface MetaProbeStatus {
|
||||
// id: number;
|
||||
// name: string;
|
||||
// }
|
||||
|
||||
export interface MetaProbeStatus {
|
||||
id?: number;
|
||||
name?: string;
|
7
model/meta/MetaProbeTaskType.ts
Normal file
7
model/meta/MetaProbeTaskType.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
export interface MetaProbeTaskType {
|
||||
id?: number;
|
||||
name?: string;
|
||||
description?: string;
|
||||
createDate?: Date;
|
||||
}
|
6
model/meta/MetaProbeVersion.ts
Normal file
6
model/meta/MetaProbeVersion.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
export interface MetaProbeVersion {
|
||||
id?: number;
|
||||
version?: string;
|
||||
createDate?: Date;
|
||||
}
|
16
model/meta/MetaSensorDisplayItem.ts
Normal file
16
model/meta/MetaSensorDisplayItem.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import {MetaCrawler} from './MetaCrawler';
|
||||
import {MetaSensorItemUnit} from './MetaSensorItemUnit';
|
||||
import {MetaSensorItemType} from './MetaSensorItemType';
|
||||
|
||||
|
||||
export interface MetaSensorDisplayItem {
|
||||
id?: number;
|
||||
key?: string;
|
||||
displayName?: string;
|
||||
description?: string;
|
||||
crawler?: MetaCrawler;
|
||||
unit?: MetaSensorItemUnit;
|
||||
createDate?: Date;
|
||||
itemType?: MetaSensorItemType;
|
||||
default?: boolean;
|
||||
}
|
8
model/meta/MetaSensorDisplayMapping.ts
Normal file
8
model/meta/MetaSensorDisplayMapping.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
import {MetaSensorDisplayItem} from './MetaSensorDisplayItem';
|
||||
import {MetaSensorItemKey} from './MetaSensorItemKey';
|
||||
|
||||
export interface MetaSensorDisplayMapping {
|
||||
id?: number;
|
||||
displayItem?: MetaSensorDisplayItem;
|
||||
itemKey?: MetaSensorItemKey;
|
||||
}
|
7
model/meta/MetaSensorItem.ts
Normal file
7
model/meta/MetaSensorItem.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
export interface MetaSensorItem {
|
||||
id?: number;
|
||||
key?: string;
|
||||
name?: string;
|
||||
createDate?: Date;
|
||||
}
|
14
model/meta/MetaSensorItemKey.ts
Normal file
14
model/meta/MetaSensorItemKey.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
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;
|
||||
}
|
7
model/meta/MetaSensorItemType.ts
Normal file
7
model/meta/MetaSensorItemType.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
export interface MetaSensorItemType {
|
||||
id?: number;
|
||||
name?: string;
|
||||
description?: string;
|
||||
createDate?: Date;
|
||||
}
|
7
model/meta/MetaSensorItemUnit.ts
Normal file
7
model/meta/MetaSensorItemUnit.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
export interface MetaSensorItemUnit {
|
||||
id?: number;
|
||||
unit?: string;
|
||||
createDate?: Date;
|
||||
mark?: string;
|
||||
}
|
|
@ -1,9 +1,4 @@
|
|||
|
||||
// export interface MetaSensorStatus {
|
||||
// id?: number;
|
||||
// name?: string;
|
||||
// }
|
||||
|
||||
export interface MetaSensorStatus {
|
||||
id?: number;
|
||||
name?: string;
|
9
model/meta/MetaVendorCrawler.ts
Normal file
9
model/meta/MetaVendorCrawler.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import {MetaCrawler} from './MetaCrawler';
|
||||
import {MetaInfraVendor} from './MetaInfraVendor';
|
||||
|
||||
export interface MetaVendorCrawler {
|
||||
id?: number;
|
||||
crawler: MetaCrawler;
|
||||
infraVendor: MetaInfraVendor;
|
||||
createDate: Date;
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
import { MetaSensorItem } from 'model/meta/sensor-item/MetaSensorItem';
|
||||
import { MetaInfraVendor } from 'model/meta/infra-vendor/MetaInfraVendor';
|
||||
|
||||
import {MetaSensorItem} from './MetaSensorItem';
|
||||
import {MetaInfraVendor} from './MetaInfraVendor';
|
||||
|
||||
export interface MetaVendorCrawlerSensorItem {
|
||||
id?: number;
|
25
model/meta/index.ts
Normal file
25
model/meta/index.ts
Normal file
|
@ -0,0 +1,25 @@
|
|||
export * from './MetaCrawler';
|
||||
export * from './MetaCrawlerInputItem';
|
||||
export * from './MetaHistoryType';
|
||||
export * from './MetaInfraType';
|
||||
export * from './MetaInfraVendor';
|
||||
export * from './MetaInputType';
|
||||
export * from './MetaMemberStatus';
|
||||
export * from './MetaNoAuthProbeStatus';
|
||||
export * from './MetaNotification';
|
||||
export * from './MetaProbeArchitecture';
|
||||
export * from './MetaProbeOs';
|
||||
export * from './MetaProbePackage';
|
||||
export * from './MetaProbeStatus';
|
||||
export * from './MetaProbeTaskType';
|
||||
export * from './MetaProbeVersion';
|
||||
export * from './MetaSensorDisplayItem';
|
||||
export * from './MetaSensorDisplayMapping';
|
||||
export * from './MetaSensorItem';
|
||||
export * from './MetaSensorItemKey';
|
||||
export * from './MetaSensorItemType';
|
||||
export * from './MetaSensorItemUnit';
|
||||
export * from './MetaSensorStatus';
|
||||
export * from './MetaVendorCrawler';
|
||||
export * from './MetaVendorCrawlerSensorItem';
|
||||
|
14
model/noauth/NoAuthProbe.ts
Normal file
14
model/noauth/NoAuthProbe.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
import {MetaNoAuthProbeStatus} from '../meta';
|
||||
import {Domain} from '../domain';
|
||||
import {Probe} from '../probe';
|
||||
|
||||
export interface NoAuthProbe {
|
||||
id?: number;
|
||||
description?: string;
|
||||
status?: MetaNoAuthProbeStatus;
|
||||
tempProbeKey?: string;
|
||||
createDate?: Date;
|
||||
apiKey?: string;
|
||||
domain?: Domain;
|
||||
probe?: Probe;
|
||||
}
|
11
model/notification/Notification.ts
Normal file
11
model/notification/Notification.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import {Member} from '../member';
|
||||
|
||||
export interface Notification {
|
||||
id?: number;
|
||||
createDate?: Date;
|
||||
title?: string;
|
||||
message?: string;
|
||||
member?: Member;
|
||||
confirmDate?: Date;
|
||||
url?: string;
|
||||
}
|
17
model/probe/Probe.ts
Normal file
17
model/probe/Probe.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import {MetaProbeStatus} from '../meta';
|
||||
import {Domain} from '../domain';
|
||||
import {Member} from '../member';
|
||||
|
||||
export interface Probe {
|
||||
id?: number;
|
||||
status?: MetaProbeStatus;
|
||||
description?: string;
|
||||
createDate?: Date;
|
||||
domain?: Domain;
|
||||
probeKey?: string;
|
||||
encryptionKey?: string;
|
||||
displayName?: string;
|
||||
cidr?: string;
|
||||
authorizeDate?: Date;
|
||||
authorizeMember?: Member;
|
||||
}
|
8
model/probe/ProbeHost.ts
Normal file
8
model/probe/ProbeHost.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
import { Probe } from './Probe';
|
||||
import {InfraHost} from '../infra';
|
||||
|
||||
export interface ProbeHost {
|
||||
id?: number;
|
||||
probe?: Probe;
|
||||
host?: InfraHost;
|
||||
}
|
14
model/probe/ProbeTask.ts
Normal file
14
model/probe/ProbeTask.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { Probe } from './Probe';
|
||||
import {MetaProbeTaskType} from '../meta';
|
||||
|
||||
export interface ProbeTask {
|
||||
id?: number;
|
||||
taskType?: MetaProbeTaskType;
|
||||
probe?: Probe;
|
||||
data?: string;
|
||||
createDate?: Date;
|
||||
sendDate?: Date;
|
||||
startDate?: Date;
|
||||
endDate?: Date;
|
||||
succeed?: boolean;
|
||||
}
|
9
model/sensor-item/SensorItem.ts
Normal file
9
model/sensor-item/SensorItem.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import {Sensor} from '../sensor';
|
||||
import {MetaSensorDisplayItem} from '../meta';
|
||||
|
||||
export interface SensorItem {
|
||||
id?: number;
|
||||
sensor?: Sensor;
|
||||
item?: MetaSensorDisplayItem;
|
||||
createDate?: Date;
|
||||
}
|
7
model/sensor-item/SensorItemDependency.ts
Normal file
7
model/sensor-item/SensorItemDependency.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import {MetaSensorDisplayItem, MetaSensorItemKey} from '../meta';
|
||||
|
||||
export interface SensorItemDependency {
|
||||
id?: number;
|
||||
displayItem?: MetaSensorDisplayItem;
|
||||
sensorItem?: MetaSensorItemKey;
|
||||
}
|
13
model/sensor/Sensor.ts
Normal file
13
model/sensor/Sensor.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
import {MetaCrawler, MetaSensorStatus} from '../meta';
|
||||
import {Target} from '../target';
|
||||
|
||||
export interface Sensor {
|
||||
id?: number;
|
||||
createDate?: Date;
|
||||
description?: string;
|
||||
status?: MetaSensorStatus;
|
||||
target?: Target;
|
||||
crawler?: MetaCrawler;
|
||||
crawlerInputItems?: string;
|
||||
itemCount?: number;
|
||||
}
|
|
@ -1,7 +1,5 @@
|
|||
|
||||
import { Infra } from 'model/infra';
|
||||
import { MetaCrawler } from 'model/meta/crawler/MetaCrawler';
|
||||
import { MetaSensorDisplayItem } from 'model/meta/sensor-display-item/MetaSensorDisplayItem';
|
||||
import {MetaCrawler, MetaSensorDisplayItem} from '../meta';
|
||||
import {Infra} from '../infra';
|
||||
|
||||
export interface SensorRegistInfo {
|
||||
sensorItemMap: Map<number, Array<MetaSensorDisplayItem>>;
|
9
model/target/Target.ts
Normal file
9
model/target/Target.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import {Sensor} from '../sensor';
|
||||
|
||||
export interface Target {
|
||||
id?: number;
|
||||
createDate?: Date;
|
||||
displayName?: string;
|
||||
description?: string;
|
||||
sensors?: Sensor[];
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
|
||||
|
||||
export type CryptoType = "TLS";
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
// enum PortType {
|
||||
// TCP = 1,
|
||||
// UDP = 2,
|
||||
// TLS = 3,
|
||||
// }
|
||||
|
||||
export type PortType = 'TCP' | 'UDP' | 'TLS';
|
|
@ -1,14 +0,0 @@
|
|||
import { MetaHistoryType } from "model/meta/history-type/MetaHistoryType";
|
||||
import { Probe } from "model/probe";
|
||||
import { Member } from "model/member";
|
||||
import { Domain } from "model/domain";
|
||||
|
||||
export interface History {
|
||||
id?: number;
|
||||
createDate?: Date;
|
||||
type?: MetaHistoryType;
|
||||
message?: string;
|
||||
probe?: Probe;
|
||||
member?: Member;
|
||||
domain?: Domain;
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
|
||||
import { Probe } from 'model/probe';
|
||||
import { Target } from 'model/target';
|
||||
import { MetaInfraType } from 'model/meta/infra-type/MetaInfraType';
|
||||
|
||||
// export interface Infra {
|
||||
// id?: number;
|
||||
// infraType?: MetaInfraType;
|
||||
// childId?: number;
|
||||
// createDate?: Date;
|
||||
// probe?: Probe;
|
||||
// target?: Target;
|
||||
// }
|
||||
|
||||
export interface Infra {
|
||||
id?: number;
|
||||
infraType?: MetaInfraType;
|
||||
createDate?: Date;
|
||||
probe?: Probe;
|
||||
target?: Target;
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
import { Infra } from './Infra';
|
||||
|
||||
// export interface InfraMachine extends Infra {
|
||||
// // id?: number;
|
||||
// meta?: string;
|
||||
// createDate?: Date;
|
||||
// }
|
||||
|
||||
export interface InfraMachine extends Infra {
|
||||
meta?: string;
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
import { InfraMachine } from './InfraMachine';
|
||||
import { Infra } from './Infra';
|
||||
import { MetaInfraVendor } from 'model/meta/infra-vendor/MetaInfraVendor';
|
||||
|
||||
// export interface InfraOS extends Infra {
|
||||
// // id?: number;
|
||||
// machine?: InfraMachine;
|
||||
// meta?: string;
|
||||
// createDate?: Date;
|
||||
// vendor?: MetaInfraVendor;
|
||||
// }
|
||||
|
||||
|
||||
export interface InfraOS extends Infra {
|
||||
machine?: InfraMachine;
|
||||
meta?: string;
|
||||
vendor?: MetaInfraVendor;
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
import { InfraOS } from './InfraOS';
|
||||
import { Infra } from './Infra';
|
||||
import { MetaInfraVendor } from 'model/meta/infra-vendor/MetaInfraVendor';
|
||||
|
||||
// export interface InfraOSPort extends Infra {
|
||||
// // id?: number;
|
||||
// os?: InfraOS;
|
||||
// createDate?: Date;
|
||||
// port?: number;
|
||||
// portType?: string;
|
||||
// vendor?: MetaInfraVendor;
|
||||
// tlsType?: boolean;
|
||||
// }
|
||||
|
||||
export interface InfraOSPort extends Infra {
|
||||
os?: InfraOS;
|
||||
port?: number;
|
||||
portType?: string;
|
||||
vendor?: MetaInfraVendor;
|
||||
tlsType?: boolean;
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
import { InfraHost } from './InfraHost';
|
||||
import { Infra } from './Infra';
|
||||
import { MetaInfraVendor } from 'model/meta/infra-vendor/MetaInfraVendor';
|
||||
|
||||
// export interface InfraService extends Infra {
|
||||
// // id?: number;
|
||||
// host?: InfraHost;
|
||||
// portType?: string;
|
||||
// port?: number;
|
||||
// vendor?: MetaInfraVendor;
|
||||
// createDate?: Date;
|
||||
// tlsType?: boolean;
|
||||
// }
|
||||
|
||||
export interface InfraService extends Infra {
|
||||
host?: InfraHost;
|
||||
portType?: string;
|
||||
port?: number;
|
||||
vendor?: MetaInfraVendor;
|
||||
tlsType?: boolean;
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
import { MetaMemberStatus } from 'model/meta/member-status/MetaMemberStatus';
|
||||
|
||||
// export interface Member {
|
||||
// id?: number;
|
||||
// email?: string;
|
||||
// password?: string;
|
||||
// name?: string;
|
||||
// phone?: string;
|
||||
// companyName?: string;
|
||||
// createDate?: Date;
|
||||
// totpType?: boolean;
|
||||
// status?: MetaMemberStatus;
|
||||
// }
|
||||
|
||||
export interface Member {
|
||||
id?: number;
|
||||
email?: string;
|
||||
pw?: string;
|
||||
name?: string;
|
||||
phone?: string;
|
||||
companyName?: string;
|
||||
createDate?: Date;
|
||||
status?: MetaMemberStatus;
|
||||
signinFailCount?: number;
|
||||
totpType?: boolean;
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
import { Member } from 'model/member';
|
||||
|
||||
// export interface MemberTotp {
|
||||
// id?: number;
|
||||
// member: Member;
|
||||
// secretCode?: string;
|
||||
// createDate?: Date;
|
||||
// updateDate?: Date;
|
||||
// otpAuthUrl?: string;
|
||||
// }
|
||||
|
||||
|
||||
export interface MemberTotp {
|
||||
id?: number;
|
||||
member?: Member;
|
||||
secretCode?: string;
|
||||
createDate?: Date;
|
||||
updateDate?: Date;
|
||||
otpAuth?: string;
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
import { MetaInputType } from 'model/meta/input-type/MetaInputType';
|
||||
import { MetaCrawler } from 'model/meta/crawler/MetaCrawler';
|
||||
|
||||
|
||||
// export interface MetaCrawlerInputItem {
|
||||
// id?: number;
|
||||
// inputType?: MetaInputType;
|
||||
// crawler?: MetaCrawler;
|
||||
// description?: string;
|
||||
// name?: string;
|
||||
// createDate?: Date;
|
||||
// required?: boolean;
|
||||
// defaultValue?: string;
|
||||
// pattern?: string;
|
||||
// keyName?: string;
|
||||
// keyValue?: string;
|
||||
// }
|
||||
|
||||
export interface MetaCrawlerInputItem {
|
||||
id?: number;
|
||||
inputType?: MetaInputType;
|
||||
crawler?: MetaCrawler;
|
||||
description?: string;
|
||||
name?: string;
|
||||
createDate?: Date;
|
||||
required?: boolean;
|
||||
defaultValue?: string;
|
||||
pattern?: string;
|
||||
keyName?: string;
|
||||
keyValue?: string;
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
|
||||
import { MetaCrawler } from 'model/meta/crawler/MetaCrawler';
|
||||
import { MetaInfraVendor } from 'model/meta/infra-vendor/MetaInfraVendor';
|
||||
|
||||
export interface MetaVendorCrawler {
|
||||
id?: number;
|
||||
crawler: MetaCrawler;
|
||||
infraVendor: MetaInfraVendor;
|
||||
createDate: Date;
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
|
||||
// export interface MetaNotification {
|
||||
// id?: number;
|
||||
// createDate: Date;
|
||||
// name: string;
|
||||
// description: string;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
export interface MetaNotification {
|
||||
id?: number;
|
||||
createDate?: Date;
|
||||
name?: string;
|
||||
description?: string;
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
import { MetaProbeVersion } from 'model/meta/probe-version/MetaProbeVersion';
|
||||
import { MetaProbeOs } from 'model/meta/probe-os/MetaProbeOs';
|
||||
import { MetaProbeArchitecture } from 'model/meta/probe-architecture/MetaProbeArchitecture';
|
||||
|
||||
// export interface MetaProbePackage {
|
||||
// id?: number;
|
||||
// version: MetaProbeVersion;
|
||||
// os: MetaProbeOs;
|
||||
// architecture: MetaProbeArchitecture;
|
||||
// createDate: Date;
|
||||
// }
|
||||
|
||||
|
||||
export interface MetaProbePackage {
|
||||
id?: number;
|
||||
version?: MetaProbeVersion;
|
||||
os?: MetaProbeOs;
|
||||
architecture?: MetaProbeArchitecture;
|
||||
createDate?: Date;
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
|
||||
// export interface MetaProbeTaskType {
|
||||
// id?: number;
|
||||
// name: string;
|
||||
// description: string;
|
||||
// createDate: Date;
|
||||
// }
|
||||
|
||||
|
||||
export interface MetaProbeTaskType {
|
||||
id?: number;
|
||||
name?: string;
|
||||
description?: string;
|
||||
createDate?: Date;
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
// export interface MetaProbeVersion {
|
||||
// id?: number;
|
||||
// version: string;
|
||||
// createDate: Date;
|
||||
// }
|
||||
|
||||
|
||||
export interface MetaProbeVersion {
|
||||
id?: number;
|
||||
version?: string;
|
||||
createDate?: Date;
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
import { MetaCrawler } from 'model/meta/crawler/MetaCrawler';
|
||||
import { MetaSensorItemUnit } from 'model/meta/sensor-item-unit/MetaSensorItemUnit';
|
||||
import { MetaSensorItemType } from 'model/meta/sensor-item-type/MetaSensorItemType';
|
||||
|
||||
// export interface MetaSensorDisplayItem {
|
||||
// id?: number;
|
||||
// key?: string;
|
||||
// displayName?: string;
|
||||
// description?: string;
|
||||
// crawler?: MetaCrawler;
|
||||
// unit?: MetaSensorItemUnit;
|
||||
// createDate?: Date;
|
||||
// default?: boolean;
|
||||
// itemType?: MetaSensorItemType;
|
||||
// }
|
||||
|
||||
|
||||
export interface MetaSensorDisplayItem {
|
||||
id?: number;
|
||||
key?: string;
|
||||
displayName?: string;
|
||||
description?: string;
|
||||
crawler?: MetaCrawler;
|
||||
unit?: MetaSensorItemUnit;
|
||||
createDate?: Date;
|
||||
itemType?: MetaSensorItemType;
|
||||
default?: boolean;
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
import { MetaSensorDisplayItem } from "model/meta/sensor-display-item/MetaSensorDisplayItem";
|
||||
import { MetaSensorItemKey } from "model/meta/sensor-item-key/MetaSensorItemKey";
|
||||
|
||||
export interface MetaSensorDisplayMapping {
|
||||
id?: number;
|
||||
displayItem?: MetaSensorDisplayItem;
|
||||
itemKey?: MetaSensorItemKey;
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
import { MetaSensorItem } from 'model/meta/sensor-item/MetaSensorItem';
|
||||
import { MetaCrawler } from 'model/meta/crawler/MetaCrawler';
|
||||
import { MetaSensorItemUnit } from 'model/meta/sensor-item-unit/MetaSensorItemUnit';
|
||||
|
||||
// export interface MetaSensorItemKey {
|
||||
// id: number;
|
||||
// item: MetaSensorItem;
|
||||
// key: string;
|
||||
// froms: string;
|
||||
// option: string;
|
||||
// crawler: MetaCrawler;
|
||||
// createDate: Date;
|
||||
// }
|
||||
|
||||
export interface MetaSensorItemKey {
|
||||
id?: number;
|
||||
item?: MetaSensorItem;
|
||||
key?: string;
|
||||
froms?: string;
|
||||
option?: string;
|
||||
crawler?: MetaCrawler;
|
||||
createDate?: Date;
|
||||
unit?: MetaSensorItemUnit;
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
// export interface MetaSensorItemType {
|
||||
// id?: number;
|
||||
// name?: string;
|
||||
// description?: string;
|
||||
// createDate?: Date;
|
||||
// }
|
||||
|
||||
|
||||
export interface MetaSensorItemType {
|
||||
id?: number;
|
||||
name?: string;
|
||||
description?: string;
|
||||
createDate?: Date;
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
// export interface MetaSensorItemUnit {
|
||||
// id: number;
|
||||
// unit: string;
|
||||
// createDate: Date;
|
||||
// mark: string;
|
||||
// }
|
||||
|
||||
|
||||
export interface MetaSensorItemUnit {
|
||||
id?: number;
|
||||
unit?: string;
|
||||
createDate?: Date;
|
||||
mark?: string;
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
import { MetaSensorItemType } from 'model/meta/sensor-item-type/MetaSensorItemType';
|
||||
|
||||
|
||||
// export interface MetaSensorItem {
|
||||
// id?: number;
|
||||
// itemType?: MetaSensorItemType;
|
||||
// key?: string;
|
||||
// name?: string;
|
||||
// createDate?: Date;
|
||||
// }
|
||||
|
||||
export interface MetaSensorItem {
|
||||
id?: number;
|
||||
key?: string;
|
||||
name?: string;
|
||||
createDate?: Date;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user