Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Backend b => FromJSONWithContext (BackendSourceKind b) (AddSource b) Source # | |
Defined in Hasura.RQL.DDL.Schema.Source parseJSONWithContext :: BackendSourceKind b -> Value -> Parser (AddSource b) Source # |
runAddSource :: forall m b. (MonadError QErr m, CacheRWM m, MetadataM m, BackendMetadata b) => AddSource b -> m EncJSON Source #
data RenameSource Source #
Instances
FromJSON RenameSource Source # | |
Defined in Hasura.RQL.DDL.Schema.Source parseJSON :: Value -> Parser RenameSource parseJSONList :: Value -> Parser [RenameSource] |
runRenameSource :: forall m. (MonadError QErr m, CacheRWM m, MetadataM m) => RenameSource -> m EncJSON Source #
data DropSource Source #
Instances
Eq DropSource Source # | |
Defined in Hasura.RQL.DDL.Schema.Source (==) :: DropSource -> DropSource -> Bool # (/=) :: DropSource -> DropSource -> Bool # | |
Show DropSource Source # | |
Defined in Hasura.RQL.DDL.Schema.Source showsPrec :: Int -> DropSource -> ShowS # show :: DropSource -> String # showList :: [DropSource] -> ShowS # | |
FromJSON DropSource Source # | |
Defined in Hasura.RQL.DDL.Schema.Source parseJSON :: Value -> Parser DropSource parseJSONList :: Value -> Parser [DropSource] |
runDropSource :: forall m r. (MonadError QErr m, CacheRWM m, MonadIO m, MonadBaseControl IO m, MetadataM m, MonadReader r m, Has (Logger Hasura) r) => DropSource -> m EncJSON Source #
dropSource :: forall m r b. (MonadError QErr m, CacheRWM m, MonadIO m, MonadBaseControl IO m, MetadataM m, MonadReader r m, Has (Logger Hasura) r, BackendMetadata b) => SchemaCache -> DropSource -> SourceInfo b -> m () Source #
runPostDropSourceHook :: forall m r b. (MonadError QErr m, MonadIO m, MonadBaseControl IO m, MonadReader r m, Has (Logger Hasura) r, BackendMetadata b) => SourceName -> SourceInfo b -> m () Source #
data UpdateSource b Source #
Instances
Backend b => FromJSONWithContext (BackendSourceKind b) (UpdateSource b) Source # | |
Defined in Hasura.RQL.DDL.Schema.Source parseJSONWithContext :: BackendSourceKind b -> Value -> Parser (UpdateSource b) Source # |
runUpdateSource :: forall m b. (MonadError QErr m, CacheRWM m, MetadataM m, BackendMetadata b) => UpdateSource b -> m EncJSON Source #