mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
refactor(client): zod to arktype
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user