yumechi-no-kuni/src/models/followed-log.ts

12 lines
239 B
TypeScript
Raw Normal View History

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;
};