mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-26 23:25:22 +02:00
fix: schema changes for 57bfb37c55 and be6bbabd0e
This commit is contained in:
@@ -331,6 +331,17 @@ UserObjectFull:
|
||||
example:
|
||||
- administrators
|
||||
- Staff
|
||||
muted:
|
||||
type: boolean
|
||||
description: Whether or not the user has been muted.
|
||||
mutedUntil:
|
||||
type: number
|
||||
description: A UNIX timestamp representing the moment a muted state will be lifted.
|
||||
nullable: true
|
||||
mutedReason:
|
||||
type: string
|
||||
description: The admin-provided reason for being muted.
|
||||
nullable: true
|
||||
'icon:text':
|
||||
type: string
|
||||
description: A single-letter representation of a username. This is used in the auto-generated icon given to users without an avatar
|
||||
@@ -357,6 +368,8 @@ UserObjectFull:
|
||||
type: string
|
||||
age:
|
||||
type: number
|
||||
emailHidden:
|
||||
type: boolean
|
||||
emailClass:
|
||||
type: string
|
||||
ips:
|
||||
@@ -424,6 +437,8 @@ UserObjectFull:
|
||||
type: boolean
|
||||
canBan:
|
||||
type: boolean
|
||||
canMute:
|
||||
type: boolean
|
||||
canFlag:
|
||||
type: boolean
|
||||
canChangePassword:
|
||||
|
||||
@@ -132,6 +132,7 @@ get:
|
||||
mutedUntil:
|
||||
type: number
|
||||
description: A UNIX timestamp representing the moment a muted state will be lifted.
|
||||
nullable: true
|
||||
icon:text:
|
||||
type: string
|
||||
description: A single-letter representation of a username. This is used in the
|
||||
|
||||
Reference in New Issue
Block a user