option added
This commit is contained in:
parent
df6e7fb79a
commit
9a523e2fac
|
@ -2,9 +2,9 @@
|
|||
import Domain from 'domain/api/model/Domain';
|
||||
|
||||
export interface ApiKey {
|
||||
id: number;
|
||||
id?: number;
|
||||
apiKey: string;
|
||||
createDate: Date;
|
||||
createDate?: Date;
|
||||
domain: Domain;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
import Port from './Port';
|
||||
|
||||
interface Host {
|
||||
id: number;
|
||||
id?: number;
|
||||
ip: number;
|
||||
mac: number;
|
||||
createDate: Date;
|
||||
createDate?: Date;
|
||||
updateDate: Date;
|
||||
os: string;
|
||||
target: boolean;
|
||||
ports: Port[];
|
||||
ports?: Port[];
|
||||
}
|
||||
|
||||
export default Host;
|
|
@ -3,12 +3,12 @@ import Service from './Service';
|
|||
import PortType from './PortType';
|
||||
|
||||
interface Port {
|
||||
id: number;
|
||||
id?: number;
|
||||
host: Host;
|
||||
portType: PortType;
|
||||
portNumber: number;
|
||||
services: Service[];
|
||||
createDate: Date;
|
||||
services?: Service[];
|
||||
createDate?: Date;
|
||||
updateDate: Date;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
|
||||
interface MetaCrawler {
|
||||
id: number;
|
||||
createDate: Date;
|
||||
id?: number;
|
||||
createDate?: Date;
|
||||
name: string;
|
||||
description: string;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
enum MetaCrawler_ID {
|
||||
export enum MetaCrawler_ID {
|
||||
ACTIVEDIRECTORY_CRAWLER = 1,
|
||||
CASSANDRA_CRAWLER = 2,
|
||||
DHCP_CRAWLER = 3,
|
||||
|
|
|
@ -3,17 +3,17 @@ import MetaInputType from './MetaInputType';
|
|||
import MetaCrawler from './MetaCrawler';
|
||||
|
||||
interface MetaCrawlerInputItem {
|
||||
id: number;
|
||||
id?: number;
|
||||
metaInputType: MetaInputType;
|
||||
metaCrawler: MetaCrawler;
|
||||
description: string;
|
||||
description?: string;
|
||||
name: string;
|
||||
createDate: Date;
|
||||
createDate?: Date;
|
||||
required: boolean;
|
||||
defaultValue: string;
|
||||
pattern: string;
|
||||
keyName: string;
|
||||
keyValue: string;
|
||||
pattern?: string;
|
||||
keyName?: string;
|
||||
keyValue?: string;
|
||||
}
|
||||
|
||||
export default MetaCrawlerInputItem;
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
interface MetaInfraType {
|
||||
id: number;
|
||||
id?: number;
|
||||
name: string;
|
||||
createDate: Date;
|
||||
createDate?: Date;
|
||||
}
|
||||
|
||||
export enum MetaInfraType_ID {
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
import MetaInfraType from './MetaInfraType';
|
||||
|
||||
interface MetaInfraVendor {
|
||||
id: number;
|
||||
id?: number;
|
||||
name: string;
|
||||
createDate: Date;
|
||||
createDate?: Date;
|
||||
metaInfraType: MetaInfraType;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
|
||||
interface MetaInputType {
|
||||
id: number;
|
||||
id?: number;
|
||||
name: string;
|
||||
description: string;
|
||||
createDate: Date;
|
||||
description?: string;
|
||||
createDate?: Date;
|
||||
}
|
||||
|
||||
export enum MetaInputType_ID {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
interface MetaMemberStatus {
|
||||
id: number;
|
||||
id?: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
interface MetaNoAuthProbeStatus {
|
||||
id: number;
|
||||
id?: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
|
||||
interface MetaNotification {
|
||||
id: number;
|
||||
createDate: Date;
|
||||
id?: number;
|
||||
createDate?: Date;
|
||||
name: string;
|
||||
description: string;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
export default MetaNotification;
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
interface MetaProbeArchitecture {
|
||||
id: number;
|
||||
id?: number;
|
||||
architecture: string;
|
||||
createDate: Date;
|
||||
createDate?: Date;
|
||||
}
|
||||
|
||||
export enum MetaProbeArchitecture_ID {
|
||||
|
|
|
@ -3,11 +3,11 @@ import MetaProbeOs from './MetaProbeOs';
|
|||
import MetaProbeArchitecture from './MetaProbeArchitecture';
|
||||
|
||||
interface MetaProbePackage {
|
||||
id: number;
|
||||
id?: number;
|
||||
version: MetaProbeVersion;
|
||||
os: MetaProbeOs;
|
||||
architecture: MetaProbeArchitecture;
|
||||
createDate: Date;
|
||||
createDate?: Date;
|
||||
}
|
||||
|
||||
export default MetaProbePackage;
|
||||
|
|
|
@ -3,10 +3,10 @@ import MetaInfraVendor from './MetaInfraVendor';
|
|||
import MetaSensorItem from './MetaSensorItem';
|
||||
|
||||
interface MetaVendorCrawlerSensorItem {
|
||||
id: number;
|
||||
id?: number;
|
||||
interval: string;
|
||||
warnCondition: string;
|
||||
createDate: Date;
|
||||
createDate?: Date;
|
||||
metaSensorItem: MetaSensorItem;
|
||||
metaInfraVendor: MetaInfraVendor;
|
||||
crawlerId: number;
|
||||
|
|
Loading…
Reference in New Issue
Block a user