mirror of
https://github.com/misskey-dev/misskey
synced 2024-06-28 13:21:22 +02:00
15 lines
322 B
TypeScript
15 lines
322 B
TypeScript
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;
|
|
channelId: mongo.ObjectID;
|
|
userId: mongo.ObjectID;
|
|
}
|