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

Hasura.RQL.Types.Webhook.Transform.Body

Synopsis

Documentation

data Body Source #

HTTP message body being transformed.

Instances

Instances details
Show Body Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

Methods

showsPrec :: Int -> Body -> ShowS #

show :: Body -> String #

showList :: [Body] -> ShowS #

Eq Body Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

Methods

(==) :: Body -> Body -> Bool #

(/=) :: Body -> Body -> Bool #

Transform Body Source # 
Instance details

Defined in Hasura.RQL.DDL.Webhook.Transform.Body

FromJSON (TransformFn Body) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

ToJSON (TransformFn Body) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

Generic (TransformFn Body) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

Associated Types

type Rep (TransformFn Body) :: Type -> Type #

Show (TransformFn Body) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

NFData (TransformFn Body) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

Methods

rnf :: TransformFn Body -> () #

Eq (TransformFn Body) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

newtype TransformCtx Body Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

newtype TransformFn Body Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

type Rep (TransformFn Body) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

type Rep (TransformFn Body) = D1 ('MetaData "TransformFn" "Hasura.RQL.Types.Webhook.Transform.Body" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "BodyTransformFn_" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BodyTransformFn)))

data BodyTransformFn Source #

The transformations which can be applied to an HTTP message body.

Constructors

Remove

Remove the HTTP message body.

ModifyAsJSON Template

Modify the JSON message body by applying a Template transformation.

ModifyAsFormURLEncoded (HashMap Text UnescapedTemplate)

Modify the JSON message body by applying UnescapedTemplate transformations to each field with a matching Text key.

Instances

Instances details
FromJSON BodyTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

ToJSON BodyTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

HasCodec BodyTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

Generic BodyTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

Associated Types

type Rep BodyTransformFn :: Type -> Type #

Show BodyTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

NFData BodyTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

Methods

rnf :: BodyTransformFn -> () #

Eq BodyTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

type Rep BodyTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Body

type Rep BodyTransformFn = D1 ('MetaData "BodyTransformFn" "Hasura.RQL.Types.Webhook.Transform.Body" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Remove" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ModifyAsJSON" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Template)) :+: C1 ('MetaCons "ModifyAsFormURLEncoded" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text UnescapedTemplate)))))