mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-19 09:44:50 -05:00
add suggestion backend
This commit is contained in:
@@ -4,7 +4,7 @@ export const SUGGESTION_DESCRIPTION_LIMIT = 500;
|
||||
|
||||
export const suggestionSchema = z.object({
|
||||
description: z.string().max(SUGGESTION_DESCRIPTION_LIMIT),
|
||||
suggestedUserId: z.number().int(),
|
||||
suggestedId: z.number().int(),
|
||||
tier: z.number().int().min(1).max(3),
|
||||
region: z.enum(["NA", "EU"]),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user