mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 04:59:06 +01:00
12 lines
239 B
TypeScript
12 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;
|
||
|
};
|