mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-08 20:03:09 +02:00
13 lines
318 B
TypeScript
13 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;
|
|
}
|