RENAME: bbs -> channel

This commit is contained in:
syuilo 2017-10-31 21:42:11 +09:00
parent 0e95cdb04c
commit dc9fddf839
8 changed files with 65 additions and 67 deletions

View file

@ -1,11 +1,11 @@
import * as mongo from 'mongodb';
import db from '../../db/mongodb';
const collection = db.get('bbs_threads');
const collection = db.get('channels');
export default collection as any; // fuck type definition
export type IBbsThread = {
export type IChannel = {
_id: mongo.ObjectID;
created_at: Date;
title: string;