refactor(api): ♻️ Properly reuse error messages and schemas

This commit is contained in:
Jesse Wierzbinski 2025-03-24 14:42:09 +01:00
parent 7112a66e4c
commit 65e2e19ff1
No known key found for this signature in database
84 changed files with 478 additions and 597 deletions

View file

@ -55,6 +55,7 @@ export const Notification = z
event: z.undefined().openapi({
description:
"Versia Server does not sever relationships, so this field is always empty.",
type: "null",
}),
moderation_warning: AccountWarning.optional().openapi({
description: