1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-26 11:25:05 +02:00
Files
misskey/src/api/models/following.ts
syuilo 0cc5ca598a wip
2018-03-28 09:10:05 +09:00

14 lines
294 B
TypeScript

import * as mongo from 'mongodb';
import db from '../../db/mongodb';
const Following = db.get<IFollowing>('following');
export default Following;
export type IFollowing = {
_id: mongo.ObjectID;
createdAt: Date;
deletedAt: Date;
followeeId: mongo.ObjectID;
followerId: mongo.ObjectID;
};