enhance(backend): アカウントでチャットが有効になっているかどうかをユーザーのレスポンスに含めるように

This commit is contained in:
syuilo 2025-03-28 10:48:03 +09:00
parent 0c14250678
commit dec3e86e5e
3 changed files with 6 additions and 0 deletions

View file

@ -363,6 +363,10 @@ export const packedUserDetailedNotMeOnlySchema = {
nullable: false, optional: false,
enum: ['everyone', 'following', 'followers', 'mutual', 'none'],
},
canChat: {
type: 'boolean',
nullable: false, optional: false,
},
roles: {
type: 'array',
nullable: false, optional: false,