add club invite

This commit is contained in:
Devin Zuczek
2026-07-23 15:50:56 -04:00
parent a400de4a8b
commit 95386c5de3
4 changed files with 191 additions and 0 deletions
+9
View File
@@ -329,6 +329,15 @@ export const ImageNameRequest = z.object({
imageName: z.string().describe('The image name the `storage` worker handed back'),
})
/** `PUT /club/:clubId/members/invite` form body. */
export const InviteMemberRequest = z.object({
accountId: z.string().describe('The account to add to the club; a positive integer'),
membershipType: z
.string()
.optional()
.describe('The tier to grant — 10 Member, 20 Moderator, 30 Co-owner; defaults to Member'),
})
/** `POST /announcements/club/:clubId` form body. */
export const AnnouncementRequest = z.object({
title: z.string().optional(),