mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-27 05:38:09 -05:00
suggestions improvements
This commit is contained in:
@@ -3,7 +3,7 @@ import * as z from "zod";
|
||||
export const SUGGESTION_DESCRIPTION_LIMIT = 500;
|
||||
|
||||
const suggestionRootSchema = z.object({
|
||||
description: z.string().max(SUGGESTION_DESCRIPTION_LIMIT).min(10),
|
||||
description: z.string().max(SUGGESTION_DESCRIPTION_LIMIT),
|
||||
});
|
||||
|
||||
export const suggestionFullSchema = suggestionRootSchema.extend({
|
||||
|
||||
Reference in New Issue
Block a user