jormungandr-bite/src/api/models/notification.ts

9 lines
199 B
TypeScript
Raw Normal View History

import * as mongo from 'mongodb';
2017-01-16 17:17:52 -07:00
import db from '../../db/mongodb';
2017-01-18 00:30:42 -07:00
export default db.get('notifications') as any; // fuck type definition
export interface INotification {
_id: mongo.ObjectID;
}