mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
- Add HostnameMetadata::Mdns variant to distinguish mDNS from private domains - Mark mDNS addresses as private (public: false) since mDNS is local-only - Fall back to null SNI entry when hostname not found in vhost mapping - Simplify public detection in ProxyTarget filter - Pass hostname to update_addresses for mDNS domain name generation
12 lines
531 B
TypeScript
12 lines
531 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { GatewayId } from './GatewayId'
|
|
import type { PackageId } from './PackageId'
|
|
|
|
export type HostnameMetadata =
|
|
| { kind: 'ipv4'; gateway: GatewayId }
|
|
| { kind: 'ipv6'; gateway: GatewayId; scopeId: number }
|
|
| { kind: 'mdns'; gateways: Array<GatewayId> }
|
|
| { kind: 'private-domain'; gateways: Array<GatewayId> }
|
|
| { kind: 'public-domain'; gateway: GatewayId }
|
|
| { kind: 'plugin'; package: PackageId }
|