backend-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Server.DTOs.Comments

Documentation

newtype Comments Source #

Constructors

Comments 

Fields

Instances

Instances details
FromJSON Comments Source # 
Instance details

Defined in Server.DTOs.Comments

Methods

parseJSON :: Value -> Parser Comments

parseJSONList :: Value -> Parser [Comments]

omittedField :: Maybe Comments

ToJSON Comments Source # 
Instance details

Defined in Server.DTOs.Comments

Methods

toJSON :: Comments -> Value

toEncoding :: Comments -> Encoding

toJSONList :: [Comments] -> Value

toEncodingList :: [Comments] -> Encoding

omitField :: Comments -> Bool

Generic Comments Source # 
Instance details

Defined in Server.DTOs.Comments

Associated Types

type Rep Comments 
Instance details

Defined in Server.DTOs.Comments

type Rep Comments = D1 ('MetaData "Comments" "Server.DTOs.Comments" "backend-0.1.0.0-2H73EnUlGVcEtlIi2XNQz3" 'True) (C1 ('MetaCons "Comments" 'PrefixI 'True) (S1 ('MetaSel ('Just "comments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Comment))))

Methods

from :: Comments -> Rep Comments x #

to :: Rep Comments x -> Comments #

ToSchema Comments Source # 
Instance details

Defined in Server.DTOs.Comments

Methods

declareNamedSchema :: Proxy Comments -> Declare (Definitions Schema) NamedSchema

type Rep Comments Source # 
Instance details

Defined in Server.DTOs.Comments

type Rep Comments = D1 ('MetaData "Comments" "Server.DTOs.Comments" "backend-0.1.0.0-2H73EnUlGVcEtlIi2XNQz3" 'True) (C1 ('MetaCons "Comments" 'PrefixI 'True) (S1 ('MetaSel ('Just "comments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Comment))))