ing
This commit is contained in:
parent
218f74b1d3
commit
bfb09167d2
11
src/ts/email/api/model/EmailAuth.ts
Normal file
11
src/ts/email/api/model/EmailAuth.ts
Normal 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;
|
18
src/ts/email/api/service/EmailAuthService.ts
Normal file
18
src/ts/email/api/service/EmailAuthService.ts
Normal 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;
|
11
src/ts/infra/api/model/Infra.ts
Normal file
11
src/ts/infra/api/model/Infra.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
|
||||
|
||||
interface Infra {
|
||||
id: number;
|
||||
type: MetaInfraType;
|
||||
childId: number;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
export default Infra;
|
11
src/ts/infra/api/model/InfraHost.ts
Normal file
11
src/ts/infra/api/model/InfraHost.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import InfraOS from './InfraOS';
|
||||
|
||||
interface InfraHost {
|
||||
id: number;
|
||||
os: InfraOS;
|
||||
ip: number;
|
||||
mac: number;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
export default InfraHost;
|
11
src/ts/infra/api/model/InfraMachine.ts
Normal file
11
src/ts/infra/api/model/InfraMachine.ts
Normal 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;
|
12
src/ts/infra/api/model/InfraOS.ts
Normal file
12
src/ts/infra/api/model/InfraOS.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import InfraMachine from './InfraMachine';
|
||||
|
||||
|
||||
interface InfraOS {
|
||||
id: number;
|
||||
machine: InfraMachine;
|
||||
meta: string;
|
||||
createDate: Date;
|
||||
vendor: MetaInfraVendor;
|
||||
}
|
||||
|
||||
export default InfraOS;
|
10
src/ts/infra/api/model/InfraOSApplication.ts
Normal file
10
src/ts/infra/api/model/InfraOSApplication.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
interface InfraOSApplication {
|
||||
id: number;
|
||||
os: InfraOS;
|
||||
name: string;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
|
||||
export default InfraOS;
|
10
src/ts/infra/api/model/InfraOSDaemon.ts
Normal file
10
src/ts/infra/api/model/InfraOSDaemon.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import InfraOS from './InfraOS';
|
||||
|
||||
interface InfraOSDaemon {
|
||||
id: number;
|
||||
os: InfraOS;
|
||||
name: string;
|
||||
createDate: Date;
|
||||
}
|
||||
|
||||
export default InfraOSDaemon;
|
13
src/ts/infra/api/model/InfraOSPort.ts
Normal file
13
src/ts/infra/api/model/InfraOSPort.ts
Normal 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;
|
13
src/ts/infra/api/model/InfraService.ts
Normal file
13
src/ts/infra/api/model/InfraService.ts
Normal 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;
|
Loading…
Reference in New Issue
Block a user