This commit is contained in:
snoop 2017-07-03 15:28:45 +09:00
parent 218f74b1d3
commit bfb09167d2
14 changed files with 120 additions and 0 deletions

View File

View File

@ -0,0 +1,11 @@
import Member from 'member/api/model/Member';
interface EmailAuth {
id: number;
emailAuthKey: string;
createDate: Date;
authConfirmDate: Date;
member: Member;
}
export default EmailAuth;

View File

@ -0,0 +1,18 @@
import Service from 'commons/api/Service';
import EmailAuth from '../model/EmailAuth';
class EmailAuthService extends Service {
public constructor() {
super('EmailAuthService');
}
public sendEmail(to :string, sub :string, message :string): void {
return null;
}
}
export default EmailAuthService;

View File

@ -0,0 +1,11 @@
interface Infra {
id: number;
type: MetaInfraType;
childId: number;
createDate: Date;
}
export default Infra;

View File

@ -0,0 +1,11 @@
import InfraOS from './InfraOS';
interface InfraHost {
id: number;
os: InfraOS;
ip: number;
mac: number;
createDate: Date;
}
export default InfraHost;

View File

@ -0,0 +1,11 @@
import Probe from 'probe/api/model/Probe';
interface InfraMachine {
id: number;
probe: Probe;
meta: string;
createDate: Date;
}
export default InfraMachine;

View File

@ -0,0 +1,12 @@
import InfraMachine from './InfraMachine';
interface InfraOS {
id: number;
machine: InfraMachine;
meta: string;
createDate: Date;
vendor: MetaInfraVendor;
}
export default InfraOS;

View File

@ -0,0 +1,10 @@
interface InfraOSApplication {
id: number;
os: InfraOS;
name: string;
createDate: Date;
}
export default InfraOS;

View File

@ -0,0 +1,10 @@
import InfraOS from './InfraOS';
interface InfraOSDaemon {
id: number;
os: InfraOS;
name: string;
createDate: Date;
}
export default InfraOSDaemon;

View File

@ -0,0 +1,13 @@
import InfraOS from './InfraOS';
interface InfraOSPort {
id: number;
os: InfraOS;
createDate: Date;
port: number;
portType: string;
vendor: MetaInfraVendor;
tlsType: boolean;
}
export default InfraOSPort;

View File

@ -0,0 +1,13 @@
import InfraHost from './InfraHost';
interface InfraService {
id: number;
host: InfraHost;
portType: string;
port: number;
vendor: MetaInfraVendor;
createDate: Date;
tlsType: boolean;
}
export default InfraService;