Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Metadata API Actions relating to Source Kinds
Synopsis
- data ListSourceKinds = ListSourceKinds
- data SourceKindInfo = SourceKindInfo {}
- data SourceType
- newtype SourceKinds = SourceKinds {}
- agentSourceKinds :: MetadataM m => m SourceKinds
- runListSourceKinds :: forall m. (MetadataM m, MonadError QErr m, CacheRM m) => ListSourceKinds -> m EncJSON
- newtype GetSourceKindCapabilities = GetSourceKindCapabilities {}
- runGetSourceKindCapabilities :: (MonadError QErr m, CacheRM m) => GetSourceKindCapabilities -> m EncJSON
Documentation
data ListSourceKinds Source #
Instances
FromJSON ListSourceKinds Source # | |
Defined in Hasura.RQL.DDL.SourceKinds parseJSON :: Value -> Parser ListSourceKinds Source # parseJSONList :: Value -> Parser [ListSourceKinds] Source # | |
ToJSON ListSourceKinds Source # | |
Defined in Hasura.RQL.DDL.SourceKinds toJSON :: ListSourceKinds -> Value Source # toEncoding :: ListSourceKinds -> Encoding Source # toJSONList :: [ListSourceKinds] -> Value Source # toEncodingList :: [ListSourceKinds] -> Encoding Source # |
data SourceKindInfo Source #
SourceKindInfo | |
|
Instances
FromJSON SourceKindInfo Source # | |
Defined in Hasura.RQL.DDL.SourceKinds parseJSON :: Value -> Parser SourceKindInfo Source # parseJSONList :: Value -> Parser [SourceKindInfo] Source # | |
ToJSON SourceKindInfo Source # | |
Defined in Hasura.RQL.DDL.SourceKinds toJSON :: SourceKindInfo -> Value Source # toEncoding :: SourceKindInfo -> Encoding Source # toJSONList :: [SourceKindInfo] -> Value Source # toEncodingList :: [SourceKindInfo] -> Encoding Source # |
data SourceType Source #
Instances
FromJSON SourceType Source # | |
Defined in Hasura.RQL.DDL.SourceKinds parseJSON :: Value -> Parser SourceType Source # parseJSONList :: Value -> Parser [SourceType] Source # | |
ToJSON SourceType Source # | |
Defined in Hasura.RQL.DDL.SourceKinds toJSON :: SourceType -> Value Source # toEncoding :: SourceType -> Encoding Source # toJSONList :: [SourceType] -> Value Source # toEncodingList :: [SourceType] -> Encoding Source # |
newtype SourceKinds Source #
Instances
ToJSON SourceKinds Source # | |
Defined in Hasura.RQL.DDL.SourceKinds toJSON :: SourceKinds -> Value Source # toEncoding :: SourceKinds -> Encoding Source # toJSONList :: [SourceKinds] -> Value Source # toEncodingList :: [SourceKinds] -> Encoding Source # | |
Monoid SourceKinds Source # | |
Defined in Hasura.RQL.DDL.SourceKinds mempty :: SourceKinds # mappend :: SourceKinds -> SourceKinds -> SourceKinds # mconcat :: [SourceKinds] -> SourceKinds # | |
Semigroup SourceKinds Source # | |
Defined in Hasura.RQL.DDL.SourceKinds (<>) :: SourceKinds -> SourceKinds -> SourceKinds # sconcat :: NonEmpty SourceKinds -> SourceKinds # stimes :: Integral b => b -> SourceKinds -> SourceKinds # |
agentSourceKinds :: MetadataM m => m SourceKinds Source #
runListSourceKinds :: forall m. (MetadataM m, MonadError QErr m, CacheRM m) => ListSourceKinds -> m EncJSON Source #
newtype GetSourceKindCapabilities Source #
Instances
runGetSourceKindCapabilities :: (MonadError QErr m, CacheRM m) => GetSourceKindCapabilities -> m EncJSON Source #
List Backend Capabilities. Currently this only supports Data Connector Backends.