diff options
Diffstat (limited to 'src/Language/GraphQL/AST.hs')
| -rw-r--r-- | src/Language/GraphQL/AST.hs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/Language/GraphQL/AST.hs b/src/Language/GraphQL/AST.hs index 537e870..06aeedf 100644 --- a/src/Language/GraphQL/AST.hs +++ b/src/Language/GraphQL/AST.hs @@ -5,10 +5,8 @@ module Language.GraphQL.AST ( Alias , Argument(..) - , Definition(..) - , Directive(..) - , Document , ExecutableDefinition(..) + , Directive(..) , FragmentDefinition(..) , Name , NonNullType(..) @@ -28,15 +26,6 @@ import Data.Int (Int32) import Data.List.NonEmpty (NonEmpty) import Data.Text (Text) --- * Document - --- | GraphQL document. -type Document = NonEmpty Definition - --- | All kinds of definitions that can occur in a GraphQL document. -newtype Definition = ExecutableDefinition ExecutableDefinition - deriving (Eq, Show) - -- | Name type Name = Text @@ -74,8 +63,6 @@ type SelectionSet = NonEmpty Selection -- | Field selection. type SelectionSetOpt = [Selection] --- * Field - -- | Single GraphQL field. -- -- The only required property of a field is its name. Optionally it can also |
