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

Hasura.RQL.Types.Webhook.Transform.Class

Synopsis

Documentation

newtype Template Source #

Textual transformation template.

Constructors

Template 

Fields

Instances

Instances details
FromJSON Template Source # 
Instance details

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

FromJSONKey Template Source # 
Instance details

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

ToJSON Template Source # 
Instance details

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

ToJSONKey Template Source # 
Instance details

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

HasCodec Template Source # 
Instance details

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

Generic Template Source # 
Instance details

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

Associated Types

type Rep Template :: Type -> Type #

Methods

from :: Template -> Rep Template x #

to :: Rep Template x -> Template #

Show Template Source # 
Instance details

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

NFData Template Source # 
Instance details

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

Methods

rnf :: Template -> () #

Eq Template Source # 
Instance details

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

Ord Template Source # 
Instance details

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

Hashable Template Source # 
Instance details

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

type Rep Template Source # 
Instance details

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

type Rep Template = D1 ('MetaData "Template" "Hasura.RQL.Types.Webhook.Transform.Class" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "Template" 'PrefixI 'True) (S1 ('MetaSel ('Just "unTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype UnescapedTemplate Source #

Validated textual transformation template /for string interpolation only/.

This is necessary due to Kriti not distinguishing between string literals and string templates.

Instances

Instances details
FromJSON UnescapedTemplate Source # 
Instance details

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

FromJSONKey UnescapedTemplate Source # 
Instance details

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

ToJSON UnescapedTemplate Source # 
Instance details

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

ToJSONKey UnescapedTemplate Source # 
Instance details

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

HasCodec UnescapedTemplate Source # 
Instance details

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

Generic UnescapedTemplate Source # 
Instance details

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

Associated Types

type Rep UnescapedTemplate :: Type -> Type #

Show UnescapedTemplate Source # 
Instance details

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

NFData UnescapedTemplate Source # 
Instance details

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

Methods

rnf :: UnescapedTemplate -> () #

Eq UnescapedTemplate Source # 
Instance details

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

Ord UnescapedTemplate Source # 
Instance details

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

Hashable UnescapedTemplate Source # 
Instance details

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

type Rep UnescapedTemplate Source # 
Instance details

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

type Rep UnescapedTemplate = D1 ('MetaData "UnescapedTemplate" "Hasura.RQL.Types.Webhook.Transform.Class" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "UnescapedTemplate" 'PrefixI 'True) (S1 ('MetaSel ('Just "getUnescapedTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data TemplatingEngine Source #

Available templating engines.

Constructors

Kriti 

Instances

Instances details
FromJSON TemplatingEngine Source # 
Instance details

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

ToJSON TemplatingEngine Source # 
Instance details

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

HasCodec TemplatingEngine Source # 
Instance details

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

Bounded TemplatingEngine Source # 
Instance details

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

Enum TemplatingEngine Source # 
Instance details

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

Generic TemplatingEngine Source # 
Instance details

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

Associated Types

type Rep TemplatingEngine :: Type -> Type #

Show TemplatingEngine Source # 
Instance details

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

NFData TemplatingEngine Source # 
Instance details

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

Methods

rnf :: TemplatingEngine -> () #

Eq TemplatingEngine Source # 
Instance details

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

type Rep TemplatingEngine Source # 
Instance details

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

type Rep TemplatingEngine = D1 ('MetaData "TemplatingEngine" "Hasura.RQL.Types.Webhook.Transform.Class" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Kriti" 'PrefixI 'False) (U1 :: Type -> Type))

data family TransformFn a :: Type Source #

The associated type 'TransformFn a' is the defunctionalized version of some transformation that should be applied to a given request field.

In most cases it is some variation on a piece of template text describing the transformation.

Instances

Instances details
FromJSON RequestTransformFns Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform

ToJSON RequestTransformFns Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform

FromJSON (TransformFn Body) Source # 
Instance details

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

FromJSON (TransformFn Headers) Source # 
Instance details

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

FromJSON (TransformFn Method) Source # 
Instance details

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

FromJSON (TransformFn QueryParams) Source # 
Instance details

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

FromJSON (TransformFn Url) Source # 
Instance details

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

ToJSON (TransformFn Body) Source # 
Instance details

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

ToJSON (TransformFn Headers) Source # 
Instance details

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

ToJSON (TransformFn Method) Source # 
Instance details

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

ToJSON (TransformFn QueryParams) Source # 
Instance details

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

ToJSON (TransformFn Url) Source # 
Instance details

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

Generic (TransformFn Body) Source # 
Instance details

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

Associated Types

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

Generic (TransformFn Headers) Source # 
Instance details

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

Associated Types

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

Generic (TransformFn Method) Source # 
Instance details

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

Associated Types

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

Generic (TransformFn QueryParams) Source # 
Instance details

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

Associated Types

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

Generic (TransformFn Url) Source # 
Instance details

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

Associated Types

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

Show (TransformFn Body) Source # 
Instance details

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

Show (TransformFn Headers) Source # 
Instance details

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

Show (TransformFn Method) Source # 
Instance details

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

Show (TransformFn QueryParams) Source # 
Instance details

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

Show (TransformFn Url) Source # 
Instance details

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

NFData (TransformFn Body) Source # 
Instance details

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

Methods

rnf :: TransformFn Body -> () #

NFData (TransformFn Headers) Source # 
Instance details

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

Methods

rnf :: TransformFn Headers -> () #

NFData (TransformFn Method) Source # 
Instance details

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

Methods

rnf :: TransformFn Method -> () #

NFData (TransformFn QueryParams) Source # 
Instance details

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

Methods

rnf :: TransformFn QueryParams -> () #

NFData (TransformFn Url) Source # 
Instance details

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

Methods

rnf :: TransformFn Url -> () #

Eq (TransformFn Body) Source # 
Instance details

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

Eq (TransformFn Headers) Source # 
Instance details

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

Eq (TransformFn Method) Source # 
Instance details

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

Eq (TransformFn QueryParams) Source # 
Instance details

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

Eq (TransformFn Url) Source # 
Instance details

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

newtype TransformFn Body Source # 
Instance details

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

newtype TransformFn Headers Source # 
Instance details

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

newtype TransformFn Method Source # 
Instance details

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

newtype TransformFn QueryParams Source # 
Instance details

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

newtype TransformFn Url Source # 
Instance details

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

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)))
type Rep (TransformFn Headers) Source # 
Instance details

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

type Rep (TransformFn Headers) = D1 ('MetaData "TransformFn" "Hasura.RQL.Types.Webhook.Transform.Headers" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "HeadersTransformFn_" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HeadersTransformFn)))
type Rep (TransformFn Method) Source # 
Instance details

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

type Rep (TransformFn Method) = D1 ('MetaData "TransformFn" "Hasura.RQL.Types.Webhook.Transform.Method" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "MethodTransformFn_" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MethodTransformFn)))
type Rep (TransformFn QueryParams) Source # 
Instance details

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

type Rep (TransformFn QueryParams) = D1 ('MetaData "TransformFn" "Hasura.RQL.Types.Webhook.Transform.QueryParams" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "QueryParamsTransformFn_" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QueryParamsTransformFn)))
type Rep (TransformFn Url) Source # 
Instance details

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

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

newtype TransformErrorBundle Source #

We use collect all transformation failures as a '[J.Value]'.

Constructors

TransformErrorBundle 

Fields

Instances

Instances details
FromJSON TransformErrorBundle Source # 
Instance details

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

ToJSON TransformErrorBundle Source # 
Instance details

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

Monoid TransformErrorBundle Source # 
Instance details

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

Semigroup TransformErrorBundle Source # 
Instance details

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

Generic TransformErrorBundle Source # 
Instance details

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

Associated Types

type Rep TransformErrorBundle :: Type -> Type #

Show TransformErrorBundle Source # 
Instance details

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

NFData TransformErrorBundle Source # 
Instance details

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

Methods

rnf :: TransformErrorBundle -> () #

Eq TransformErrorBundle Source # 
Instance details

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

type Rep TransformErrorBundle Source # 
Instance details

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

type Rep TransformErrorBundle = D1 ('MetaData "TransformErrorBundle" "Hasura.RQL.Types.Webhook.Transform.Class" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "TransformErrorBundle" 'PrefixI 'True) (S1 ('MetaSel ('Just "tebMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Value])))