2018-04-02 14:57:36 +02:00
|
|
|
import { ObjectID } from 'mongodb';
|
|
|
|
import db from '../db/mongodb';
|
|
|
|
|
|
|
|
const FollowedLog = db.get<IFollowedLog>('followedLogs');
|
|
|
|
export default FollowedLog;
|
|
|
|
|
|
|
|
export type IFollowedLog = {
|
|
|
|
_id: ObjectID;
|
2018-04-02 16:19:07 +02:00
|
|
|
createdAt: Date;
|
2018-04-02 14:57:36 +02:00
|
|
|
userId: ObjectID;
|
|
|
|
count: number;
|
|
|
|
};
|