mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-13 14:31:10 -05:00
11 lines
290 B
TypeScript
11 lines
290 B
TypeScript
import * as z from "zod";
|
|
|
|
export const SUGGESTION_DESCRIPTION_LIMIT = 500;
|
|
|
|
export const suggestionSchema = z.object({
|
|
description: z.string().max(SUGGESTION_DESCRIPTION_LIMIT),
|
|
suggestedId: z.number().int(),
|
|
tier: z.number().int().min(1).max(3),
|
|
region: z.enum(["NA", "EU"]),
|
|
});
|