mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
HostnameInfo only had one variant (Ip) after removing Tor. Flatten it into a plain struct with fields gateway, public, hostname. Remove all kind === 'ip' type guards and narrowing across SDK, frontend, and container runtime. Update DB migration to strip the kind field.
10 lines
301 B
TypeScript
10 lines
301 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { GatewayInfo } from './GatewayInfo'
|
|
import type { IpHostname } from './IpHostname'
|
|
|
|
export type HostnameInfo = {
|
|
gateway: GatewayInfo
|
|
public: boolean
|
|
hostname: IpHostname
|
|
}
|