refactor(client): zod to arktype

This commit is contained in:
Nicolas Meienberger
2025-09-02 19:33:56 +02:00
parent eb2fbe8f75
commit 9ef21d4ec2
6 changed files with 134 additions and 26 deletions

View File

@@ -13,8 +13,8 @@ const nfsConfigSchema = type({
backend: "'nfs'",
server: "string",
exportPath: "string",
port: "number",
version: "string", // Shold be an enum: "3" | "4" | "4.1"
port: "number >= 1",
version: "'3' | '4' | '4.1'",
});
const smbConfigSchema = type({