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

Hasura.RQL.DDL.SourceKinds

Documentation

data ListSourceKinds Source #

Constructors

ListSourceKinds 

Instances

Instances details
FromJSON ListSourceKinds Source # 
Instance details

Defined in Hasura.RQL.DDL.SourceKinds

Methods

parseJSON :: Value -> Parser ListSourceKinds

parseJSONList :: Value -> Parser [ListSourceKinds]

ToJSON ListSourceKinds Source # 
Instance details

Defined in Hasura.RQL.DDL.SourceKinds

Methods

toJSON :: ListSourceKinds -> Value

toEncoding :: ListSourceKinds -> Encoding

toJSONList :: [ListSourceKinds] -> Value

toEncodingList :: [ListSourceKinds] -> Encoding

data SourceKindInfo Source #

Constructors

SourceKindInfo 

Instances

Instances details
FromJSON SourceKindInfo Source # 
Instance details

Defined in Hasura.RQL.DDL.SourceKinds

Methods

parseJSON :: Value -> Parser SourceKindInfo

parseJSONList :: Value -> Parser [SourceKindInfo]

ToJSON SourceKindInfo Source # 
Instance details

Defined in Hasura.RQL.DDL.SourceKinds

Methods

toJSON :: SourceKindInfo -> Value

toEncoding :: SourceKindInfo -> Encoding

toJSONList :: [SourceKindInfo] -> Value

toEncodingList :: [SourceKindInfo] -> Encoding

data SourceType Source #

Constructors

Builtin 
Agent 

Instances

Instances details
FromJSON SourceType Source # 
Instance details

Defined in Hasura.RQL.DDL.SourceKinds

Methods

parseJSON :: Value -> Parser SourceType

parseJSONList :: Value -> Parser [SourceType]

ToJSON SourceType Source # 
Instance details

Defined in Hasura.RQL.DDL.SourceKinds

Methods

toJSON :: SourceType -> Value

toEncoding :: SourceType -> Encoding

toJSONList :: [SourceType] -> Value

toEncodingList :: [SourceType] -> Encoding