mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 20:49:06 +01:00
14 lines
318 B
TypeScript
14 lines
318 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;
|
|
}
|