mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
feat(openapi): validate Dart SDK generation, make the spec self-sufficient (#1181)
Signed-off-by: Hampus Kraft <[email protected]>
This commit is contained in:
1 parent
097e10d651
commit
6e87f6e3d1
7 files changed
+1248
-1146
No files matched your search
@@ -58,7 +58,7 @@ const ReactionEmojiResponse = z.object({
|
||||
export const MessageReactionResponse = z.object({
|
||||
emoji: ReactionEmojiResponse.describe('The emoji used for the reaction'),
|
||||
count: Int32Type.describe('The total number of times this reaction has been used'),
|
||||
me: z.literal(true).nullish().describe('Whether the current user has reacted with this emoji'),
|
||||
me: z.boolean().nullish().describe('Whether the current user has reacted with this emoji'),
|
||||
});
|
||||
|
||||
export type MessageReactionResponse = z.infer<typeof MessageReactionResponse>;
|
||||
|
||||
Reference in new issue
Block a user