1
0
mirror of https://github.com/hotomoe/hotomoe synced 2025-01-22 17:52:51 +09:00
hotomoe/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;
};