Skip to content

Documentation / @imvu/client / ResourceConstructor

Type Alias: ResourceConstructor()<T> ​

ts
type ResourceConstructor<T> = T;

Defined in: packages/client/src/resources/Resource.ts:11

A resource class: constructable, with a build factory.

Type Parameters ​

Type ParameterDefault type
T extends Resource<any>Resource<any>
ts
type new ResourceConstructor(client, options?): T;

A resource class: constructable, with a build factory.

Parameters ​

ParameterType
clientClient
options?ResourceOptions

Returns ​

T

Properties ​

name ​

ts
readonly name: string;

Defined in: packages/client/src/resources/Resource.ts:13

Methods ​

build() ​

ts
build(client, node): T;

Defined in: packages/client/src/resources/Resource.ts:14

Parameters ​

ParameterType
clientClient
nodeAPIResource

Returns ​

T

Released under the MIT License.