mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-09 00:03:09 +02:00
12 lines
244 B
TypeScript
12 lines
244 B
TypeScript
|
import { ObjectID } from 'mongodb';
|
||
|
import db from '../db/mongodb';
|
||
|
|
||
|
const FollowingLog = db.get<IFollowingLog>('followingLogs');
|
||
|
export default FollowingLog;
|
||
|
|
||
|
export type IFollowingLog = {
|
||
|
_id: ObjectID;
|
||
|
userId: ObjectID;
|
||
|
count: number;
|
||
|
};
|