mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
update types and format bindings
This commit is contained in:
@@ -2,4 +2,11 @@
|
||||
import type { ExportedIpHostname } from "./ExportedIpHostname";
|
||||
import type { ExportedOnionHostname } from "./ExportedOnionHostname";
|
||||
|
||||
export type ExportedHostnameInfo = { "kind": "ip", networkInterfaceId: string, public: boolean, hostname: ExportedIpHostname, } | { "kind": "onion", hostname: ExportedOnionHostname, };
|
||||
export type ExportedHostnameInfo =
|
||||
| {
|
||||
kind: "ip";
|
||||
networkInterfaceId: string;
|
||||
public: boolean;
|
||||
hostname: ExportedIpHostname;
|
||||
}
|
||||
| { kind: "onion"; hostname: ExportedOnionHostname };
|
||||
|
||||
Reference in New Issue
Block a user