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