IHP Api Reference
Safe HaskellNone

IHP.GraphQL.Types

Synopsis

Documentation

data GraphQLRequest Source #

Constructors

GraphQLRequest 

Instances

Instances details
FromJSON GraphQLRequest Source # 
Instance details

Defined in IHP.GraphQL.JSON

newtype Document Source #

Constructors

Document 

Fields

Instances

Instances details
Eq Document Source # 
Instance details

Defined in IHP.GraphQL.Types

Show Document Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Document -> ShowS #

show :: Document -> String

showList :: [Document] -> ShowS #

FromJSON Document Source # 
Instance details

Defined in IHP.GraphQL.JSON

Methods

parseJSON :: Value -> Parser Document #

parseJSONList :: Value -> Parser [Document] #

data FieldDefinition Source #

Instances

Instances details
Eq FieldDefinition Source # 
Instance details

Defined in IHP.GraphQL.Types

Show FieldDefinition Source # 
Instance details

Defined in IHP.GraphQL.Types

data Selection Source #

Constructors

Field 
FragmentSpread 

Fields

Instances

Instances details
Eq Selection Source # 
Instance details

Defined in IHP.GraphQL.Types

Show Selection Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Selection -> ShowS #

show :: Selection -> String

showList :: [Selection] -> ShowS #

data Fragment Source #

Constructors

Fragment 

Fields

Instances

Instances details
Eq Fragment Source # 
Instance details

Defined in IHP.GraphQL.Types

Show Fragment Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Fragment -> ShowS #

show :: Fragment -> String

showList :: [Fragment] -> ShowS #

data OperationType Source #

Constructors

Query 
Mutation 
Subscription 

Instances

Instances details
Eq OperationType Source # 
Instance details

Defined in IHP.GraphQL.Types

Show OperationType Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> OperationType -> ShowS #

show :: OperationType -> String

showList :: [OperationType] -> ShowS #

data Argument Source #

Constructors

Argument 

Instances

Instances details
Eq Argument Source # 
Instance details

Defined in IHP.GraphQL.Types

Show Argument Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Argument -> ShowS #

show :: Argument -> String

showList :: [Argument] -> ShowS #

data Value Source #

Instances

Instances details
Eq Value Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

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

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

Show Value Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Value -> ShowS #

show :: Value -> String

showList :: [Value] -> ShowS #

newtype Variables Source #

Constructors

Variables [Argument] 

Instances

Instances details
Eq Variables Source # 
Instance details

Defined in IHP.GraphQL.Types

Show Variables Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Variables -> ShowS #

show :: Variables -> String

showList :: [Variables] -> ShowS #

FromJSON Variables Source # 
Instance details

Defined in IHP.GraphQL.JSON

Methods

parseJSON :: Value -> Parser Variables #

parseJSONList :: Value -> Parser [Variables] #

data Type Source #

Instances

Instances details
Eq Type Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

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

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

Show Type Source # 
Instance details

Defined in IHP.GraphQL.Types

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String

showList :: [Type] -> ShowS #