blob: 23886d0c76c5c23d5d9cefbd1715829f3be22d83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import * as mongo from 'mongodb';
import db from '../../db/mongodb';
const ChannelWatching = db.get<IChannelWatching>('channelWatching');
export default ChannelWatching;
export interface IChannelWatching {
_id: mongo.ObjectID;
createdAt: Date;
deletedAt: Date;
channel_id: mongo.ObjectID;
userId: mongo.ObjectID;
}
|