Shpadoinkle-isreal-0.0.0.2: Isreal Swan will make a snowman for you!

Safe HaskellNone
LanguageHaskell2010

Shpadoinkle.Isreal.Types

Documentation

data Options Source #

Constructors

Options 
Instances
Eq Options Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Ord Options Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Show Options Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Generic Options Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Associated Types

type Rep Options :: Type -> Type Source #

type Rep Options Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

type Rep Options = D1 (MetaData "Options" "Shpadoinkle.Isreal.Types" "Shpadoinkle-isreal-0.0.0.2-LWUFhCYLoE11RDEVmr2eoj" False) (C1 (MetaCons "Options" PrefixI True) (S1 (MetaSel (Just "territory") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FilePath) :*: S1 (MetaSel (Just "swan") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FilePath)))

newtype CompileError Source #

Constructors

CompileError 

Fields

Instances
Eq CompileError Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Ord CompileError Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Read CompileError Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Show CompileError Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Generic CompileError Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Associated Types

type Rep CompileError :: Type -> Type Source #

ToJSON CompileError Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

FromJSON CompileError Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

NFData CompileError Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Methods

rnf :: CompileError -> () Source #

type Rep CompileError Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

type Rep CompileError = D1 (MetaData "CompileError" "Shpadoinkle.Isreal.Types" "Shpadoinkle-isreal-0.0.0.2-LWUFhCYLoE11RDEVmr2eoj" True) (C1 (MetaCons "CompileError" PrefixI True) (S1 (MetaSel (Just "unCompileError") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

newtype Code Source #

Constructors

Code 

Fields

Instances
Eq Code Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Methods

(==) :: Code -> Code -> Bool Source #

(/=) :: Code -> Code -> Bool Source #

Ord Code Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Read Code Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Show Code Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Generic Code Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Associated Types

type Rep Code :: Type -> Type Source #

Methods

from :: Code -> Rep Code x Source #

to :: Rep Code x -> Code Source #

ToJSON Code Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

FromJSON Code Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

NFData Code Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Methods

rnf :: Code -> () Source #

MimeRender OctetStream Code Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

MimeUnrender OctetStream Code Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

type Rep Code Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

type Rep Code = D1 (MetaData "Code" "Shpadoinkle.Isreal.Types" "Shpadoinkle-isreal-0.0.0.2-LWUFhCYLoE11RDEVmr2eoj" True) (C1 (MetaCons "Code" PrefixI True) (S1 (MetaSel (Just "unCode") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ByteString)))

data SnowToken Source #

Instances
Eq SnowToken Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Ord SnowToken Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Read SnowToken Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Show SnowToken Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Generic SnowToken Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Associated Types

type Rep SnowToken :: Type -> Type Source #

ToJSON SnowToken Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

FromJSON SnowToken Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

NFData SnowToken Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Methods

rnf :: SnowToken -> () Source #

ToHttpApiData SnowToken Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

FromHttpApiData SnowToken Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

type Rep SnowToken Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

type Rep SnowToken = D1 (MetaData "SnowToken" "Shpadoinkle.Isreal.Types" "Shpadoinkle-isreal-0.0.0.2-LWUFhCYLoE11RDEVmr2eoj" True) (C1 (MetaCons "SnowToken" PrefixI True) (S1 (MetaSel (Just "unSnowToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

type API = ("echo" :> (Capture "echo" Text :> Get '[PlainText] Text)) :<|> (("compile" :> (Capture "token" SnowToken :> (QueryParam' '[Required] "nonce" SnowNonce :> (ReqBody '[OctetStream] Code :> Post '[JSON] (Either CompileError Text))))) :<|> (("clean" :> (Capture "token" SnowToken :> Delete '[JSON, PlainText] Text)) :<|> (("clean-all" :> Delete '[JSON, PlainText] Text) :<|> (("serve" :> (Capture "token" SnowToken :> Raw)) :<|> Get '[PlainText] Text)))) Source #

newtype SnowNonce Source #

Constructors

SnowNonce 

Fields

Instances
Eq SnowNonce Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Num SnowNonce Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Ord SnowNonce Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Read SnowNonce Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Show SnowNonce Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Generic SnowNonce Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Associated Types

type Rep SnowNonce :: Type -> Type Source #

ToJSON SnowNonce Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

FromJSON SnowNonce Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

NFData SnowNonce Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

Methods

rnf :: SnowNonce -> () Source #

ToHttpApiData SnowNonce Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

FromHttpApiData SnowNonce Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

type Rep SnowNonce Source # 
Instance details

Defined in Shpadoinkle.Isreal.Types

type Rep SnowNonce = D1 (MetaData "SnowNonce" "Shpadoinkle.Isreal.Types" "Shpadoinkle-isreal-0.0.0.2-LWUFhCYLoE11RDEVmr2eoj" True) (C1 (MetaCons "SnowNonce" PrefixI True) (S1 (MetaSel (Just "unSnowNonce") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))