Module

FPO.Dto.PostTextDto

#PostTextDto

newtype PostTextDto

Constructors

Instances

#createPostTextDto

createPostTextDto :: { kind :: String, type_ :: String } -> PostTextDto

Create a new PostTextDto where the identifier is not relevant. TODO: It would be smart to differentiate between a PostTextDto (without id) and a GetTextDto (with id), but for simplicity we just use this one type. The POST requests do not care about the identifier field.

#encodePostTextDto

#getID

Modules