diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-10-30 22:12:10 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-10-30 22:12:10 +0900 |
| commit | caa47cb38cfc3950539c78ca2e70f2c50e815d2c (patch) | |
| tree | fc1a70e1c1b105ecf8d74ff4d952eff86ded83f6 /src/api/models | |
| parent | i18n (diff) | |
| download | sharkey-caa47cb38cfc3950539c78ca2e70f2c50e815d2c.tar.gz sharkey-caa47cb38cfc3950539c78ca2e70f2c50e815d2c.tar.bz2 sharkey-caa47cb38cfc3950539c78ca2e70f2c50e815d2c.zip | |
未読の通知がある場合アイコンを表示するように
Diffstat (limited to 'src/api/models')
| -rw-r--r-- | src/api/models/notification.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/api/models/notification.ts b/src/api/models/notification.ts index 1c1f429a0d..1065e8baaa 100644 --- a/src/api/models/notification.ts +++ b/src/api/models/notification.ts @@ -1,3 +1,8 @@ +import * as mongo from 'mongodb'; import db from '../../db/mongodb'; export default db.get('notifications') as any; // fuck type definition + +export interface INotification { + _id: mongo.ObjectID; +} |