8 lines
220 B
TypeScript
8 lines
220 B
TypeScript
import { z } from "zod";
|
|
|
|
export const downloadSchema = z.object({
|
|
fileName: z.string().nonempty(),
|
|
version: z.string().nonempty(),
|
|
downloadLink: z.string().url().nonempty(),
|
|
fileSize: z.string().nonempty(),
|
|
});
|