mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
- Add AvailablePorts::try_alloc() with SSL tracking (BTreeMap<u16, bool>) - Add DerivedAddressInfo on BindInfo with private_disabled/public_enabled/possible sets - Add Bindings wrapper with Map impl for patchdb indexed access - Flatten HostAddress from single-variant enum to struct - Replace set-gateway-enabled RPC with set-address-enabled - Remove hostname_info from Host; computed addresses now in BindInfo.addresses.possible - Compute possible addresses inline in NetServiceData::update() - Update DB migration, SDK types, frontend, and container-runtime
18 lines
562 B
TypeScript
18 lines
562 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { HostnameInfo } from './HostnameInfo'
|
|
|
|
export type DerivedAddressInfo = {
|
|
/**
|
|
* User-controlled: private-gateway addresses the user has disabled
|
|
*/
|
|
privateDisabled: Array<HostnameInfo>
|
|
/**
|
|
* User-controlled: public-gateway addresses the user has enabled
|
|
*/
|
|
publicEnabled: Array<HostnameInfo>
|
|
/**
|
|
* COMPUTED: NetServiceData::update — all possible addresses for this binding
|
|
*/
|
|
possible: Array<HostnameInfo>
|
|
}
|