Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- isInBuiltScalar :: Text -> Bool
- data CustomTypes = CustomTypes {}
- emptyCustomTypes :: CustomTypes
- data InputObjectTypeDefinition = InputObjectTypeDefinition {}
- newtype InputObjectTypeName = InputObjectTypeName {}
- data InputObjectFieldDefinition = InputObjectFieldDefinition {}
- newtype InputObjectFieldName = InputObjectFieldName {}
- data ObjectTypeDefinition = ObjectTypeDefinition {}
- newtype ObjectTypeName = ObjectTypeName {}
- data ObjectFieldDefinition field = ObjectFieldDefinition {
- _ofdName :: ObjectFieldName
- _ofdArguments :: Maybe Value
- _ofdDescription :: Maybe Description
- _ofdType :: field
- newtype ObjectFieldName = ObjectFieldName {}
- data ScalarTypeDefinition = ScalarTypeDefinition {}
- defaultGraphQLScalars :: HashMap Name ScalarTypeDefinition
- data EnumTypeDefinition = EnumTypeDefinition {}
- newtype EnumTypeName = EnumTypeName {}
- data EnumValueDefinition = EnumValueDefinition {}
- data TypeRelationshipDefinition = TypeRelationshipDefinition {}
- newtype RelationshipName = RelationshipName {}
- data AnnotatedCustomTypes = AnnotatedCustomTypes {}
- data AnnotatedInputType
- data AnnotatedScalarType
- data ScalarWrapper b = ScalarWrapper {}
- data AnnotatedOutputType
- data AnnotatedObjectType = AnnotatedObjectType {}
- data AnnotatedObjectFieldType
- data AnnotatedTypeRelationship = AnnotatedTypeRelationship {}
- trdType :: Lens' TypeRelationshipDefinition RelType
- trdSource :: Lens' TypeRelationshipDefinition SourceName
- trdRemoteTable :: Lens' TypeRelationshipDefinition QualifiedTable
- trdName :: Lens' TypeRelationshipDefinition RelationshipName
- trdFieldMapping :: Lens' TypeRelationshipDefinition (HashMap ObjectFieldName PGCol)
Documentation
isInBuiltScalar :: Text -> Bool Source #
data CustomTypes Source #
A set of custom GraphQL types, sorted by "kind".
Instances
data InputObjectTypeDefinition Source #
Instances
newtype InputObjectTypeName Source #
Instances
data InputObjectFieldDefinition Source #
Instances
newtype InputObjectFieldName Source #
Instances
data ObjectTypeDefinition Source #
Instances
newtype ObjectTypeName Source #
Instances
data ObjectFieldDefinition field Source #
ObjectFieldDefinition | |
|
Instances
newtype ObjectFieldName Source #
Instances
data ScalarTypeDefinition Source #
Instances
data EnumTypeDefinition Source #
Instances
newtype EnumTypeName Source #
Instances
data EnumValueDefinition Source #
Instances
data TypeRelationshipDefinition Source #
Instances
newtype RelationshipName Source #
TODO: deduplicate this in favour of RelName
Instances
data AnnotatedCustomTypes Source #
While we do not persist resolved types in the schema cache, they are used when building the cache to validate and resolve actions and their relationships.
Instances
data AnnotatedInputType Source #
NOCTScalar AnnotatedScalarType | |
NOCTEnum EnumTypeDefinition | |
NOCTInputObject InputObjectTypeDefinition |
Instances
data AnnotatedScalarType Source #
Instances
data ScalarWrapper b Source #
Instances
Backend b => Eq (ScalarWrapper b) Source # | |
Defined in Hasura.RQL.Types.CustomTypes (==) :: ScalarWrapper b -> ScalarWrapper b -> Bool # (/=) :: ScalarWrapper b -> ScalarWrapper b -> Bool # | |
Backend b => Ord (ScalarWrapper b) Source # | |
Defined in Hasura.RQL.Types.CustomTypes compare :: ScalarWrapper b -> ScalarWrapper b -> Ordering # (<) :: ScalarWrapper b -> ScalarWrapper b -> Bool # (<=) :: ScalarWrapper b -> ScalarWrapper b -> Bool # (>) :: ScalarWrapper b -> ScalarWrapper b -> Bool # (>=) :: ScalarWrapper b -> ScalarWrapper b -> Bool # max :: ScalarWrapper b -> ScalarWrapper b -> ScalarWrapper b # min :: ScalarWrapper b -> ScalarWrapper b -> ScalarWrapper b # |
data AnnotatedOutputType Source #
Instances
data AnnotatedObjectType Source #
Instances
data AnnotatedObjectFieldType Source #
Instances
ToJSON AnnotatedObjectFieldType Source # | |
Defined in Hasura.RQL.Types.CustomTypes | |
Generic AnnotatedObjectFieldType Source # | |
Defined in Hasura.RQL.Types.CustomTypes type Rep AnnotatedObjectFieldType :: Type -> Type # | |
type Rep AnnotatedObjectFieldType Source # | |
Defined in Hasura.RQL.Types.CustomTypes type Rep AnnotatedObjectFieldType = D1 ('MetaData "AnnotatedObjectFieldType" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "AOFTScalar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AnnotatedScalarType)) :+: (C1 ('MetaCons "AOFTEnum" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EnumTypeDefinition)) :+: C1 ('MetaCons "AOFTObject" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name)))) |
data AnnotatedTypeRelationship Source #