egirlskey/src/models/meta.ts
2018-06-16 10:40:53 +09:00

14 lines
254 B
TypeScript

import db from '../db/mongodb';
const Meta = db.get<IMeta>('meta');
export default Meta;
export type IMeta = {
broadcasts: any[];
stats: {
notesCount: number;
originalNotesCount: number;
usersCount: number;
originalUsersCount: number;
};
};