BaseResponse

@justaname.id/sdkDocs


@justaname.id/sdk / BaseResponse

Interface: BaseResponse<T>

Represents the Base Response type of JustaName API.

Typeparam

T - The type of the data to be returned.

Type Parameters

T

Properties

result

result: object

data

data: T extends null ? null : T

error

error: ErrorType<T>

Defined in

packages/@justaname.id/sdk/src/lib/types/base-response/index.ts:14


statusCode

statusCode: number

Defined in

packages/@justaname.id/sdk/src/lib/types/base-response/index.ts:13

Last updated