mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
fix(api)!: correct pagination and locking, drop toggle routes (#2505)
This commit is contained in:
1 parent
632f4c7b6c
commit
d07f520b13
10 files changed
+302
-626
No files matched your search
@@ -129,18 +129,6 @@ export const SuccessResponse = z.object({
|
||||
|
||||
export type SuccessResponse = z.infer<typeof SuccessResponse>;
|
||||
|
||||
export const EnabledToggleRequest = z.object({
|
||||
enabled: z.boolean().describe('Whether to enable or disable the feature'),
|
||||
});
|
||||
|
||||
export type EnabledToggleRequest = z.infer<typeof EnabledToggleRequest>;
|
||||
|
||||
export const DisabledToggleRequest = z.object({
|
||||
disabled: z.boolean().describe('Whether the feature should be in the disabled state'),
|
||||
});
|
||||
|
||||
export type DisabledToggleRequest = z.infer<typeof DisabledToggleRequest>;
|
||||
|
||||
export const EmojiIdParam = z.object({
|
||||
emoji_id: SnowflakeType.describe('The ID of the emoji'),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user