(params: Host.ReqSearch)
| 10 | return http.postLocalNode<Host.Host>(`/hosts/info`, { id: id }); |
| 11 | }; |
| 12 | export const getHostTree = (params: Host.ReqSearch) => { |
| 13 | return http.postLocalNode<Array<Host.HostTree>>(`/hosts/tree`, params); |
| 14 | }; |
| 15 | export const updateLocalConn = (param: { withReset: boolean; defaultConn: string }) => { |
| 16 | return http.post(`/settings/ssh/default`, param); |
| 17 | }; |
nothing calls this directly
no test coverage detected