mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 02:11:56 +00:00
fix: Test
This commit is contained in:
15
lib/types.ts
15
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<NetworkInterface>
|
||||
}): Promise<NetworkInterfaceOut>
|
||||
|
||||
/**
|
||||
*Remove an address that was exported. Used problably during main or during setConfig.
|
||||
|
||||
Reference in New Issue
Block a user