feat(api): Make Reactions API correctly output whether a reaction is remote

This commit is contained in:
Jesse Wierzbinski 2025-05-28 17:07:24 +02:00
parent e0adaca2a2
commit fa1dd69e2d
No known key found for this signature in database
5 changed files with 139 additions and 3 deletions

View file

@ -62,6 +62,11 @@ export const NoteReaction = z
description: "Number of users who reacted with this emoji.",
example: 5,
}),
remote: z.boolean().openapi({
description:
"Whether this reaction is from a remote instance (federated).",
example: false,
}),
me: z.boolean().optional().openapi({
description:
"Whether the current authenticated user reacted with this emoji.",