diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-01-16 06:05:58 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-01-16 06:05:58 +0900 |
| commit | 91bbb67e4a2b85339c23636e9b3f8e2500e88802 (patch) | |
| tree | 41a4c296aab55fed09765170c1d14255b89893ac /packages/backend/src | |
| parent | enhance(client): カスタム絵文字一覧ページにカスタム絵文字... (diff) | |
| download | misskey-91bbb67e4a2b85339c23636e9b3f8e2500e88802.tar.gz misskey-91bbb67e4a2b85339c23636e9b3f8e2500e88802.tar.bz2 misskey-91bbb67e4a2b85339c23636e9b3f8e2500e88802.zip | |
プロフィールの文字数制限を緩和
Diffstat (limited to 'packages/backend/src')
| -rw-r--r-- | packages/backend/src/models/entities/User.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/models/entities/User.ts b/packages/backend/src/models/entities/User.ts index 8bd5c9700d..1cfcc814ea 100644 --- a/packages/backend/src/models/entities/User.ts +++ b/packages/backend/src/models/entities/User.ts @@ -232,6 +232,6 @@ export type CacheableUser = CacheableLocalUser | CacheableRemoteUser; export const localUsernameSchema = { type: 'string', pattern: /^\w{1,20}$/.toString().slice(1, -1) } as const; export const passwordSchema = { type: 'string', minLength: 1 } as const; export const nameSchema = { type: 'string', minLength: 1, maxLength: 50 } as const; -export const descriptionSchema = { type: 'string', minLength: 1, maxLength: 500 } as const; +export const descriptionSchema = { type: 'string', minLength: 1, maxLength: 1500 } as const; export const locationSchema = { type: 'string', minLength: 1, maxLength: 50 } as const; export const birthdaySchema = { type: 'string', pattern: /^([0-9]{4})-([0-9]{2})-([0-9]{2})$/.toString().slice(1, -1) } as const; |