Skip to content

Interface: ApiResponse<T>

Defined in: api/ApiResponse.ts:1

Type Parameters

T

T = unknown

Properties

data?

optional data: T

Defined in: api/ApiResponse.ts:3


errorMessage?

optional errorMessage: string

Defined in: api/ApiResponse.ts:4


statusCode?

optional statusCode: number

Defined in: api/ApiResponse.ts:5


success

success: boolean

Defined in: api/ApiResponse.ts:2

Released under the GPL-3.0 License.