feat: smb support

This commit is contained in:
Nicolas Meienberger
2025-09-25 21:35:08 +02:00
parent 9b57dd8a1c
commit 323312ec7b
8 changed files with 339 additions and 39 deletions

View File

@@ -18,6 +18,13 @@ export const nfsConfigSchema = type({
export const smbConfigSchema = type({
backend: "'smb'",
server: "string",
share: "string",
username: "string",
password: "string",
vers: type("'1.0' | '2.0' | '2.1' | '3.0'").default("3.0"),
domain: "string?",
port: type("string.integer.parse").or(type("number")).to("1 <= number <= 65535").default(445),
});
export const directoryConfigSchema = type({