parent
0a3d36c340
commit
e394b0736e
5 changed files with 78 additions and 27 deletions
@ -0,0 +1,28 @@ |
||||
type PeerDataHash = { |
||||
host_name: string; |
||||
host_os: string; |
||||
host_uuid: string; |
||||
internet: string; |
||||
os_registered: string; |
||||
}; |
||||
|
||||
type GetPeerDataOptions = Omit< |
||||
ExecModuleSubroutineOptions, |
||||
'subModuleName' | 'subParams' |
||||
> & |
||||
ModuleSubroutineCommonParams & { |
||||
password?: string; |
||||
port?: number; |
||||
}; |
||||
|
||||
type GetPeerDataFunction = ( |
||||
target: string, |
||||
options?: GetPeerDataOptions, |
||||
) => { |
||||
hostName: string; |
||||
hostOS: string; |
||||
hostUUID: string; |
||||
isConnected: boolean; |
||||
isInetConnected: boolean; |
||||
isOSRegistered: boolean; |
||||
}; |
@ -0,0 +1,3 @@ |
||||
type ModuleSubroutineCommonParams = { |
||||
debug?: number; |
||||
}; |
Loading…
Reference in new issue