misskey/src/models/meta.ts
2018-09-12 02:48:19 +09:00

18 lines
344 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;
disableLocalTimeline?: boolean;
hidedTags?: string[];
};