Skip to main content

Class: CurrentModuleAsSDK

The SDK-role data for the currently executing module, as installed in the active workspace.

Extends

  • BaseClient

Constructors

Constructor

new CurrentModuleAsSDK(ctx?, _id?, _name?): CurrentModuleAsSDK

Constructor is used for internal usage only, do not create object from it.

Parameters

ctx?

Context

_id?

ID

_name?

string

Returns

CurrentModuleAsSDK

Overrides

BaseClient.constructor

Methods

clients()

clients(): Promise<CurrentModuleAsSDKClient[]>

The generated clients this SDK produces in the workspace.

Returns

Promise<CurrentModuleAsSDKClient[]>


id()

id(): Promise<ID>

A unique identifier for this CurrentModuleAsSDK.

Returns

Promise<ID>


modules()

modules(): Promise<CurrentModuleAsSDKModule[]>

The workspace-local modules this SDK authors and manages.

Returns

Promise<CurrentModuleAsSDKModule[]>


name()

name(): Promise<string>

The user-facing name of this SDK in the workspace.

Returns

Promise<string>