mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-08 21:33:10 +02:00
18 lines
365 B
TypeScript
18 lines
365 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[];
|
|
bannerUrl?: string;
|
|
};
|