add hasPrimary and disabled to network interfaces

This commit is contained in:
Matt Hill
2023-05-21 12:24:21 -06:00
parent dfc54b4320
commit 2354d08b75
4 changed files with 25 additions and 3 deletions

View File

@@ -185,6 +185,10 @@ export type NetworkInterface = {
name: string
/** Human readable description, used as tooltip usually */
description: string
/** Whether or not one address must be the primary address */
hasPrimary: boolean
/** Disabled interfaces do not serve, but they retain their metadata and addresses */
disabled: boolean
/** All URIs */
addresses: Address[]
/** Defaults to false, but describes if this address can be opened in a browser as an