-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | GraphQL Haskell implementation -- @package graphql @version 0.1 module Data.GraphQL type Name = Text newtype Document Document :: [Definition] -> Document data Definition DefinitionOperation :: OperationDefinition -> Definition DefinitionFragment :: FragmentDefinition -> Definition DefinitionType :: TypeDefinition -> Definition data OperationDefinition Query :: (Maybe [VariableDefinition]) -> (Maybe [Directive]) -> SelectionSet -> OperationDefinition Mutation :: (Maybe [VariableDefinition]) -> (Maybe [Directive]) -> SelectionSet -> OperationDefinition Subscription :: (Maybe [VariableDefinition]) -> (Maybe [Directive]) -> SelectionSet -> OperationDefinition data VariableDefinition VariableDefinition :: Variable -> Type -> (Maybe DefaultValue) -> VariableDefinition newtype Variable Variable :: Name -> Variable newtype SelectionSet SelectionSet :: [Selection] -> SelectionSet data Selection SelectionField :: Field -> Selection SelectionFragmentSpread :: FragmentSpread -> Selection SelectionInlineFragment :: InlineFragment -> Selection data Field Field :: (Maybe Alias) -> Name -> (Maybe [Argument]) -> (Maybe [Directive]) -> (Maybe SelectionSet) -> Field type Alias = Name data Argument Argument :: Name -> Value -> Argument data FragmentSpread FragmentSpread :: Name -> (Maybe [Directive]) -> FragmentSpread data InlineFragment InlineFragment :: TypeCondition -> (Maybe [Directive]) -> SelectionSet -> InlineFragment data FragmentDefinition FragmentDefinition :: Name -> TypeCondition -> (Maybe [Directive]) -> SelectionSet -> FragmentDefinition type TypeCondition = NamedType data Value ValueVariable :: Variable -> Value ValueInt :: Int -> Value ValueFloat :: Float -> Value ValueString :: Text -> Value ValueBoolean :: Bool -> Value ValueEnum :: Name -> Value ValueList :: ListValue -> Value ValueObject :: ObjectValue -> Value newtype ListValue ListValue :: [Value] -> ListValue newtype ObjectValue ObjectValue :: [ObjectField] -> ObjectValue data ObjectField ObjectField :: Name -> Value -> ObjectField type DefaultValue = Value data Directive Directive :: Name -> (Maybe [Argument]) -> Directive data Type TypeNamed :: NamedType -> Type TypeList :: ListType -> Type TypeNonNull :: NonNullType -> Type newtype NamedType NamedType :: Name -> NamedType newtype ListType ListType :: Type -> ListType data NonNullType NonNullTypeNamed :: NamedType -> NonNullType NonNullTypeList :: ListType -> NonNullType data TypeDefinition TypeDefinitionObject :: ObjectTypeDefinition -> TypeDefinition TypeDefinitionInterface :: InterfaceTypeDefinition -> TypeDefinition TypeDefinitionUnion :: UnionTypeDefinition -> TypeDefinition TypeDefinitionScalar :: ScalarTypeDefinition -> TypeDefinition TypeDefinitionEnum :: EnumTypeDefinition -> TypeDefinition TypeDefinitionInputObject :: InputObjectTypeDefinition -> TypeDefinition TypeDefinitionTypeExtension :: TypeExtensionDefinition -> TypeDefinition data ObjectTypeDefinition ObjectTypeDefinition :: Name -> (Maybe Interfaces) -> [FieldDefinition] -> ObjectTypeDefinition type Interfaces = [NamedType] data FieldDefinition FieldDefinition :: Name -> [InputValueDefinition] -> FieldDefinition data InputValueDefinition InputValueDefinition :: Name -> Type -> (Maybe DefaultValue) -> InputValueDefinition data InterfaceTypeDefinition InterfaceTypeDefinition :: Name -> [FieldDefinition] -> InterfaceTypeDefinition data UnionTypeDefinition UnionTypeDefinition :: Name -> [NamedType] -> UnionTypeDefinition data ScalarTypeDefinition ScalarTypeDefinition :: Name -> ScalarTypeDefinition data EnumTypeDefinition EnumTypeDefinition :: Name -> [EnumValueDefinition] -> EnumTypeDefinition newtype EnumValueDefinition EnumValueDefinition :: Name -> EnumValueDefinition data InputObjectTypeDefinition InputObjectTypeDefinition :: Name -> [InputValueDefinition] -> InputObjectTypeDefinition newtype TypeExtensionDefinition TypeExtensionDefinition :: ObjectTypeDefinition -> TypeExtensionDefinition instance Eq Variable instance Show Variable instance Eq ObjectField instance Show ObjectField instance Eq Value instance Show Value instance Eq ObjectValue instance Show ObjectValue instance Eq ListValue instance Show ListValue instance Eq Argument instance Show Argument instance Eq Directive instance Show Directive instance Eq FragmentSpread instance Show FragmentSpread instance Eq NamedType instance Show NamedType instance Eq InlineFragment instance Show InlineFragment instance Eq SelectionSet instance Show SelectionSet instance Eq Selection instance Show Selection instance Eq Field instance Show Field instance Eq FragmentDefinition instance Show FragmentDefinition instance Eq NonNullType instance Show NonNullType instance Eq ListType instance Show ListType instance Eq Type instance Show Type instance Eq VariableDefinition instance Show VariableDefinition instance Eq OperationDefinition instance Show OperationDefinition instance Eq InputValueDefinition instance Show InputValueDefinition instance Eq FieldDefinition instance Show FieldDefinition instance Eq ObjectTypeDefinition instance Show ObjectTypeDefinition instance Eq InterfaceTypeDefinition instance Show InterfaceTypeDefinition instance Eq UnionTypeDefinition instance Show UnionTypeDefinition instance Eq ScalarTypeDefinition instance Show ScalarTypeDefinition instance Eq EnumValueDefinition instance Show EnumValueDefinition instance Eq EnumTypeDefinition instance Show EnumTypeDefinition instance Eq InputObjectTypeDefinition instance Show InputObjectTypeDefinition instance Eq TypeExtensionDefinition instance Show TypeExtensionDefinition instance Eq TypeDefinition instance Show TypeDefinition instance Eq Definition instance Show Definition instance Eq Document instance Show Document