wikimusic-model-hs-1.2.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

WikiMusic.Model.Opinion

Documentation

data Opinion Source #

Instances

Instances details
FromJSON Opinion Source # 
Instance details

Defined in WikiMusic.Model.Opinion

ToJSON Opinion Source # 
Instance details

Defined in WikiMusic.Model.Opinion

Generic Opinion Source # 
Instance details

Defined in WikiMusic.Model.Opinion

Associated Types

type Rep Opinion :: Type -> Type #

Methods

from :: Opinion -> Rep Opinion x #

to :: Rep Opinion x -> Opinion #

Show Opinion Source # 
Instance details

Defined in WikiMusic.Model.Opinion

Eq Opinion Source # 
Instance details

Defined in WikiMusic.Model.Opinion

Methods

(==) :: Opinion -> Opinion -> Bool #

(/=) :: Opinion -> Opinion -> Bool #

ToSchema Opinion Source # 
Instance details

Defined in WikiMusic.Model.Opinion

(k ~ A_Lens, a ~ UTCTime, b ~ UTCTime) => LabelOptic "createdAt" k Opinion Opinion a b Source # 
Instance details

Defined in WikiMusic.Model.Opinion

(k ~ A_Lens, a ~ UUID, b ~ UUID) => LabelOptic "createdBy" k Opinion Opinion a b Source # 
Instance details

Defined in WikiMusic.Model.Opinion

(k ~ A_Lens, a ~ UUID, b ~ UUID) => LabelOptic "identifier" k Opinion Opinion a b Source # 
Instance details

Defined in WikiMusic.Model.Opinion

(k ~ A_Lens, a ~ Bool, b ~ Bool) => LabelOptic "isDislike" k Opinion Opinion a b Source # 
Instance details

Defined in WikiMusic.Model.Opinion

(k ~ A_Lens, a ~ Bool, b ~ Bool) => LabelOptic "isLike" k Opinion Opinion a b Source # 
Instance details

Defined in WikiMusic.Model.Opinion

(k ~ A_Lens, a ~ Maybe UTCTime, b ~ Maybe UTCTime) => LabelOptic "lastEditedAt" k Opinion Opinion a b Source # 
Instance details

Defined in WikiMusic.Model.Opinion

type Rep Opinion Source # 
Instance details

Defined in WikiMusic.Model.Opinion

type Rep Opinion = D1 ('MetaData "Opinion" "WikiMusic.Model.Opinion" "wikimusic-model-hs-1.2.0.0-2AFmU6Rx8U3ctQHH6pLAk" 'False) (C1 ('MetaCons "Opinion" 'PrefixI 'True) ((S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID) :*: (S1 ('MetaSel ('Just "createdBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID) :*: S1 ('MetaSel ('Just "isLike") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: (S1 ('MetaSel ('Just "isDislike") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: S1 ('MetaSel ('Just "lastEditedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UTCTime))))))

parseOpinionRows :: (JoinKinds k1 l k2, Is k2 A_Getter, LabelOptic "identifier" l u v a1 a1, LabelOptic "opinion" k1 b b u v) => (a2 -> b) -> [a2] -> [(a1, b)] Source #