mirror of
https://github.com/khairul169/vaulterm.git
synced 2025-04-29 00:59:40 +07:00
11 lines
210 B
TypeScript
11 lines
210 B
TypeScript
import { z } from "zod";
|
|
|
|
export const serverSchema = z.object({
|
|
url: z.string().url("Invalid URL"),
|
|
});
|
|
|
|
export const getServerResultSchema = z.object({
|
|
name: z.string(),
|
|
version: z.string().min(1),
|
|
});
|