flaw-itch-webapi-0.1.0.0

LicenseMIT
Safe HaskellNone
LanguageHaskell2010

Flaw.Itch.WebApi

Description

 
Synopsis

Documentation

data ItchWebApiKey Source #

Itch API key (normal API key or JWT token).

Constructors

ItchWebApiKey !Text !Bool 

newtype ItchUserId Source #

Constructors

ItchUserId Word64 
Instances
Eq ItchUserId Source # 
Instance details

Defined in Flaw.Itch.WebApi

Ord ItchUserId Source # 
Instance details

Defined in Flaw.Itch.WebApi

Show ItchUserId Source # 
Instance details

Defined in Flaw.Itch.WebApi

Generic ItchUserId Source # 
Instance details

Defined in Flaw.Itch.WebApi

Associated Types

type Rep ItchUserId :: Type -> Type #

Hashable ItchUserId Source # 
Instance details

Defined in Flaw.Itch.WebApi

ToJSON ItchUserId Source # 
Instance details

Defined in Flaw.Itch.WebApi

FromJSON ItchUserId Source # 
Instance details

Defined in Flaw.Itch.WebApi

type Rep ItchUserId Source # 
Instance details

Defined in Flaw.Itch.WebApi

type Rep ItchUserId = D1 (MetaData "ItchUserId" "Flaw.Itch.WebApi" "flaw-itch-webapi-0.1.0.0-KpKzs4HrBRDGtn9Km69wS" True) (C1 (MetaCons "ItchUserId" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word64)))

data ItchUser Source #

Instances
Show ItchUser Source # 
Instance details

Defined in Flaw.Itch.WebApi

Generic ItchUser Source # 
Instance details

Defined in Flaw.Itch.WebApi

Associated Types

type Rep ItchUser :: Type -> Type #

Methods

from :: ItchUser -> Rep ItchUser x #

to :: Rep ItchUser x -> ItchUser #

FromJSON ItchUser Source # 
Instance details

Defined in Flaw.Itch.WebApi

type Rep ItchUser Source # 
Instance details

Defined in Flaw.Itch.WebApi

type Rep ItchUser = D1 (MetaData "ItchUser" "Flaw.Itch.WebApi" "flaw-itch-webapi-0.1.0.0-KpKzs4HrBRDGtn9Km69wS" False) (C1 (MetaCons "ItchUser" PrefixI True) ((S1 (MetaSel (Just "itchUser_id") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ItchUserId) :*: S1 (MetaSel (Just "itchUser_username") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "itchUser_url") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "itchUser_cover_url") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

newtype ItchGameId Source #

Constructors

ItchGameId Word64 
Instances
Eq ItchGameId Source # 
Instance details

Defined in Flaw.Itch.WebApi

Ord ItchGameId Source # 
Instance details

Defined in Flaw.Itch.WebApi

Show ItchGameId Source # 
Instance details

Defined in Flaw.Itch.WebApi

Generic ItchGameId Source # 
Instance details

Defined in Flaw.Itch.WebApi

Associated Types

type Rep ItchGameId :: Type -> Type #

Hashable ItchGameId Source # 
Instance details

Defined in Flaw.Itch.WebApi

ToJSON ItchGameId Source # 
Instance details

Defined in Flaw.Itch.WebApi

FromJSON ItchGameId Source # 
Instance details

Defined in Flaw.Itch.WebApi

type Rep ItchGameId Source # 
Instance details

Defined in Flaw.Itch.WebApi

type Rep ItchGameId = D1 (MetaData "ItchGameId" "Flaw.Itch.WebApi" "flaw-itch-webapi-0.1.0.0-KpKzs4HrBRDGtn9Km69wS" True) (C1 (MetaCons "ItchGameId" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word64)))

newtype ItchDownloadKeyId Source #

Instances
Eq ItchDownloadKeyId Source # 
Instance details

Defined in Flaw.Itch.WebApi

Ord ItchDownloadKeyId Source # 
Instance details

Defined in Flaw.Itch.WebApi

Show ItchDownloadKeyId Source # 
Instance details

Defined in Flaw.Itch.WebApi

Generic ItchDownloadKeyId Source # 
Instance details

Defined in Flaw.Itch.WebApi

Associated Types

type Rep ItchDownloadKeyId :: Type -> Type #

Hashable ItchDownloadKeyId Source # 
Instance details

Defined in Flaw.Itch.WebApi

ToJSON ItchDownloadKeyId Source # 
Instance details

Defined in Flaw.Itch.WebApi

FromJSON ItchDownloadKeyId Source # 
Instance details

Defined in Flaw.Itch.WebApi

type Rep ItchDownloadKeyId Source # 
Instance details

Defined in Flaw.Itch.WebApi

type Rep ItchDownloadKeyId = D1 (MetaData "ItchDownloadKeyId" "Flaw.Itch.WebApi" "flaw-itch-webapi-0.1.0.0-KpKzs4HrBRDGtn9Km69wS" True) (C1 (MetaCons "ItchDownloadKeyId" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Word64)))

data ItchDownloadKey Source #

Instances
Show ItchDownloadKey Source # 
Instance details

Defined in Flaw.Itch.WebApi

Generic ItchDownloadKey Source # 
Instance details

Defined in Flaw.Itch.WebApi

Associated Types

type Rep ItchDownloadKey :: Type -> Type #

FromJSON ItchDownloadKey Source # 
Instance details

Defined in Flaw.Itch.WebApi

type Rep ItchDownloadKey Source # 
Instance details

Defined in Flaw.Itch.WebApi

type Rep ItchDownloadKey = D1 (MetaData "ItchDownloadKey" "Flaw.Itch.WebApi" "flaw-itch-webapi-0.1.0.0-KpKzs4HrBRDGtn9Km69wS" False) (C1 (MetaCons "ItchDownloadKey" PrefixI True) (S1 (MetaSel (Just "itchDownloadKey_id") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ItchDownloadKeyId) :*: (S1 (MetaSel (Just "itchDownloadKey_game_id") SourceUnpack SourceStrict DecidedStrict) (Rec0 ItchGameId) :*: S1 (MetaSel (Just "itchDownloadKey_owner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ItchUser))))