From bfb09167d2179216fe5567dfb6adfb177ee92c1f Mon Sep 17 00:00:00 2001 From: snoop Date: Mon, 3 Jul 2017 15:28:45 +0900 Subject: [PATCH] ing --- src/ts/email/api/_ | 0 src/ts/email/api/model/EmailAuth.ts | 11 +++++++++++ src/ts/email/api/model/_ | 0 src/ts/email/api/service/EmailAuthService.ts | 18 ++++++++++++++++++ src/ts/email/api/service/_ | 0 src/ts/infra/api/model/Infra.ts | 11 +++++++++++ src/ts/infra/api/model/InfraHost.ts | 11 +++++++++++ src/ts/infra/api/model/InfraMachine.ts | 11 +++++++++++ src/ts/infra/api/model/InfraOS.ts | 12 ++++++++++++ src/ts/infra/api/model/InfraOSApplication.ts | 10 ++++++++++ src/ts/infra/api/model/InfraOSDaemon.ts | 10 ++++++++++ src/ts/infra/api/model/InfraOSPort.ts | 13 +++++++++++++ src/ts/infra/api/model/InfraService.ts | 13 +++++++++++++ src/ts/infra/api/model/_ | 0 14 files changed, 120 insertions(+) delete mode 100644 src/ts/email/api/_ create mode 100644 src/ts/email/api/model/EmailAuth.ts delete mode 100644 src/ts/email/api/model/_ create mode 100644 src/ts/email/api/service/EmailAuthService.ts delete mode 100644 src/ts/email/api/service/_ create mode 100644 src/ts/infra/api/model/Infra.ts create mode 100644 src/ts/infra/api/model/InfraHost.ts create mode 100644 src/ts/infra/api/model/InfraMachine.ts create mode 100644 src/ts/infra/api/model/InfraOS.ts create mode 100644 src/ts/infra/api/model/InfraOSApplication.ts create mode 100644 src/ts/infra/api/model/InfraOSDaemon.ts create mode 100644 src/ts/infra/api/model/InfraOSPort.ts create mode 100644 src/ts/infra/api/model/InfraService.ts delete mode 100644 src/ts/infra/api/model/_ diff --git a/src/ts/email/api/_ b/src/ts/email/api/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/email/api/model/EmailAuth.ts b/src/ts/email/api/model/EmailAuth.ts new file mode 100644 index 0000000..f4067d0 --- /dev/null +++ b/src/ts/email/api/model/EmailAuth.ts @@ -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; \ No newline at end of file diff --git a/src/ts/email/api/model/_ b/src/ts/email/api/model/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/email/api/service/EmailAuthService.ts b/src/ts/email/api/service/EmailAuthService.ts new file mode 100644 index 0000000..394807a --- /dev/null +++ b/src/ts/email/api/service/EmailAuthService.ts @@ -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; \ No newline at end of file diff --git a/src/ts/email/api/service/_ b/src/ts/email/api/service/_ deleted file mode 100644 index e69de29..0000000 diff --git a/src/ts/infra/api/model/Infra.ts b/src/ts/infra/api/model/Infra.ts new file mode 100644 index 0000000..92e1b21 --- /dev/null +++ b/src/ts/infra/api/model/Infra.ts @@ -0,0 +1,11 @@ + + + +interface Infra { + id: number; + type: MetaInfraType; + childId: number; + createDate: Date; +} + +export default Infra; \ No newline at end of file diff --git a/src/ts/infra/api/model/InfraHost.ts b/src/ts/infra/api/model/InfraHost.ts new file mode 100644 index 0000000..37239fa --- /dev/null +++ b/src/ts/infra/api/model/InfraHost.ts @@ -0,0 +1,11 @@ +import InfraOS from './InfraOS'; + +interface InfraHost { + id: number; + os: InfraOS; + ip: number; + mac: number; + createDate: Date; +} + +export default InfraHost; \ No newline at end of file diff --git a/src/ts/infra/api/model/InfraMachine.ts b/src/ts/infra/api/model/InfraMachine.ts new file mode 100644 index 0000000..1bf5fb1 --- /dev/null +++ b/src/ts/infra/api/model/InfraMachine.ts @@ -0,0 +1,11 @@ + +import Probe from 'probe/api/model/Probe'; + +interface InfraMachine { + id: number; + probe: Probe; + meta: string; + createDate: Date; +} + +export default InfraMachine; \ No newline at end of file diff --git a/src/ts/infra/api/model/InfraOS.ts b/src/ts/infra/api/model/InfraOS.ts new file mode 100644 index 0000000..28af52b --- /dev/null +++ b/src/ts/infra/api/model/InfraOS.ts @@ -0,0 +1,12 @@ +import InfraMachine from './InfraMachine'; + + +interface InfraOS { + id: number; + machine: InfraMachine; + meta: string; + createDate: Date; + vendor: MetaInfraVendor; +} + +export default InfraOS; \ No newline at end of file diff --git a/src/ts/infra/api/model/InfraOSApplication.ts b/src/ts/infra/api/model/InfraOSApplication.ts new file mode 100644 index 0000000..7ecb263 --- /dev/null +++ b/src/ts/infra/api/model/InfraOSApplication.ts @@ -0,0 +1,10 @@ + +interface InfraOSApplication { + id: number; + os: InfraOS; + name: string; + createDate: Date; +} + + +export default InfraOS; \ No newline at end of file diff --git a/src/ts/infra/api/model/InfraOSDaemon.ts b/src/ts/infra/api/model/InfraOSDaemon.ts new file mode 100644 index 0000000..1f0a00b --- /dev/null +++ b/src/ts/infra/api/model/InfraOSDaemon.ts @@ -0,0 +1,10 @@ +import InfraOS from './InfraOS'; + +interface InfraOSDaemon { + id: number; + os: InfraOS; + name: string; + createDate: Date; +} + +export default InfraOSDaemon; \ No newline at end of file diff --git a/src/ts/infra/api/model/InfraOSPort.ts b/src/ts/infra/api/model/InfraOSPort.ts new file mode 100644 index 0000000..764b236 --- /dev/null +++ b/src/ts/infra/api/model/InfraOSPort.ts @@ -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; \ No newline at end of file diff --git a/src/ts/infra/api/model/InfraService.ts b/src/ts/infra/api/model/InfraService.ts new file mode 100644 index 0000000..2b5b5af --- /dev/null +++ b/src/ts/infra/api/model/InfraService.ts @@ -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; \ No newline at end of file diff --git a/src/ts/infra/api/model/_ b/src/ts/infra/api/model/_ deleted file mode 100644 index e69de29..0000000