graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.RQL.Types.CustomTypes

Synopsis

Documentation

newtype GraphQLType Source #

A wrapper around GType which allows us to define custom JSON instances.

TODO: this name is ambiguous, and conflicts with Hasura.RQL.DDL.RemoteSchema.Permission.GraphQLType; it should perhaps be renamed, made internal to this module, or removed altogether?

Constructors

GraphQLType 

Fields

Instances

Instances details
Eq GraphQLType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show GraphQLType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic GraphQLType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep GraphQLType :: Type -> Type #

NFData GraphQLType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: GraphQLType -> () #

FromJSON GraphQLType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser GraphQLType

parseJSONList :: Value -> Parser [GraphQLType]

ToJSON GraphQLType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toJSON :: GraphQLType -> Value

toEncoding :: GraphQLType -> Encoding

toJSONList :: [GraphQLType] -> Value

toEncodingList :: [GraphQLType] -> Encoding

Cacheable GraphQLType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep GraphQLType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep GraphQLType = D1 ('MetaData "GraphQLType" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "GraphQLType" 'PrefixI 'True) (S1 ('MetaSel ('Just "unGraphQLType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GType)))

data CustomTypes Source #

A set of custom GraphQL types, sorted by "kind".

Instances

Instances details
Eq CustomTypes Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show CustomTypes Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic CustomTypes Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep CustomTypes :: Type -> Type #

NFData CustomTypes Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: CustomTypes -> () #

FromJSON CustomTypes Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser CustomTypes

parseJSONList :: Value -> Parser [CustomTypes]

ToJSON CustomTypes Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toJSON :: CustomTypes -> Value

toEncoding :: CustomTypes -> Encoding

toJSONList :: [CustomTypes] -> Value

toEncodingList :: [CustomTypes] -> Encoding

Cacheable CustomTypes Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep CustomTypes Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

data InputObjectTypeDefinition Source #

Instances

Instances details
Eq InputObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show InputObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic InputObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep InputObjectTypeDefinition :: Type -> Type #

NFData InputObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

FromJSON InputObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser InputObjectTypeDefinition

parseJSONList :: Value -> Parser [InputObjectTypeDefinition]

ToJSON InputObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Cacheable InputObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep InputObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep InputObjectTypeDefinition = D1 ('MetaData "InputObjectTypeDefinition" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "InputObjectTypeDefinition" 'PrefixI 'True) (S1 ('MetaSel ('Just "_iotdName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InputObjectTypeName) :*: (S1 ('MetaSel ('Just "_iotdDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Description)) :*: S1 ('MetaSel ('Just "_iotdFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty InputObjectFieldDefinition)))))

newtype InputObjectTypeName Source #

Constructors

InputObjectTypeName 

Fields

Instances

Instances details
Eq InputObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Ord InputObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show InputObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic InputObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep InputObjectTypeName :: Type -> Type #

NFData InputObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: InputObjectTypeName -> () #

Hashable InputObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

FromJSON InputObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser InputObjectTypeName

parseJSONList :: Value -> Parser [InputObjectTypeName]

ToJSON InputObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

ToTxt InputObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toTxt :: InputObjectTypeName -> Text Source #

Cacheable InputObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep InputObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep InputObjectTypeName = D1 ('MetaData "InputObjectTypeName" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "InputObjectTypeName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unInputObjectTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))

data InputObjectFieldDefinition Source #

Instances

Instances details
Eq InputObjectFieldDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show InputObjectFieldDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic InputObjectFieldDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep InputObjectFieldDefinition :: Type -> Type #

NFData InputObjectFieldDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

FromJSON InputObjectFieldDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

ToJSON InputObjectFieldDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Cacheable InputObjectFieldDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep InputObjectFieldDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep InputObjectFieldDefinition = D1 ('MetaData "InputObjectFieldDefinition" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "InputObjectFieldDefinition" 'PrefixI 'True) (S1 ('MetaSel ('Just "_iofdName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InputObjectFieldName) :*: (S1 ('MetaSel ('Just "_iofdDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Description)) :*: S1 ('MetaSel ('Just "_iofdType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GraphQLType))))

newtype InputObjectFieldName Source #

Constructors

InputObjectFieldName 

Fields

Instances

Instances details
Eq InputObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Ord InputObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show InputObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic InputObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep InputObjectFieldName :: Type -> Type #

NFData InputObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: InputObjectFieldName -> () #

Hashable InputObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

FromJSON InputObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser InputObjectFieldName

parseJSONList :: Value -> Parser [InputObjectFieldName]

ToJSON InputObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

ToTxt InputObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Cacheable InputObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep InputObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep InputObjectFieldName = D1 ('MetaData "InputObjectFieldName" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "InputObjectFieldName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unInputObjectFieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))

data ObjectTypeDefinition Source #

Instances

Instances details
Eq ObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show ObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic ObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep ObjectTypeDefinition :: Type -> Type #

NFData ObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: ObjectTypeDefinition -> () #

FromJSON ObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser ObjectTypeDefinition

parseJSONList :: Value -> Parser [ObjectTypeDefinition]

ToJSON ObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Cacheable ObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep ObjectTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep ObjectTypeDefinition = D1 ('MetaData "ObjectTypeDefinition" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ObjectTypeDefinition" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_otdName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectTypeName) :*: S1 ('MetaSel ('Just "_otdDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Description))) :*: (S1 ('MetaSel ('Just "_otdFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty (ObjectFieldDefinition GraphQLType))) :*: S1 ('MetaSel ('Just "_otdRelationships") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TypeRelationshipDefinition]))))

newtype ObjectTypeName Source #

Constructors

ObjectTypeName 

Fields

Instances

Instances details
Eq ObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Ord ObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show ObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic ObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep ObjectTypeName :: Type -> Type #

NFData ObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: ObjectTypeName -> () #

Hashable ObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

FromJSON ObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser ObjectTypeName

parseJSONList :: Value -> Parser [ObjectTypeName]

ToJSON ObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toJSON :: ObjectTypeName -> Value

toEncoding :: ObjectTypeName -> Encoding

toJSONList :: [ObjectTypeName] -> Value

toEncodingList :: [ObjectTypeName] -> Encoding

ToTxt ObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toTxt :: ObjectTypeName -> Text Source #

Cacheable ObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep ObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep ObjectTypeName = D1 ('MetaData "ObjectTypeName" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "ObjectTypeName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unObjectTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))

data ObjectFieldDefinition field Source #

Constructors

ObjectFieldDefinition 

Fields

Instances

Instances details
Functor ObjectFieldDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Foldable ObjectFieldDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

fold :: Monoid m => ObjectFieldDefinition m -> m #

foldMap :: Monoid m => (a -> m) -> ObjectFieldDefinition a -> m #

foldMap' :: Monoid m => (a -> m) -> ObjectFieldDefinition a -> m #

foldr :: (a -> b -> b) -> b -> ObjectFieldDefinition a -> b #

foldr' :: (a -> b -> b) -> b -> ObjectFieldDefinition a -> b #

foldl :: (b -> a -> b) -> b -> ObjectFieldDefinition a -> b #

foldl' :: (b -> a -> b) -> b -> ObjectFieldDefinition a -> b #

foldr1 :: (a -> a -> a) -> ObjectFieldDefinition a -> a #

foldl1 :: (a -> a -> a) -> ObjectFieldDefinition a -> a #

toList :: ObjectFieldDefinition a -> [a] #

null :: ObjectFieldDefinition a -> Bool #

length :: ObjectFieldDefinition a -> Int #

elem :: Eq a => a -> ObjectFieldDefinition a -> Bool #

maximum :: Ord a => ObjectFieldDefinition a -> a #

minimum :: Ord a => ObjectFieldDefinition a -> a #

sum :: Num a => ObjectFieldDefinition a -> a #

product :: Num a => ObjectFieldDefinition a -> a #

Traversable ObjectFieldDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Eq field => Eq (ObjectFieldDefinition field) Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show field => Show (ObjectFieldDefinition field) Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic (ObjectFieldDefinition field) Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep (ObjectFieldDefinition field) :: Type -> Type #

NFData field => NFData (ObjectFieldDefinition field) Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: ObjectFieldDefinition field -> () #

FromJSON field => FromJSON (ObjectFieldDefinition field) Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser (ObjectFieldDefinition field)

parseJSONList :: Value -> Parser [ObjectFieldDefinition field]

ToJSON field => ToJSON (ObjectFieldDefinition field) Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toJSON :: ObjectFieldDefinition field -> Value

toEncoding :: ObjectFieldDefinition field -> Encoding

toJSONList :: [ObjectFieldDefinition field] -> Value

toEncodingList :: [ObjectFieldDefinition field] -> Encoding

Cacheable field => Cacheable (ObjectFieldDefinition field) Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep (ObjectFieldDefinition field) Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep (ObjectFieldDefinition field) = D1 ('MetaData "ObjectFieldDefinition" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ObjectFieldDefinition" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_ofdName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectFieldName) :*: S1 ('MetaSel ('Just "_ofdArguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))) :*: (S1 ('MetaSel ('Just "_ofdDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Description)) :*: S1 ('MetaSel ('Just "_ofdType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 field))))

newtype ObjectFieldName Source #

Constructors

ObjectFieldName 

Fields

Instances

Instances details
Eq ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Ord ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep ObjectFieldName :: Type -> Type #

NFData ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: ObjectFieldName -> () #

Hashable ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

FromJSONKey ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

fromJSONKey :: FromJSONKeyFunction ObjectFieldName

fromJSONKeyList :: FromJSONKeyFunction [ObjectFieldName]

FromJSON ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser ObjectFieldName

parseJSONList :: Value -> Parser [ObjectFieldName]

ToJSONKey ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toJSONKey :: ToJSONKeyFunction ObjectFieldName

toJSONKeyList :: ToJSONKeyFunction [ObjectFieldName]

ToJSON ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toJSON :: ObjectFieldName -> Value

toEncoding :: ObjectFieldName -> Encoding

toJSONList :: [ObjectFieldName] -> Value

toEncodingList :: [ObjectFieldName] -> Encoding

ToTxt ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toTxt :: ObjectFieldName -> Text Source #

Cacheable ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep ObjectFieldName = D1 ('MetaData "ObjectFieldName" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "ObjectFieldName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unObjectFieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))

data ScalarTypeDefinition Source #

Constructors

ScalarTypeDefinition 

Fields

Instances

Instances details
Eq ScalarTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show ScalarTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic ScalarTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep ScalarTypeDefinition :: Type -> Type #

NFData ScalarTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: ScalarTypeDefinition -> () #

FromJSON ScalarTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser ScalarTypeDefinition

parseJSONList :: Value -> Parser [ScalarTypeDefinition]

ToJSON ScalarTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Cacheable ScalarTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep ScalarTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep ScalarTypeDefinition = D1 ('MetaData "ScalarTypeDefinition" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ScalarTypeDefinition" 'PrefixI 'True) (S1 ('MetaSel ('Just "_stdName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name) :*: S1 ('MetaSel ('Just "_stdDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Description))))

data EnumTypeDefinition Source #

Instances

Instances details
Eq EnumTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show EnumTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic EnumTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep EnumTypeDefinition :: Type -> Type #

NFData EnumTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: EnumTypeDefinition -> () #

FromJSON EnumTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser EnumTypeDefinition

parseJSONList :: Value -> Parser [EnumTypeDefinition]

ToJSON EnumTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Cacheable EnumTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep EnumTypeDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep EnumTypeDefinition = D1 ('MetaData "EnumTypeDefinition" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "EnumTypeDefinition" 'PrefixI 'True) (S1 ('MetaSel ('Just "_etdName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EnumTypeName) :*: (S1 ('MetaSel ('Just "_etdDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Description)) :*: S1 ('MetaSel ('Just "_etdValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty EnumValueDefinition)))))

newtype EnumTypeName Source #

Constructors

EnumTypeName 

Fields

Instances

Instances details
Eq EnumTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Ord EnumTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show EnumTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic EnumTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep EnumTypeName :: Type -> Type #

NFData EnumTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: EnumTypeName -> () #

Hashable EnumTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

FromJSON EnumTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser EnumTypeName

parseJSONList :: Value -> Parser [EnumTypeName]

ToJSON EnumTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toJSON :: EnumTypeName -> Value

toEncoding :: EnumTypeName -> Encoding

toJSONList :: [EnumTypeName] -> Value

toEncodingList :: [EnumTypeName] -> Encoding

ToTxt EnumTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toTxt :: EnumTypeName -> Text Source #

Cacheable EnumTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep EnumTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep EnumTypeName = D1 ('MetaData "EnumTypeName" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "EnumTypeName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEnumTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))

data EnumValueDefinition Source #

Constructors

EnumValueDefinition 

Fields

Instances

Instances details
Eq EnumValueDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show EnumValueDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic EnumValueDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep EnumValueDefinition :: Type -> Type #

NFData EnumValueDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: EnumValueDefinition -> () #

FromJSON EnumValueDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser EnumValueDefinition

parseJSONList :: Value -> Parser [EnumValueDefinition]

ToJSON EnumValueDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Cacheable EnumValueDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep EnumValueDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep EnumValueDefinition = D1 ('MetaData "EnumValueDefinition" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "EnumValueDefinition" 'PrefixI 'True) (S1 ('MetaSel ('Just "_evdValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EnumValue) :*: (S1 ('MetaSel ('Just "_evdDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Description)) :*: S1 ('MetaSel ('Just "_evdIsDeprecated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

data TypeRelationshipDefinition Source #

Instances

Instances details
Eq TypeRelationshipDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show TypeRelationshipDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic TypeRelationshipDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep TypeRelationshipDefinition :: Type -> Type #

NFData TypeRelationshipDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

FromJSON TypeRelationshipDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

ToJSON TypeRelationshipDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Cacheable TypeRelationshipDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep TypeRelationshipDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep TypeRelationshipDefinition = D1 ('MetaData "TypeRelationshipDefinition" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "TypeRelationshipDefinition" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_trdName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RelationshipName) :*: S1 ('MetaSel ('Just "_trdType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RelType)) :*: (S1 ('MetaSel ('Just "_trdSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SourceName) :*: (S1 ('MetaSel ('Just "_trdRemoteTable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 QualifiedTable) :*: S1 ('MetaSel ('Just "_trdFieldMapping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap ObjectFieldName PGCol))))))

newtype RelationshipName Source #

TODO: deduplicate this in favour of RelName

Constructors

RelationshipName 

Fields

Instances

Instances details
Eq RelationshipName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Ord RelationshipName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Show RelationshipName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic RelationshipName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep RelationshipName :: Type -> Type #

NFData RelationshipName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

rnf :: RelationshipName -> () #

Hashable RelationshipName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

FromJSON RelationshipName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

parseJSON :: Value -> Parser RelationshipName

parseJSONList :: Value -> Parser [RelationshipName]

ToJSON RelationshipName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

ToTxt RelationshipName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toTxt :: RelationshipName -> Text Source #

Cacheable RelationshipName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep RelationshipName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep RelationshipName = D1 ('MetaData "RelationshipName" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "RelationshipName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unRelationshipName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))

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 

Fields

data AnnotatedInputType Source #

Instances

Instances details
Eq AnnotatedInputType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic AnnotatedInputType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep AnnotatedInputType :: Type -> Type #

ToJSON AnnotatedInputType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep AnnotatedInputType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

data AnnotatedScalarType Source #

Instances

Instances details
Eq AnnotatedScalarType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Generic AnnotatedScalarType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep AnnotatedScalarType :: Type -> Type #

ToJSON AnnotatedScalarType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep AnnotatedScalarType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

newtype ScalarWrapper b Source #

Constructors

ScalarWrapper 

Instances

Instances details
Backend b => Eq (ScalarWrapper b) Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

data AnnotatedObjectType Source #

Instances

Instances details
Generic AnnotatedObjectType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep AnnotatedObjectType :: Type -> Type #

ToJSON AnnotatedObjectType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep AnnotatedObjectType Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep AnnotatedObjectType = D1 ('MetaData "AnnotatedObjectType" "Hasura.RQL.Types.CustomTypes" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "AnnotatedObjectType" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_aotName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ObjectTypeName) :*: S1 ('MetaSel ('Just "_aotDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Description))) :*: (S1 ('MetaSel ('Just "_aotFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty (ObjectFieldDefinition (GType, AnnotatedObjectFieldType)))) :*: S1 ('MetaSel ('Just "_aotRelationships") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AnnotatedTypeRelationship]))))

data AnnotatedObjectFieldType Source #

data AnnotatedTypeRelationship Source #

Instances

Instances details
Generic AnnotatedTypeRelationship Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Associated Types

type Rep AnnotatedTypeRelationship :: Type -> Type #

ToJSON AnnotatedTypeRelationship Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

type Rep AnnotatedTypeRelationship Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes