misskey/src/api/models/messaging-message.ts

4 lines
112 B
TypeScript

import db from '../../db/mongodb';
export default db.get('messaging_messages') as any; // fuck type definition