mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat(api): ✨ Make Reactions API correctly output whether a reaction is remote
This commit is contained in:
parent
e0adaca2a2
commit
fa1dd69e2d
5 changed files with 139 additions and 3 deletions
|
|
@ -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.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue