From 99e5bb3897b3fd7cd1d8af8caf8c09bd061b3ac1 Mon Sep 17 00:00:00 2001 From: BluJ Date: Thu, 11 May 2023 16:56:54 -0600 Subject: [PATCH] fix: Test --- lib/types.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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.