From e37d99a990013d7d4288bc45269edde367b34fd1 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 26 Jan 2023 16:06:24 -0500 Subject: [PATCH] fix: schema update for be6bbabd0e2551fbe9571dcf3ee40ad721764543 --- public/openapi/components/schemas/UserObject.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/public/openapi/components/schemas/UserObject.yaml b/public/openapi/components/schemas/UserObject.yaml index 593ba63fd9..5f7664d3c2 100644 --- a/public/openapi/components/schemas/UserObject.yaml +++ b/public/openapi/components/schemas/UserObject.yaml @@ -133,6 +133,15 @@ UserObject: 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. + mutedReason: + type: string + description: The admin-provided reason for being muted. '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