mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-09-21 13:31:42 +00:00
9 lines
237 B
TypeScript
9 lines
237 B
TypeScript
import { z } from "zod/v4";
|
|
|
|
export const locationSchema = z.object({
|
|
name: z.string().min(1, "Name is required").max(64),
|
|
description: z.string().max(256).optional(),
|
|
});
|
|
|
|
export type LocationInput = z.infer<typeof locationSchema>;
|