mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
feat(admin): add bulk delete user messages tool (#2472)
This commit is contained in:
1 parent
12718eabbc
commit
fed8b2d089
12 files changed
+242
-5
No files matched your search
@@ -81,3 +81,9 @@ export const DeleteAllUserMessagesResponse = z.object({
|
||||
});
|
||||
|
||||
export type DeleteAllUserMessagesResponse = z.infer<typeof DeleteAllUserMessagesResponse>;
|
||||
|
||||
export const BulkDeleteUserMessagesRequest = z.object({
|
||||
user_ids: z.array(SnowflakeType).max(1000).describe('List of user IDs whose messages will be deleted'),
|
||||
});
|
||||
|
||||
export type BulkDeleteUserMessagesRequest = z.infer<typeof BulkDeleteUserMessagesRequest>;
|
||||
Reference in new issue
Block a user