mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-08 17:43:08 +02:00
c21caad1c5
* wip * wip * wip
38 lines
602 B
TypeScript
38 lines
602 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;
|
|
|
|
/**
|
|
* カスタム絵文字定義
|
|
*/
|
|
emojis?: {
|
|
/**
|
|
* 絵文字名 (例: thinking_ai)
|
|
*/
|
|
name: string;
|
|
|
|
/**
|
|
* エイリアス
|
|
*/
|
|
aliases?: string[];
|
|
|
|
/**
|
|
* 絵文字画像のURL
|
|
*/
|
|
url: string;
|
|
}[];
|
|
};
|