22 lines
602 B
TypeScript
22 lines
602 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(),
|
|
});
|
|
|
|
export const modsSchema = z.object({
|
|
fileName: z.string().nonempty(),
|
|
version: z.string().nonempty(),
|
|
downloadLink: z.string().url().nonempty(),
|
|
fileSize: z.string().nonempty(),
|
|
});
|
|
|
|
export const logsSchema = z.object({
|
|
fileName: z.string().nonempty(),
|
|
version: z.string().nonempty(),
|
|
downloadLink: z.string().url().nonempty(),
|
|
fileSize: z.string().nonempty(),
|
|
});
|