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