mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
- NetService sync task now uses PatchDB DbWatch instead of being called directly after DB mutations - Read gateways from DB instead of network interface context when updating host addresses - gateway sync updates all host addresses in the DB - Add Watch<u64> channel for callers to wait on sync completion - Fix ts-rs codegen bug with #[ts(skip)] on flattened Plugin field - Update SDK getServiceInterface.ts for new HostnameInfo shape - Remove unnecessary HTTPS redirect in static_server.rs - Fix tunnel/api.rs to filter for WAN IPv4 address
11 lines
482 B
TypeScript
11 lines
482 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: 'private-domain'; gateways: Array<GatewayId> }
|
|
| { kind: 'public-domain'; gateway: GatewayId }
|
|
| { kind: 'plugin'; package: PackageId }
|