TResponse object¶
The TResponse object is usually a type of the data field in the RequestResponse. There are currently three basic types of a TResponse.
TResponseWithFlashMessenger¶
TResponseWithFlashMessenger
has one property called flashMessages
which has the type of TFlashMessenger.
TResponseWithStatus¶
TResponseWithStatus
has one property called status
which has the type of TResponseStatus.
TResponseWithId¶
TResponseWithId
has one property called id
which has the type of number
.
TResponseWithMessagesAndStatus¶
TResponseWithMessagesAndStatus
has two properties:
flashMessages
of type TFlashMessengerstatus
of type TResponseStatus
TResponseWithMessagesStatusAndId¶
TResponseWithMessagesAndStatus
has three properties:
flashMessages
of type TFlashMessengerstatus
of type TResponseStatusid
of typenumber
TResponseStatus¶
TResponseStatus
has two properties, success
and failed
.