mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(admin): save premium limits and model changes (#3386)
This commit is contained in:
1 parent
7d2c51a57f
commit
6acd7f3d22
18 files changed
+1035
-59
No files matched your search
@@ -1,5 +1,7 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {MAX_BIO_LENGTH} from '@fluxer/constants/src/LimitConstants';
|
||||
|
||||
export const LIMIT_KEYS = [
|
||||
'avatar_max_size',
|
||||
'emoji_max_size',
|
||||
@@ -399,6 +401,8 @@ export const LIMIT_KEY_METADATA: Record<LimitKey, LimitKeyMetadata> = {
|
||||
scope: 'user',
|
||||
isToggle: false,
|
||||
unit: 'count',
|
||||
min: 0,
|
||||
max: MAX_BIO_LENGTH,
|
||||
},
|
||||
max_bookmarks: {
|
||||
key: 'max_bookmarks',
|
||||
|
||||
Reference in new issue
Block a user