Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ActionExecution = ActionExecution {
- unActionExecution :: forall m. (MonadIO m, MonadBaseControl IO m, MonadError QErr m, MonadTrace m) => m (EncJSON, ResponseHeaders)
- data AsyncActionQuerySourceExecution v = AsyncActionQuerySourceExecution {}
- data AsyncActionQueryExecution v
- data AsyncActionQueryExecutionPlan = AsyncActionQueryExecutionPlan {}
- data ActionExecutionPlan
- newtype ActionContext = ActionContext {}
- data ActionWebhookPayload = ActionWebhookPayload {
- _awpAction :: !ActionContext
- _awpSessionVariables :: !SessionVariables
- _awpInput :: !Value
- _awpRequestQuery :: !(Maybe GQLQueryText)
- data ActionWebhookErrorResponse = ActionWebhookErrorResponse {
- _awerMessage :: !Text
- _awerCode :: !(Maybe Text)
- _awerExtensions :: !(Maybe Value)
- type ActionWebhookResponse = Value
- data ActionRequestInfo = ActionRequestInfo {
- _areqiUrl :: !Text
- _areqiBody :: !Value
- _areqiHeaders :: ![HeaderConf]
- _areqiTransformedRequest :: !(Maybe Request)
- data ActionResponseInfo = ActionResponseInfo {
- _aresiStatus :: !Int
- _aresiBody :: !Value
- _aresiHeaders :: ![HeaderConf]
- data ActionInternalError = ActionInternalError {
- _aieError :: !Value
- _aieRequest :: !ActionRequestInfo
- _aieResponse :: !(Maybe ActionResponseInfo)
- data ActionHandlerLog = ActionHandlerLog {}
Documentation
newtype ActionExecution Source #
ActionExecution | |
|
data AsyncActionQueryExecution v Source #
AAQENoRelationships !(ActionLogResponse -> Either QErr EncJSON) | Async actions associated with no relationships. |
AAQEOnSourceDB !(SourceConfig ('Postgres 'Vanilla)) !(AsyncActionQuerySourceExecution v) | Async actions with relationships defined to Postgres (as of now, we may have support for other backends as well in further iterations) tables. |
data AsyncActionQueryExecutionPlan Source #
A plan to execute async action query
data ActionExecutionPlan Source #
newtype ActionContext Source #
Instances
Eq ActionContext Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types (==) :: ActionContext -> ActionContext -> Bool # (/=) :: ActionContext -> ActionContext -> Bool # | |
Show ActionContext Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types showsPrec :: Int -> ActionContext -> ShowS # show :: ActionContext -> String # showList :: [ActionContext] -> ShowS # | |
FromJSON ActionContext Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types parseJSON :: Value -> Parser ActionContext parseJSONList :: Value -> Parser [ActionContext] | |
ToJSON ActionContext Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types toJSON :: ActionContext -> Value toEncoding :: ActionContext -> Encoding toJSONList :: [ActionContext] -> Value toEncodingList :: [ActionContext] -> Encoding |
data ActionWebhookPayload Source #
ActionWebhookPayload | |
|
Instances
Eq ActionWebhookPayload Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types (==) :: ActionWebhookPayload -> ActionWebhookPayload -> Bool # (/=) :: ActionWebhookPayload -> ActionWebhookPayload -> Bool # | |
Show ActionWebhookPayload Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types showsPrec :: Int -> ActionWebhookPayload -> ShowS # show :: ActionWebhookPayload -> String # showList :: [ActionWebhookPayload] -> ShowS # | |
FromJSON ActionWebhookPayload Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types parseJSON :: Value -> Parser ActionWebhookPayload parseJSONList :: Value -> Parser [ActionWebhookPayload] | |
ToJSON ActionWebhookPayload Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types toJSON :: ActionWebhookPayload -> Value toEncoding :: ActionWebhookPayload -> Encoding toJSONList :: [ActionWebhookPayload] -> Value toEncodingList :: [ActionWebhookPayload] -> Encoding |
data ActionWebhookErrorResponse Source #
ActionWebhookErrorResponse | |
|
Instances
Eq ActionWebhookErrorResponse Source # | |
Show ActionWebhookErrorResponse Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types showsPrec :: Int -> ActionWebhookErrorResponse -> ShowS # show :: ActionWebhookErrorResponse -> String # showList :: [ActionWebhookErrorResponse] -> ShowS # | |
FromJSON ActionWebhookErrorResponse Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types parseJSON :: Value -> Parser ActionWebhookErrorResponse parseJSONList :: Value -> Parser [ActionWebhookErrorResponse] | |
ToJSON ActionWebhookErrorResponse Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types toJSON :: ActionWebhookErrorResponse -> Value toEncoding :: ActionWebhookErrorResponse -> Encoding toJSONList :: [ActionWebhookErrorResponse] -> Value toEncodingList :: [ActionWebhookErrorResponse] -> Encoding |
type ActionWebhookResponse = Value Source #
data ActionRequestInfo Source #
ActionRequestInfo | |
|
Instances
Show ActionRequestInfo Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types showsPrec :: Int -> ActionRequestInfo -> ShowS # show :: ActionRequestInfo -> String # showList :: [ActionRequestInfo] -> ShowS # | |
ToJSON ActionRequestInfo Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types toJSON :: ActionRequestInfo -> Value toEncoding :: ActionRequestInfo -> Encoding toJSONList :: [ActionRequestInfo] -> Value toEncodingList :: [ActionRequestInfo] -> Encoding |
data ActionResponseInfo Source #
ActionResponseInfo | |
|
Instances
Eq ActionResponseInfo Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types (==) :: ActionResponseInfo -> ActionResponseInfo -> Bool # (/=) :: ActionResponseInfo -> ActionResponseInfo -> Bool # | |
Show ActionResponseInfo Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types showsPrec :: Int -> ActionResponseInfo -> ShowS # show :: ActionResponseInfo -> String # showList :: [ActionResponseInfo] -> ShowS # | |
ToJSON ActionResponseInfo Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types toJSON :: ActionResponseInfo -> Value toEncoding :: ActionResponseInfo -> Encoding toJSONList :: [ActionResponseInfo] -> Value toEncodingList :: [ActionResponseInfo] -> Encoding |
data ActionInternalError Source #
ActionInternalError | |
|
Instances
Show ActionInternalError Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types showsPrec :: Int -> ActionInternalError -> ShowS # show :: ActionInternalError -> String # showList :: [ActionInternalError] -> ShowS # | |
ToJSON ActionInternalError Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types toJSON :: ActionInternalError -> Value toEncoding :: ActionInternalError -> Encoding toJSONList :: [ActionInternalError] -> Value toEncodingList :: [ActionInternalError] -> Encoding |
Action handler logging related
data ActionHandlerLog Source #
ActionHandlerLog | |
|
Instances
Show ActionHandlerLog Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types showsPrec :: Int -> ActionHandlerLog -> ShowS # show :: ActionHandlerLog -> String # showList :: [ActionHandlerLog] -> ShowS # | |
ToJSON ActionHandlerLog Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types toJSON :: ActionHandlerLog -> Value toEncoding :: ActionHandlerLog -> Encoding toJSONList :: [ActionHandlerLog] -> Value toEncodingList :: [ActionHandlerLog] -> Encoding | |
ToEngineLog ActionHandlerLog Hasura Source # | |
Defined in Hasura.GraphQL.Execute.Action.Types toEngineLog :: ActionHandlerLog -> (LogLevel, EngineLogType Hasura, Value) Source # |