Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Server.Api.V0.Contract
Documentation
Constructors
Course | |
Fields
|
Instances
ToJSON Course Source # | |
Defined in Server.Api.V0.Contract Methods toEncoding :: Course -> Encoding toJSONList :: [Course] -> Value toEncodingList :: [Course] -> Encoding | |
Generic Course Source # | |
Show Course Source # | |
type Rep Course Source # | |
Defined in Server.Api.V0.Contract type Rep Course = D1 ('MetaData "Course" "Server.Api.V0.Contract" "lojbanios-0.1.0.0-CS8hSri5KztGGh0Q3HZpbG" 'False) (C1 ('MetaCons "Course" 'PrefixI 'True) (S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "dictionaryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "style") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CourseStyle)))) |
data CourseStyle Source #
Instances
ToJSON CourseStyle Source # | |
Defined in Server.Api.V0.Contract Methods toJSON :: CourseStyle -> Value toEncoding :: CourseStyle -> Encoding toJSONList :: [CourseStyle] -> Value toEncodingList :: [CourseStyle] -> Encoding | |
Generic CourseStyle Source # | |
Defined in Server.Api.V0.Contract Associated Types type Rep CourseStyle :: Type -> Type # | |
Show CourseStyle Source # | |
Defined in Server.Api.V0.Contract Methods showsPrec :: Int -> CourseStyle -> ShowS # show :: CourseStyle -> String # showList :: [CourseStyle] -> ShowS # | |
type Rep CourseStyle Source # | |
Defined in Server.Api.V0.Contract type Rep CourseStyle = D1 ('MetaData "CourseStyle" "Server.Api.V0.Contract" "lojbanios-0.1.0.0-CS8hSri5KztGGh0Q3HZpbG" 'False) (C1 ('MetaCons "CourseStyle" 'PrefixI 'True) (S1 ('MetaSel ('Just "color1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Just "iconUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)))) |
Constructors
Deck | |
Fields
|
Instances
ToJSON Deck Source # | |
Defined in Server.Api.V0.Contract Methods toEncoding :: Deck -> Encoding toJSONList :: [Deck] -> Value toEncodingList :: [Deck] -> Encoding | |
Generic Deck Source # | |
Show Deck Source # | |
type Rep Deck Source # | |
Defined in Server.Api.V0.Contract type Rep Deck = D1 ('MetaData "Deck" "Server.Api.V0.Contract" "lojbanios-0.1.0.0-CS8hSri5KztGGh0Q3HZpbG" 'False) (C1 ('MetaCons "Deck" 'PrefixI 'True) ((S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "dictionaryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "cards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Card]) :*: (S1 ('MetaSel ('Just "deckPreferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DeckPreferences)) :*: S1 ('MetaSel ('Just "deckProficiency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DeckProficiency)))))) |
Constructors
Card | |
Fields
|
Instances
ToJSON Card Source # | |
Defined in Server.Api.V0.Contract Methods toEncoding :: Card -> Encoding toJSONList :: [Card] -> Value toEncodingList :: [Card] -> Encoding | |
Generic Card Source # | |
Show Card Source # | |
type Rep Card Source # | |
Defined in Server.Api.V0.Contract type Rep Card = D1 ('MetaData "Card" "Server.Api.V0.Contract" "lojbanios-0.1.0.0-CS8hSri5KztGGh0Q3HZpbG" 'False) (C1 ('MetaCons "Card" 'PrefixI 'True) (S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "shortDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
data DeckPreferences Source #
Constructors
DeckPreferences | |
Fields |
Instances
data CardStatus Source #
Constructors
CurrentlyLearning | |
AlreadyMastered | |
NotStarted |
Instances
data CardPreferences Source #
Constructors
CardPreferences | |
Fields
|
Instances
data DeckProficiency Source #
Constructors
DeckProficiency | |
Fields |
Instances
data CardProficiency Source #
Constructors
CardProficiency | |