mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 20:24:47 +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 = {
|
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
|
id: string
|
||||||
/** The title of this field to be displayed */
|
/** The title of this field to be displayed */
|
||||||
name: string
|
name: string
|
||||||
@@ -326,7 +339,7 @@ export type Effects = {
|
|||||||
getInterface(options: {
|
getInterface(options: {
|
||||||
packageId?: PackageId
|
packageId?: PackageId
|
||||||
interfaceId: string
|
interfaceId: string
|
||||||
}): Promise<NetworkInterface>
|
}): Promise<NetworkInterfaceOut>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*Remove an address that was exported. Used problably during main or during setConfig.
|
*Remove an address that was exported. Used problably during main or during setConfig.
|
||||||
|
|||||||
Reference in New Issue
Block a user