Module

Data.GraphQL.AST

Package
purescript-graphql-parser
Repository
meeshkan/purescript-graphql-parser

#T_OperationDefinition_OperationType Source

type T_OperationDefinition_OperationType = { directives :: Maybe Directives, name :: Maybe String, operationType :: OperationType, selectionSet :: SelectionSet, variableDefinitions :: Maybe VariableDefinitions }

#T_Field Source

type T_Field = { alias :: Maybe String, arguments :: Maybe Arguments, directives :: Maybe Directives, name :: String, selectionSet :: Maybe SelectionSet }

#Field Source

newtype Field

Constructors

Instances

#T_Argument Source

type T_Argument = { name :: String, value :: Value }

#T_FragmentSpread Source

type T_FragmentSpread = { directives :: Maybe Directives, fragmentName :: String }

#T_InlineFragment Source

type T_InlineFragment = { directives :: Maybe Directives, selectionSet :: SelectionSet, typeCondition :: Maybe TypeCondition }

#T_FragmentDefinition Source

type T_FragmentDefinition = { directives :: Maybe Directives, fragmentName :: String, selectionSet :: SelectionSet, typeCondition :: TypeCondition }

#T_VariableDefinition Source

type T_VariableDefinition = { defaultValue :: Maybe DefaultValue, type :: Type, variable :: Variable }

#T_Directive Source

type T_Directive = { arguments :: Maybe Arguments, name :: String }

#T_SchemaDefinition Source

type T_SchemaDefinition = { directives :: Maybe Directives, rootOperationTypeDefinition :: List RootOperationTypeDefinition }

#T_RootOperationTypeDefinition Source

type T_RootOperationTypeDefinition = { namedType :: NamedType, operationType :: OperationType }

#T_SchemaExtension_With_OperationTypeDefinition Source

#T_SchemaExtension_With_Directives Source

#T_OperationTypeDefinition Source

type T_OperationTypeDefinition = { namedType :: NamedType, operationType :: OperationType }

#T_ScalarTypeDefinition Source

type T_ScalarTypeDefinition = { description :: Maybe String, directives :: Maybe Directives, name :: String }

#T_ScalarTypeExtension Source

type T_ScalarTypeExtension = { directives :: Directives, name :: String }

#T_ObjectTypeDefinition Source

type T_ObjectTypeDefinition = { description :: Maybe String, directives :: Maybe Directives, fieldsDefinition :: Maybe FieldsDefinition, implementsInterfaces :: Maybe ImplementsInterfaces, name :: String }

#T_ObjectTypeExtension_With_FieldsDefinition Source

type T_ObjectTypeExtension_With_FieldsDefinition = { directives :: Maybe Directives, fieldsDefinition :: FieldsDefinition, implementsInterfaces :: Maybe ImplementsInterfaces, name :: String }

#T_ObjectTypeExtension_With_Directives Source

type T_ObjectTypeExtension_With_Directives = { directives :: Directives, implementsInterfaces :: Maybe ImplementsInterfaces, name :: String }

#T_ObjectTypeExtension_With_ImplementsInterfaces Source

#T_FieldDefinition Source

type T_FieldDefinition = { argumentsDefinition :: Maybe ArgumentsDefinition, description :: Maybe String, directives :: Maybe Directives, name :: String, type :: Type }

#T_InputValueDefinition Source

type T_InputValueDefinition = { defaultValue :: Maybe DefaultValue, description :: Maybe String, directives :: Maybe Directives, name :: String, type :: Type }

#T_InterfaceTypeDefinition Source

type T_InterfaceTypeDefinition = { description :: Maybe String, directives :: Maybe Directives, fieldsDefinition :: Maybe FieldsDefinition, name :: String }

#T_InterfaceTypeExtension_With_FieldsDefinition Source

type T_InterfaceTypeExtension_With_FieldsDefinition = { directives :: Maybe Directives, fieldsDefinition :: FieldsDefinition, name :: String }

#T_InterfaceTypeExtension_With_Directives Source

#T_UnionTypeDefinition Source

type T_UnionTypeDefinition = { description :: Maybe String, directives :: Maybe Directives, name :: String, unionMemberTypes :: Maybe UnionMemberTypes }

#T_UnionTypeExtension_With_UnionMemberTypes Source

type T_UnionTypeExtension_With_UnionMemberTypes = { directives :: Maybe Directives, name :: String, unionMemberTypes :: UnionMemberTypes }

#T_UnionTypeExtension_With_Directives Source

type T_UnionTypeExtension_With_Directives = { directives :: Directives, name :: String }

#T_EnumTypeDefinition Source

type T_EnumTypeDefinition = { description :: Maybe String, directives :: Maybe Directives, enumValuesDefinition :: Maybe EnumValuesDefinition, name :: String }

#T_EnumValueDefinition Source

type T_EnumValueDefinition = { description :: Maybe String, directives :: Maybe Directives, enumValue :: EnumValue }

#T_EnumTypeExtension_With_EnumValuesDefinition Source

type T_EnumTypeExtension_With_EnumValuesDefinition = { directives :: Maybe Directives, enumValuesDefinition :: EnumValuesDefinition, name :: String }

#T_EnumTypeExtension_With_Directives Source

type T_EnumTypeExtension_With_Directives = { directives :: Directives, name :: String }

#T_InputObjectTypeDefinition Source

type T_InputObjectTypeDefinition = { description :: Maybe String, directives :: Maybe Directives, inputFieldsDefinition :: Maybe InputFieldsDefinition, name :: String }

#T_InputObjectTypeExtension_With_InputFieldsDefinition Source

type T_InputObjectTypeExtension_With_InputFieldsDefinition = { directives :: Maybe Directives, inputFieldsDefinition :: InputFieldsDefinition, name :: String }

#T_InputObjectTypeExtension_With_Directives Source

#T_DirectiveDefinition Source

type T_DirectiveDefinition = { argumentsDefinition :: Maybe ArgumentsDefinition, description :: Maybe String, directiveLocations :: DirectiveLocations, name :: String }