add more shit idk

This commit is contained in:
Jesse Wierzbinski 2023-09-12 19:30:45 -10:00
parent 1027eada7c
commit 8946d4593c
No known key found for this signature in database
GPG key ID: F9A1E418934E40B0
6 changed files with 121 additions and 6 deletions

View file

@ -12,6 +12,20 @@ export interface ConfigType {
port: number;
base_url: string;
};
validation: {
max_displayname_size: number;
max_bio_size: number;
max_username_size: number;
max_note_size: number;
max_media_size: number;
max_media_attachments: number;
max_media_description_size: number;
username_blacklist: string[];
blacklist_tempmail: boolean;
email_blacklist: string[];
url_scheme_whitelist: string[];
};
[key: string]: unknown;
}