mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-06-06 13:06:57 +00:00
8 lines
199 B
TypeScript
8 lines
199 B
TypeScript
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;
|
|
}
|