2018-04-02 07:57:36 -05:00
|
|
|
import { ObjectID } from 'mongodb';
|
|
|
|
import db from '../db/mongodb';
|
|
|
|
|
|
|
|
const FollowingLog = db.get<IFollowingLog>('followingLogs');
|
|
|
|
export default FollowingLog;
|
|
|
|
|
|
|
|
export type IFollowingLog = {
|
|
|
|
_id: ObjectID;
|
2018-04-02 09:19:07 -05:00
|
|
|
createdAt: Date;
|
2018-04-02 07:57:36 -05:00
|
|
|
userId: ObjectID;
|
|
|
|
count: number;
|
|
|
|
};
|