diff --git a/lib/types.ts b/lib/types.ts index 344e831..6b99414 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -176,6 +176,19 @@ export type Address = { } export type NetworkInterface = { + id: string + /** The title of this field to be displayed */ + name: string + /** Human readable description, used as tooltip usually */ + description: string + /** All URIs */ + addresses: Address[] + /** Defaults to false, but describes if this address can be opened in a browser as an + * ui interface + */ + ui?: boolean +} +export type NetworkInterfaceOut = { id: string /** The title of this field to be displayed */ name: string @@ -326,7 +339,7 @@ export type Effects = { getInterface(options: { packageId?: PackageId interfaceId: string - }): Promise + }): Promise /** *Remove an address that was exported. Used problably during main or during setConfig.