From 4c584b8c358732eb8dd3a03721fc3dcd07ba4c1b Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 9 Mar 2018 17:25:06 +0900 Subject: [PATCH] added notification model --- src/packages/notification/model/Notification.ts | 14 ++++++++++++++ .../notification/notification-store.module.ts | 0 src/packages/notification/notification.constant.ts | 0 src/packages/notification/service/index.ts | 0 .../service/notification.service.spec.ts | 0 .../notification/service/notification.service.ts | 0 src/packages/notification/store/index.ts | 0 .../notification/store/readallbymember/index.ts | 0 .../readallbymember/readallbymember.action.ts | 0 .../readallbymember/readallbymember.effect.spec.ts | 0 .../readallbymember/readallbymember.effect.ts | 0 .../readallbymember/readallbymember.reducer.ts | 0 .../store/readallbymember/readallbymember.state.ts | 0 13 files changed, 14 insertions(+) create mode 100644 src/packages/notification/model/Notification.ts create mode 100644 src/packages/notification/notification-store.module.ts create mode 100644 src/packages/notification/notification.constant.ts create mode 100644 src/packages/notification/service/index.ts create mode 100644 src/packages/notification/service/notification.service.spec.ts create mode 100644 src/packages/notification/service/notification.service.ts create mode 100644 src/packages/notification/store/index.ts create mode 100644 src/packages/notification/store/readallbymember/index.ts create mode 100644 src/packages/notification/store/readallbymember/readallbymember.action.ts create mode 100644 src/packages/notification/store/readallbymember/readallbymember.effect.spec.ts create mode 100644 src/packages/notification/store/readallbymember/readallbymember.effect.ts create mode 100644 src/packages/notification/store/readallbymember/readallbymember.reducer.ts create mode 100644 src/packages/notification/store/readallbymember/readallbymember.state.ts diff --git a/src/packages/notification/model/Notification.ts b/src/packages/notification/model/Notification.ts new file mode 100644 index 0000000..148bb2c --- /dev/null +++ b/src/packages/notification/model/Notification.ts @@ -0,0 +1,14 @@ +import { Member } from 'packages/member/model'; + + +interface Notification { + id?: number; + createDate?: Date; + title?: string; + message?: string; + member?: Member; + confirmDate?: Date; + url?: string; +} + +export default Notification; diff --git a/src/packages/notification/notification-store.module.ts b/src/packages/notification/notification-store.module.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/packages/notification/notification.constant.ts b/src/packages/notification/notification.constant.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/packages/notification/service/index.ts b/src/packages/notification/service/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/packages/notification/service/notification.service.spec.ts b/src/packages/notification/service/notification.service.spec.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/packages/notification/service/notification.service.ts b/src/packages/notification/service/notification.service.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/packages/notification/store/index.ts b/src/packages/notification/store/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/packages/notification/store/readallbymember/index.ts b/src/packages/notification/store/readallbymember/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/packages/notification/store/readallbymember/readallbymember.action.ts b/src/packages/notification/store/readallbymember/readallbymember.action.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/packages/notification/store/readallbymember/readallbymember.effect.spec.ts b/src/packages/notification/store/readallbymember/readallbymember.effect.spec.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/packages/notification/store/readallbymember/readallbymember.effect.ts b/src/packages/notification/store/readallbymember/readallbymember.effect.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/packages/notification/store/readallbymember/readallbymember.reducer.ts b/src/packages/notification/store/readallbymember/readallbymember.reducer.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/packages/notification/store/readallbymember/readallbymember.state.ts b/src/packages/notification/store/readallbymember/readallbymember.state.ts new file mode 100644 index 0000000..e69de29