summaryrefslogtreecommitdiff
path: root/src/api/models
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-01 19:33:08 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-01 19:33:08 +0900
commitd6b03c43eb818a5e13a8ad1ec69697e4600c5c2c (patch)
tree20302f7974e7939f2e498b07bd11c86bea4f7e82 /src/api/models
parentv2799 (diff)
downloadsharkey-d6b03c43eb818a5e13a8ad1ec69697e4600c5c2c.tar.gz
sharkey-d6b03c43eb818a5e13a8ad1ec69697e4600c5c2c.tar.bz2
sharkey-d6b03c43eb818a5e13a8ad1ec69697e4600c5c2c.zip
Implement Channel Watching
Diffstat (limited to 'src/api/models')
-rw-r--r--src/api/models/channel-watching.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api/models/channel-watching.ts b/src/api/models/channel-watching.ts
new file mode 100644
index 0000000000..6184ae408d
--- /dev/null
+++ b/src/api/models/channel-watching.ts
@@ -0,0 +1,3 @@
+import db from '../../db/mongodb';
+
+export default db.get('channel_watching') as any; // fuck type definition