graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.GraphQL.Execute.Action.Types

Synopsis

Documentation

data AsyncActionQueryExecution v Source #

Constructors

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.

newtype ActionContext Source #

Constructors

ActionContext 

Fields

Instances

Instances details
FromJSON ActionContext Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

ToJSON ActionContext Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Generic ActionContext Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Associated Types

type Rep ActionContext :: Type -> Type #

Show ActionContext Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Eq ActionContext Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionContext Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionContext = D1 ('MetaData "ActionContext" "Hasura.GraphQL.Execute.Action.Types" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "ActionContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "_acName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ActionName)))

data ActionWebhookPayload Source #

Instances

Instances details
FromJSON ActionWebhookPayload Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

ToJSON ActionWebhookPayload Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Generic ActionWebhookPayload Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Associated Types

type Rep ActionWebhookPayload :: Type -> Type #

Show ActionWebhookPayload Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Eq ActionWebhookPayload Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionWebhookPayload Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionWebhookPayload = D1 ('MetaData "ActionWebhookPayload" "Hasura.GraphQL.Execute.Action.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionWebhookPayload" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_awpAction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ActionContext) :*: S1 ('MetaSel ('Just "_awpSessionVariables") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SessionVariables)) :*: (S1 ('MetaSel ('Just "_awpInput") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Value) :*: S1 ('MetaSel ('Just "_awpRequestQuery") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe GQLQueryText)))))

data ActionWebhookErrorResponse Source #

Instances

Instances details
FromJSON ActionWebhookErrorResponse Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

ToJSON ActionWebhookErrorResponse Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Generic ActionWebhookErrorResponse Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Associated Types

type Rep ActionWebhookErrorResponse :: Type -> Type #

Show ActionWebhookErrorResponse Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Eq ActionWebhookErrorResponse Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionWebhookErrorResponse Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionWebhookErrorResponse = D1 ('MetaData "ActionWebhookErrorResponse" "Hasura.GraphQL.Execute.Action.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionWebhookErrorResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "_awerMessage") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_awerCode") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_awerExtensions") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Value)))))

data ActionRequestInfo Source #

Instances

Instances details
ToJSON ActionRequestInfo Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Generic ActionRequestInfo Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Associated Types

type Rep ActionRequestInfo :: Type -> Type #

Show ActionRequestInfo Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionRequestInfo Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionRequestInfo = D1 ('MetaData "ActionRequestInfo" "Hasura.GraphQL.Execute.Action.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionRequestInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_areqiUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_areqiBody") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Value)) :*: (S1 ('MetaSel ('Just "_areqiHeaders") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [HeaderConf]) :*: S1 ('MetaSel ('Just "_areqiTransformedRequest") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Request)))))

data ActionResponseInfo Source #

Instances

Instances details
FromJSON ActionResponseInfo Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

ToJSON ActionResponseInfo Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Generic ActionResponseInfo Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Associated Types

type Rep ActionResponseInfo :: Type -> Type #

Show ActionResponseInfo Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Eq ActionResponseInfo Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionResponseInfo Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionResponseInfo = D1 ('MetaData "ActionResponseInfo" "Hasura.GraphQL.Execute.Action.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionResponseInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "_aresiStatus") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "_aresiBody") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Value) :*: S1 ('MetaSel ('Just "_aresiHeaders") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [HeaderConf]))))

data ActionInternalError Source #

Instances

Instances details
ToJSON ActionInternalError Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Generic ActionInternalError Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Associated Types

type Rep ActionInternalError :: Type -> Type #

Show ActionInternalError Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionInternalError Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionInternalError = D1 ('MetaData "ActionInternalError" "Hasura.GraphQL.Execute.Action.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionInternalError" 'PrefixI 'True) (S1 ('MetaSel ('Just "_aieError") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Value) :*: (S1 ('MetaSel ('Just "_aieRequest") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ActionRequestInfo) :*: S1 ('MetaSel ('Just "_aieResponse") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe ActionResponseInfo)))))

Action handler logging related

data ActionHandlerLog Source #

Instances

Instances details
ToJSON ActionHandlerLog Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Generic ActionHandlerLog Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

Associated Types

type Rep ActionHandlerLog :: Type -> Type #

Show ActionHandlerLog Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

ToEngineLog ActionHandlerLog Hasura Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionHandlerLog Source # 
Instance details

Defined in Hasura.GraphQL.Execute.Action.Types

type Rep ActionHandlerLog = D1 ('MetaData "ActionHandlerLog" "Hasura.GraphQL.Execute.Action.Types" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionHandlerLog" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_ahlRequest") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Request) :*: (S1 ('MetaSel ('Just "_ahlRequestTrans") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Request)) :*: S1 ('MetaSel ('Just "_ahlRequestSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64))) :*: (S1 ('MetaSel ('Just "_ahlTransformedRequestSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Int64)) :*: (S1 ('MetaSel ('Just "_ahlResponseSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64) :*: S1 ('MetaSel ('Just "_ahlActionName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ActionName)))))