model's changed

This commit is contained in:
insanity 2018-06-15 17:24:34 +09:00
parent 220f714d88
commit b65c6ad7fb
9 changed files with 7 additions and 15 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@overflow/commons-typescript",
"version": "0.0.11",
"version": "0.0.13",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -34,4 +34,4 @@
"typedoc": "^0.11.1",
"typescript": "^2.8.3"
}
}
}

View File

@ -3,9 +3,6 @@ import { InfraZone } from './InfraZone';
import { MetaTargetHostType } from '../meta/MetaTargetHostType';
import { InfraHostMachine } from './InfraHostMachine';
import { InfraHostOS } from './InfraHostOS';
import { InfraHostPort } from './InfraHostPort';
import { InfraHostApplication } from './InfraHostApplication';
import { InfraHostDaemon } from './InfraHostDaemon';
import { InfraHostIP } from './InfraHostIP';
export interface InfraHost extends Infra {
@ -14,7 +11,5 @@ export interface InfraHost extends Infra {
infraHostMachine?: InfraHostMachine;
infraHostOS?: InfraHostOS;
infraHostIPs?: InfraHostIP[];
infraHostPorts?: InfraHostPort[];
infraHostApplications?: InfraHostApplication[];
infraHostDaemons?: InfraHostDaemon[];
containerInfraHost?: InfraHost;
}

View File

@ -3,7 +3,6 @@ import { InfraHost } from './InfraHost';
export interface InfraHostMachine extends Infra {
id?: number;
infraHost?: InfraHost;
meta?: string;
createDate?: Date;
}

View File

@ -3,7 +3,6 @@ import { InfraHost } from './InfraHost';
export interface InfraHostOS extends Infra {
id?: number;
infraHost?: InfraHost;
name?: string;
os?: string;
platform?: string;

View File

@ -1,10 +1,10 @@
import { Infra } from './Infra';
import { InfraHost } from './InfraHost';
import { MetaPortType } from '../meta/MetaPortType';
import { InfraHostIP } from './InfraHostIP';
export interface InfraHostPort extends Infra {
id?: number;
infraHost?: InfraHost;
infraHostIP?: InfraHostIP;
metaPortType?: MetaPortType;
port?: number;
createDate?: Date;

View File

@ -6,7 +6,6 @@ import { MetaCryptoType } from '../meta/MetaCryptoType';
export interface InfraService extends Infra {
metaTargetServiceType?: MetaTargetServiceType;
infraHostIP?: InfraHostIP;
infraHostPort?: InfraHostPort;
metaCryptoType?: MetaCryptoType;
}

View File

@ -4,9 +4,9 @@ import { MetaIPType } from '../meta/MetaIPType';
export interface InfraZone extends Infra {
metaTargetZoneType?: MetaTargetZoneType;
metaIPType?: MetaIPType;
network?: string;
iface?: string;
metaIPType?: MetaIPType;
address?: string;
mac?: string;
}

View File

@ -15,5 +15,5 @@ export interface NoAuthProbe {
connectAddress?: string;
createDate?: Date;
infraHost?: InfraHost;
infraHost?: InfraHost; // Do not remove
}