hippofish/src/models/meta.ts
2018-08-17 19:17:23 +09:00

15 lines
285 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;
};
disableRegistration: boolean;
};