Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Hasura.RQL.Types.CustomTypes
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".
Constructors
CustomTypes | |
Fields |
Instances
data InputObjectTypeDefinition Source #
Constructors
InputObjectTypeDefinition | |
Instances
newtype InputObjectTypeName Source #
Constructors
InputObjectTypeName | |
Fields |
Instances
data InputObjectFieldDefinition Source #
Constructors
InputObjectFieldDefinition | |
Fields |
Instances
newtype InputObjectFieldName Source #
Constructors
InputObjectFieldName | |
Fields |
Instances
data ObjectTypeDefinition Source #
Constructors
ObjectTypeDefinition | |
Instances
newtype ObjectTypeName Source #
Constructors
ObjectTypeName | |
Fields |
Instances
data ObjectFieldDefinition field Source #
Constructors
ObjectFieldDefinition | |
Fields
|
Instances
newtype ObjectFieldName Source #
Constructors
ObjectFieldName | |
Fields |
Instances
data ScalarTypeDefinition Source #
Constructors
ScalarTypeDefinition | |
Fields |
Instances
data EnumTypeDefinition Source #
Constructors
EnumTypeDefinition | |
Fields |
Instances
newtype EnumTypeName Source #
Constructors
EnumTypeName | |
Fields |
Instances
data EnumValueDefinition Source #
Constructors
EnumValueDefinition | |
Fields |
Instances
data TypeRelationshipDefinition Source #
Constructors
TypeRelationshipDefinition | |
Instances
newtype RelationshipName Source #
TODO: deduplicate this in favour of RelName
Constructors
RelationshipName | |
Fields |
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.
Constructors
AnnotatedCustomTypes | |
Instances
Monoid AnnotatedCustomTypes Source # | |
Defined in Hasura.RQL.Types.CustomTypes Methods mempty :: AnnotatedCustomTypes # mappend :: AnnotatedCustomTypes -> AnnotatedCustomTypes -> AnnotatedCustomTypes # | |
Semigroup AnnotatedCustomTypes Source # | |
Defined in Hasura.RQL.Types.CustomTypes Methods (<>) :: AnnotatedCustomTypes -> AnnotatedCustomTypes -> AnnotatedCustomTypes # sconcat :: NonEmpty AnnotatedCustomTypes -> AnnotatedCustomTypes # stimes :: Integral b => b -> AnnotatedCustomTypes -> AnnotatedCustomTypes # |
data AnnotatedInputType Source #
Constructors
NOCTScalar AnnotatedScalarType | |
NOCTEnum EnumTypeDefinition | |
NOCTInputObject InputObjectTypeDefinition |
Instances
data AnnotatedScalarType Source #
Constructors
ASTCustom ScalarTypeDefinition | |
ASTReusedScalar Name (AnyBackend ScalarWrapper) |
Instances
data ScalarWrapper b Source #
Constructors
ScalarWrapper | |
Fields |
Instances
Backend b => Eq (ScalarWrapper b) Source # | |
Defined in Hasura.RQL.Types.CustomTypes Methods (==) :: ScalarWrapper b -> ScalarWrapper b -> Bool # (/=) :: ScalarWrapper b -> ScalarWrapper b -> Bool # | |
Backend b => Ord (ScalarWrapper b) Source # | |
Defined in Hasura.RQL.Types.CustomTypes Methods 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 #
Constructors
AOTObject AnnotatedObjectType | |
AOTScalar AnnotatedScalarType |
Instances
data AnnotatedObjectType Source #
Constructors
AnnotatedObjectType | |
Instances
data AnnotatedObjectFieldType Source #
Instances
data AnnotatedTypeRelationship Source #
Constructors
AnnotatedTypeRelationship | |
Fields
|