monkeeShark/src/models/followed-log.ts
2018-04-02 22:00:40 +09:00

11 lines
239 B
TypeScript

import { ObjectID } from 'mongodb';
import db from '../db/mongodb';
const FollowedLog = db.get<IFollowedLog>('followedLogs');
export default FollowedLog;
export type IFollowedLog = {
_id: ObjectID;
userId: ObjectID;
count: number;
};