fix: tsc build error

This commit is contained in:
Fu Diwei
2025-05-20 22:31:42 +08:00
parent d81a33f24a
commit 9d9ca88ebe
6 changed files with 111 additions and 92 deletions

View File

@@ -284,20 +284,20 @@ type AccessConfigForSafeLine struct {
}
type AccessConfigForSSH struct {
Host string `json:"host"`
Port int32 `json:"port"`
Username string `json:"username"`
Password string `json:"password,omitempty"`
Key string `json:"key,omitempty"`
KeyPassphrase string `json:"keyPassphrase,omitempty"`
JumpServerConfig []struct {
Host string `json:"host"`
Port int32 `json:"port"`
Username string `json:"username"`
Password string `json:"password,omitempty"`
Key string `json:"key,omitempty"`
KeyPassphrase string `json:"keyPassphrase,omitempty"`
JumpServers []struct {
Host string `json:"host"`
Port int32 `json:"port"`
Username string `json:"username"`
Password string `json:"password,omitempty"`
Key string `json:"key,omitempty"`
KeyPassphrase string `json:"keyPassphrase,omitempty"`
} `json:"jumpServerConfig,omitempty"`
} `json:"jumpServers,omitempty"`
}
type AccessConfigForSSLCom struct {