Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- type Name = Text
- newtype Document = Document [Definition]
- data Definition
- data OperationDefinition
- data VariableDefinition = VariableDefinition Variable Type (Maybe DefaultValue)
- newtype Variable = Variable Name
- type SelectionSet = [Selection]
- data Selection
- data Field = Field Alias Name [Argument] [Directive] SelectionSet
- type Alias = Name
- data Argument = Argument Name Value
- data FragmentSpread = FragmentSpread Name [Directive]
- data InlineFragment = InlineFragment TypeCondition [Directive] SelectionSet
- data FragmentDefinition = FragmentDefinition Name TypeCondition [Directive] SelectionSet
- type TypeCondition = NamedType
- data Value
- newtype ListValue = ListValue [Value]
- newtype ObjectValue = ObjectValue [ObjectField]
- data ObjectField = ObjectField Name Value
- type DefaultValue = Value
- data Directive = Directive Name [Argument]
- data Type
- newtype NamedType = NamedType Name
- newtype ListType = ListType Type
- data NonNullType
- data TypeDefinition
- = TypeDefinitionObject ObjectTypeDefinition
- | TypeDefinitionInterface InterfaceTypeDefinition
- | TypeDefinitionUnion UnionTypeDefinition
- | TypeDefinitionScalar ScalarTypeDefinition
- | TypeDefinitionEnum EnumTypeDefinition
- | TypeDefinitionInputObject InputObjectTypeDefinition
- | TypeDefinitionTypeExtension TypeExtensionDefinition
- data ObjectTypeDefinition = ObjectTypeDefinition Name Interfaces [FieldDefinition]
- type Interfaces = [NamedType]
- data FieldDefinition = FieldDefinition Name ArgumentsDefinition Type
- type ArgumentsDefinition = [InputValueDefinition]
- data InputValueDefinition = InputValueDefinition Name Type (Maybe DefaultValue)
- data InterfaceTypeDefinition = InterfaceTypeDefinition Name [FieldDefinition]
- data UnionTypeDefinition = UnionTypeDefinition Name [NamedType]
- data ScalarTypeDefinition = ScalarTypeDefinition Name
- data EnumTypeDefinition = EnumTypeDefinition Name [EnumValueDefinition]
- newtype EnumValueDefinition = EnumValueDefinition Name
- data InputObjectTypeDefinition = InputObjectTypeDefinition Name [InputValueDefinition]
- newtype TypeExtensionDefinition = TypeExtensionDefinition ObjectTypeDefinition
Name
Document
data Definition Source
data VariableDefinition Source
type SelectionSet = [Selection] Source
Fragments
data FragmentSpread Source
data InlineFragment Source
data FragmentDefinition Source
type TypeCondition = NamedType Source
Values
type DefaultValue = Value Source
Directives
Type Reference
data NonNullType Source
Type definition
data TypeDefinition Source
type Interfaces = [NamedType] Source
data FieldDefinition Source
data EnumTypeDefinition Source
newtype EnumValueDefinition Source