mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 12:21:57 +00:00
chore: Add getInterface interfaceId
This commit is contained in:
@@ -182,7 +182,7 @@ export type NetworkInterface = {
|
|||||||
/** Human readable description, used as tooltip usually */
|
/** Human readable description, used as tooltip usually */
|
||||||
description: string
|
description: string
|
||||||
/** All URIs */
|
/** All URIs */
|
||||||
addresses: Address[]
|
addresses: string[]
|
||||||
/** Defaults to false, but describes if this address can be opened in a browser as an
|
/** Defaults to false, but describes if this address can be opened in a browser as an
|
||||||
* ui interface
|
* ui interface
|
||||||
*/
|
*/
|
||||||
@@ -325,7 +325,7 @@ export type Effects = {
|
|||||||
*/
|
*/
|
||||||
getInterface(options: {
|
getInterface(options: {
|
||||||
packageId?: PackageId
|
packageId?: PackageId
|
||||||
interfaceId?: string
|
interfaceId: string
|
||||||
}): Promise<NetworkInterface>
|
}): Promise<NetworkInterface>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user