mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 01:39:06 +01:00
14 lines
324 B
TypeScript
14 lines
324 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;
|
|
}
|