1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-17 16:18:23 +09:00
MisskeyIO/src/server/api/models/channel-watching.ts

14 lines
324 B
TypeScript
Raw Normal View History

2018-03-29 14:48:47 +09:00
import * as mongo from 'mongodb';
2018-03-29 01:20:40 +09:00
import db from '../../../db/mongodb';
2017-11-01 19:33:08 +09:00
2018-03-29 14:48:47 +09:00
const ChannelWatching = db.get<IChannelWatching>('channelWatching');
export default ChannelWatching;
export interface IChannelWatching {
_id: mongo.ObjectID;
createdAt: Date;
deletedAt: Date;
channelId: mongo.ObjectID;
userId: mongo.ObjectID;
}