tslint
This commit is contained in:
parent
df6e7fb79a
commit
390eb3ac32
|
@ -1,36 +1,36 @@
|
||||||
|
|
||||||
interface MetaCrawler {
|
interface MetaCrawler {
|
||||||
id: number;
|
id: number;
|
||||||
createDate: Date;
|
createDate: Date;
|
||||||
name: string;
|
name: string;
|
||||||
description: string;
|
description: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum MetaCrawler_ID {
|
enum MetaCrawler_ID {
|
||||||
ACTIVEDIRECTORY_CRAWLER = 1,
|
ACTIVEDIRECTORY_CRAWLER = 1,
|
||||||
CASSANDRA_CRAWLER = 2,
|
CASSANDRA_CRAWLER = 2,
|
||||||
DHCP_CRAWLER = 3,
|
DHCP_CRAWLER = 3,
|
||||||
DNS_CRAWLER = 4,
|
DNS_CRAWLER = 4,
|
||||||
FTP_CRAWLER = 5,
|
FTP_CRAWLER = 5,
|
||||||
HTTP_CRAWLER = 6,
|
HTTP_CRAWLER = 6,
|
||||||
IMAP_CRAWLER = 7,
|
IMAP_CRAWLER = 7,
|
||||||
LDAP_CRAWLER = 8,
|
LDAP_CRAWLER = 8,
|
||||||
MONGODB_CRAWLER = 9,
|
MONGODB_CRAWLER = 9,
|
||||||
MSSQL_CRAWLER = 10,
|
MSSQL_CRAWLER = 10,
|
||||||
MYSQL_CRAWLER = 11,
|
MYSQL_CRAWLER = 11,
|
||||||
NETBIOS_CRAWLER = 12,
|
NETBIOS_CRAWLER = 12,
|
||||||
ORACLE_CRAWLER = 13,
|
ORACLE_CRAWLER = 13,
|
||||||
POP_CRAWLER = 14,
|
POP_CRAWLER = 14,
|
||||||
POSTGRESQL_CRAWLER = 15,
|
POSTGRESQL_CRAWLER = 15,
|
||||||
REDIS_CRAWLER = 16,
|
REDIS_CRAWLER = 16,
|
||||||
RMI_CRAWLER = 17,
|
RMI_CRAWLER = 17,
|
||||||
SMB_CRAWLER = 18,
|
SMB_CRAWLER = 18,
|
||||||
SMTP_CRAWLER = 19,
|
SMTP_CRAWLER = 19,
|
||||||
SNMP_CRAWLER = 20,
|
SNMP_CRAWLER = 20,
|
||||||
SSH_CRAWLER = 21,
|
SSH_CRAWLER = 21,
|
||||||
TELNET_CRAWLER = 22,
|
TELNET_CRAWLER = 22,
|
||||||
WMI_CRAWLER = 23,
|
WMI_CRAWLER = 23,
|
||||||
UNKNOWN_CRAWLER = 24
|
UNKNOWN_CRAWLER = 24
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaCrawler;
|
export default MetaCrawler;
|
|
@ -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,18 +1,18 @@
|
||||||
|
|
||||||
interface MetaInfraType {
|
interface MetaInfraType {
|
||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
createDate: Date;
|
createDate: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum MetaInfraType_ID {
|
export enum MetaInfraType_ID {
|
||||||
MACHINE = 1,
|
MACHINE = 1,
|
||||||
HOST = 2,
|
HOST = 2,
|
||||||
OS = 3,
|
OS = 3,
|
||||||
OS_APPLICATION = 4,
|
OS_APPLICATION = 4,
|
||||||
OS_DAEMON = 5,
|
OS_DAEMON = 5,
|
||||||
OS_PORT = 6,
|
OS_PORT = 6,
|
||||||
OS_SERVICE = 7
|
OS_SERVICE = 7
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaInfraType;
|
export default MetaInfraType;
|
|
@ -2,66 +2,66 @@
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum MetaInfraVendor_Machine_ID {
|
export enum MetaInfraVendor_Machine_ID {
|
||||||
APPLE = 1,
|
APPLE = 1,
|
||||||
MICROSOFT = 2,
|
MICROSOFT = 2,
|
||||||
ASUS = 3,
|
ASUS = 3,
|
||||||
HP = 4,
|
HP = 4,
|
||||||
DELL = 5,
|
DELL = 5,
|
||||||
LENOVO = 6,
|
LENOVO = 6,
|
||||||
ACER = 7,
|
ACER = 7,
|
||||||
SAMSUNG = 8,
|
SAMSUNG = 8,
|
||||||
LG = 9,
|
LG = 9,
|
||||||
CISCO = 10
|
CISCO = 10
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum MetaInfraVendor_HOST_ID {
|
export enum MetaInfraVendor_HOST_ID {
|
||||||
Windows = 11,
|
Windows = 11,
|
||||||
Linux = 12,
|
Linux = 12,
|
||||||
MacOS = 13,
|
MacOS = 13,
|
||||||
Ubuntu = 14,
|
Ubuntu = 14,
|
||||||
CentOS = 15,
|
CentOS = 15,
|
||||||
Fedora = 16,
|
Fedora = 16,
|
||||||
RedHat = 17,
|
RedHat = 17,
|
||||||
Debian = 18,
|
Debian = 18,
|
||||||
SUSE = 19,
|
SUSE = 19,
|
||||||
CoreOS = 20,
|
CoreOS = 20,
|
||||||
AmazonLinux = 21,
|
AmazonLinux = 21,
|
||||||
Kubernetes = 22,
|
Kubernetes = 22,
|
||||||
Docker = 23,
|
Docker = 23,
|
||||||
iOS = 24,
|
iOS = 24,
|
||||||
Android = 25
|
Android = 25
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum MetaInfraVendor_OS_ID {
|
export enum MetaInfraVendor_OS_ID {
|
||||||
Windows = 26,
|
Windows = 26,
|
||||||
MacOS = 27,
|
MacOS = 27,
|
||||||
Ubuntu = 28,
|
Ubuntu = 28,
|
||||||
CentOS = 29,
|
CentOS = 29,
|
||||||
Fedora = 30,
|
Fedora = 30,
|
||||||
RedHat = 31,
|
RedHat = 31,
|
||||||
Debian = 32,
|
Debian = 32,
|
||||||
SUSE = 33,
|
SUSE = 33,
|
||||||
CoreOS = 34,
|
CoreOS = 34,
|
||||||
AmazonLinux = 35,
|
AmazonLinux = 35,
|
||||||
Kubernetes = 36,
|
Kubernetes = 36,
|
||||||
Docker = 37,
|
Docker = 37,
|
||||||
iOS = 38,
|
iOS = 38,
|
||||||
Android = 39
|
Android = 39
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum MetaInfraVendor_SERVICE_ID {
|
export enum MetaInfraVendor_SERVICE_ID {
|
||||||
MySql = 40,
|
MySql = 40,
|
||||||
PostgreSQL = 41,
|
PostgreSQL = 41,
|
||||||
WMI = 42,
|
WMI = 42,
|
||||||
SNMP_V2 = 43,
|
SNMP_V2 = 43,
|
||||||
UNKNOWN = 44
|
UNKNOWN = 44
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaInfraVendor;
|
export default MetaInfraVendor;
|
|
@ -1,17 +1,17 @@
|
||||||
|
|
||||||
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 {
|
||||||
TEXT_TYPE = 1,
|
TEXT_TYPE = 1,
|
||||||
PASSWORD_TYPE = 2,
|
PASSWORD_TYPE = 2,
|
||||||
NUMBER_TYPE = 3,
|
NUMBER_TYPE = 3,
|
||||||
BOOLEAN_TYPE = 4,
|
BOOLEAN_TYPE = 4,
|
||||||
SELECT_TYPE = 5
|
SELECT_TYPE = 5
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaInputType;
|
export default MetaInputType;
|
|
@ -1,14 +1,14 @@
|
||||||
|
|
||||||
interface MetaMemberStatus {
|
interface MetaMemberStatus {
|
||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum MetaMemberStatus_ID {
|
export enum MetaMemberStatus_ID {
|
||||||
NOAUTH = 1,
|
NOAUTH = 1,
|
||||||
NORMAL = 2,
|
NORMAL = 2,
|
||||||
DIAPAUSE = 3,
|
DIAPAUSE = 3,
|
||||||
WITHDRAWAL = 4
|
WITHDRAWAL = 4,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaMemberStatus;
|
export default MetaMemberStatus;
|
|
@ -1,13 +1,13 @@
|
||||||
|
|
||||||
interface MetaNoAuthProbeStatus {
|
interface MetaNoAuthProbeStatus {
|
||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum MetaNoAuthProbeStatus_ID {
|
export enum MetaNoAuthProbeStatus_ID {
|
||||||
ACCEPT = 1,
|
ACCEPT = 1,
|
||||||
DENY = 2,
|
DENY = 2,
|
||||||
PROCESS = 3
|
PROCESS = 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaNoAuthProbeStatus;
|
export default MetaNoAuthProbeStatus;
|
|
@ -1,9 +1,10 @@
|
||||||
|
|
||||||
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,12 +1,12 @@
|
||||||
|
|
||||||
interface MetaProbeArchitecture {
|
interface MetaProbeArchitecture {
|
||||||
id: number;
|
id: number;
|
||||||
architecture: string;
|
architecture: string;
|
||||||
createDate: Date;
|
createDate: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum MetaProbeArchitecture_ID {
|
export enum MetaProbeArchitecture_ID {
|
||||||
x86_64bit = 1
|
x86_64bit = 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaProbeArchitecture;
|
export default MetaProbeArchitecture;
|
|
@ -1,15 +1,15 @@
|
||||||
|
|
||||||
interface MetaProbeOs {
|
interface MetaProbeOs {
|
||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
createDate: Date;
|
createDate: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum MetaProbeOs_ID {
|
export enum MetaProbeOs_ID {
|
||||||
Windows = 1,
|
Windows = 1,
|
||||||
Debian = 2,
|
Debian = 2,
|
||||||
Ubuntu = 3,
|
Ubuntu = 3,
|
||||||
Fedora = 4
|
Fedora = 4,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaProbeOs;
|
export default MetaProbeOs;
|
|
@ -3,11 +3,12 @@ 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;
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
|
|
||||||
interface MetaProbeStatus {
|
interface MetaProbeStatus {
|
||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum MetaProbeStatus_ID {
|
export enum MetaProbeStatus_ID {
|
||||||
INITIAL = 1,
|
INITIAL = 1,
|
||||||
NORMAL = 2
|
NORMAL = 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaProbeStatus;
|
export default MetaProbeStatus;
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
interface MetaProbeTaskType {
|
interface MetaProbeTaskType {
|
||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
description: string;
|
description: string;
|
||||||
createDate: Date;
|
createDate: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaProbeTaskType;
|
export default MetaProbeTaskType;
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
interface MetaProbeVersion {
|
interface MetaProbeVersion {
|
||||||
id: number;
|
id: number;
|
||||||
version: string;
|
version: string;
|
||||||
createDate: Date;
|
createDate: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaProbeVersion;
|
export default MetaProbeVersion;
|
|
@ -1,12 +1,13 @@
|
||||||
|
|
||||||
import MetaProbeArchitecture from './MetaProbeArchitecture';
|
import MetaProbeArchitecture from './MetaProbeArchitecture';
|
||||||
|
import MetaSensorItemType from './MetaSensorItemType';
|
||||||
|
|
||||||
interface MetaSensorItem {
|
interface MetaSensorItem {
|
||||||
id: number;
|
id: number;
|
||||||
metaSensorItemType: MetaSensorItemType;
|
metaSensorItemType: MetaSensorItemType;
|
||||||
key: string;
|
key: string;
|
||||||
name: string;
|
name: string;
|
||||||
createDate: Date;
|
createDate: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaSensorItem;
|
export default MetaSensorItem;
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
interface MetaSensorItemType {
|
interface MetaSensorItemType {
|
||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
description: string;
|
description: string;
|
||||||
createDate: Date;
|
createDate: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaSensorItemType;
|
export default MetaSensorItemType;
|
|
@ -1,12 +1,14 @@
|
||||||
|
|
||||||
interface MetaSensorStatus {
|
interface MetaSensorStatus {
|
||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum MetaSensorStatus_ID {
|
export enum MetaSensorStatus_ID {
|
||||||
RUNNING = 1,
|
RUNNING = 1,
|
||||||
STOPPED = 2
|
STOPPED = 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaSensorStatus;
|
export default MetaSensorStatus;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
|
|
||||||
|
import MetaInfraVendor from './MetaInfraVendor';
|
||||||
|
import MetaCrawler from './MetaCrawler';
|
||||||
interface MetaVendorCrawler {
|
interface MetaVendorCrawler {
|
||||||
id: number;
|
id: number;
|
||||||
metaCrawler: MetaCrawler;
|
metaCrawler: MetaCrawler;
|
||||||
metaInfraVendor: MetaInfraVendor;
|
metaInfraVendor: MetaInfraVendor;
|
||||||
createDate: Date;
|
createDate: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaVendorCrawler;
|
export default MetaVendorCrawler;
|
|
@ -3,13 +3,13 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MetaVendorCrawlerSensorItem;
|
export default MetaVendorCrawlerSensorItem;
|
Loading…
Reference in New Issue
Block a user