fix: schema changes for 57bfb37c55 and be6bbabd0e

This commit is contained in:
Julian Lam
2023-01-27 16:50:58 -05:00
parent f8812fd5ff
commit e53f3aeee9
2 changed files with 16 additions and 0 deletions

View File

@@ -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:

View File

@@ -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