import { z } from 'zod'; export const changeInfoSchema = z.object({ name: z .string() .min(1) .regex(/^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$/), displayName: z.string().min(1), bio: z.string().max(300), }); export type TypeChangeInfoSchema = z.infer;