update types and format bindings

This commit is contained in:
Aiden McClelland
2024-03-28 11:20:20 -06:00
parent 65ca038eee
commit 86d61d698a
101 changed files with 457 additions and 139 deletions

View File

@@ -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 };