Shared:API:Settings: add maxUploadImageSize

This commit is contained in:
Timofey Boyko 2024-06-13 14:33:27 +03:00
parent 5a8a47f3cf
commit 8af20b8e41
2 changed files with 3 additions and 0 deletions

View File

@ -126,6 +126,7 @@ export type TSettings = {
defaultPage?: string;
tagManagerId?: string;
enabledJoin?: boolean;
maxImageUploadSize: number;
};
export type TCustomSchema = {

View File

@ -313,6 +313,8 @@ class SettingsStore {
userNameRegex = "";
maxImageUploadSize: number | null = null;
windowWidth = window.innerWidth;
windowAngle = window.screen?.orientation?.angle ?? window.orientation ?? 0;