整理した
This commit is contained in:
13
src/models/mute.ts
Normal file
13
src/models/mute.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import * as mongo from 'mongodb';
|
||||
import db from '../db/mongodb';
|
||||
|
||||
const Mute = db.get<IMute>('mute');
|
||||
export default Mute;
|
||||
|
||||
export interface IMute {
|
||||
_id: mongo.ObjectID;
|
||||
createdAt: Date;
|
||||
deletedAt: Date;
|
||||
muterId: mongo.ObjectID;
|
||||
muteeId: mongo.ObjectID;
|
||||
}
|
Reference in New Issue
Block a user