BaseResponse
Dto used as template for api responses.
BaseResponse
type BaseResponse<T> = {
message: string;
status: number;
value: T;
};
Properties
Name | Type | Description | Required | Default |
---|---|---|---|---|
message | string | Message of the response | Yes | - |
status | number | Status of the response | Yes | - |
value | T | Item returned in the response | No | undefined |