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

Hasura.RQL.Types.Action

Documentation

data ActionMetadata Source #

Instances

Instances details
FromJSON ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToJSON ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

HasCodec ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Generic ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep ActionMetadata :: Type -> Type #

Show ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

NFData ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ActionMetadata -> () #

Eq ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

data ActionPermissionMetadata Source #

Instances

Instances details
FromJSON ActionPermissionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToJSON ActionPermissionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

HasCodec ActionPermissionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Generic ActionPermissionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep ActionPermissionMetadata :: Type -> Type #

Show ActionPermissionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

NFData ActionPermissionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Eq ActionPermissionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionPermissionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionPermissionMetadata = D1 ('MetaData "ActionPermissionMetadata" "Hasura.RQL.Types.Action" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionPermissionMetadata" 'PrefixI 'True) (S1 ('MetaSel ('Just "_apmRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RoleName) :*: S1 ('MetaSel ('Just "_apmComment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newtype ActionName Source #

Constructors

ActionName 

Fields

Instances

Instances details
FromJSON ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

FromJSONKey ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToJSON ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToJSONKey ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

HasCodec ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Generic ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep ActionName :: Type -> Type #

Show ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

NFData ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ActionName -> () #

Eq ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Ord ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Hashable ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToTxt ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

FromCol ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToPrepArg ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

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

data ActionDefinition arg webhook Source #

Constructors

ActionDefinition 

Fields

Instances

Instances details
Foldable (ActionDefinition arg) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

fold :: Monoid m => ActionDefinition arg m -> m #

foldMap :: Monoid m => (a -> m) -> ActionDefinition arg a -> m #

foldMap' :: Monoid m => (a -> m) -> ActionDefinition arg a -> m #

foldr :: (a -> b -> b) -> b -> ActionDefinition arg a -> b #

foldr' :: (a -> b -> b) -> b -> ActionDefinition arg a -> b #

foldl :: (b -> a -> b) -> b -> ActionDefinition arg a -> b #

foldl' :: (b -> a -> b) -> b -> ActionDefinition arg a -> b #

foldr1 :: (a -> a -> a) -> ActionDefinition arg a -> a #

foldl1 :: (a -> a -> a) -> ActionDefinition arg a -> a #

toList :: ActionDefinition arg a -> [a] #

null :: ActionDefinition arg a -> Bool #

length :: ActionDefinition arg a -> Int #

elem :: Eq a => a -> ActionDefinition arg a -> Bool #

maximum :: Ord a => ActionDefinition arg a -> a #

minimum :: Ord a => ActionDefinition arg a -> a #

sum :: Num a => ActionDefinition arg a -> a #

product :: Num a => ActionDefinition arg a -> a #

Traversable (ActionDefinition arg) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

traverse :: Applicative f => (a -> f b) -> ActionDefinition arg a -> f (ActionDefinition arg b) #

sequenceA :: Applicative f => ActionDefinition arg (f a) -> f (ActionDefinition arg a) #

mapM :: Monad m => (a -> m b) -> ActionDefinition arg a -> m (ActionDefinition arg b) #

sequence :: Monad m => ActionDefinition arg (m a) -> m (ActionDefinition arg a) #

Functor (ActionDefinition arg) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

fmap :: (a -> b) -> ActionDefinition arg a -> ActionDefinition arg b #

(<$) :: a -> ActionDefinition arg b -> ActionDefinition arg a #

(FromJSON a, FromJSON b) => FromJSON (ActionDefinition a b) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

(ToJSON a, ToJSON b) => ToJSON (ActionDefinition a b) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

(Eq arg, HasCodec (ArgumentDefinition arg), HasCodec webhook, Typeable arg, Typeable webhook) => HasCodec (ActionDefinition arg webhook) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Generic (ActionDefinition arg webhook) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep (ActionDefinition arg webhook) :: Type -> Type #

Methods

from :: ActionDefinition arg webhook -> Rep (ActionDefinition arg webhook) x #

to :: Rep (ActionDefinition arg webhook) x -> ActionDefinition arg webhook #

(Show arg, Show webhook) => Show (ActionDefinition arg webhook) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

showsPrec :: Int -> ActionDefinition arg webhook -> ShowS #

show :: ActionDefinition arg webhook -> String #

showList :: [ActionDefinition arg webhook] -> ShowS #

(NFData a, NFData w) => NFData (ActionDefinition a w) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ActionDefinition a w -> () #

(Eq arg, Eq webhook) => Eq (ActionDefinition arg webhook) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

(==) :: ActionDefinition arg webhook -> ActionDefinition arg webhook -> Bool #

(/=) :: ActionDefinition arg webhook -> ActionDefinition arg webhook -> Bool #

type Rep (ActionDefinition arg webhook) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

data ActionType Source #

Instances

Instances details
Generic ActionType Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep ActionType :: Type -> Type #

Show ActionType Source # 
Instance details

Defined in Hasura.RQL.Types.Action

NFData ActionType Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ActionType -> () #

Eq ActionType Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionType Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionType = D1 ('MetaData "ActionType" "Hasura.RQL.Types.Action" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionQuery" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ActionMutation" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionMutationKind)))

data ActionMutationKind Source #

Instances

Instances details
FromJSON ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToJSON ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

HasCodec ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Bounded ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Enum ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Generic ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep ActionMutationKind :: Type -> Type #

Show ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

NFData ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ActionMutationKind -> () #

Eq ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionMutationKind = D1 ('MetaData "ActionMutationKind" "Hasura.RQL.Types.Action" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionSynchronous" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ActionAsynchronous" 'PrefixI 'False) (U1 :: Type -> Type))

data ArgumentDefinition a Source #

Instances

Instances details
Foldable ArgumentDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

fold :: Monoid m => ArgumentDefinition m -> m #

foldMap :: Monoid m => (a -> m) -> ArgumentDefinition a -> m #

foldMap' :: Monoid m => (a -> m) -> ArgumentDefinition a -> m #

foldr :: (a -> b -> b) -> b -> ArgumentDefinition a -> b #

foldr' :: (a -> b -> b) -> b -> ArgumentDefinition a -> b #

foldl :: (b -> a -> b) -> b -> ArgumentDefinition a -> b #

foldl' :: (b -> a -> b) -> b -> ArgumentDefinition a -> b #

foldr1 :: (a -> a -> a) -> ArgumentDefinition a -> a #

foldl1 :: (a -> a -> a) -> ArgumentDefinition a -> a #

toList :: ArgumentDefinition a -> [a] #

null :: ArgumentDefinition a -> Bool #

length :: ArgumentDefinition a -> Int #

elem :: Eq a => a -> ArgumentDefinition a -> Bool #

maximum :: Ord a => ArgumentDefinition a -> a #

minimum :: Ord a => ArgumentDefinition a -> a #

sum :: Num a => ArgumentDefinition a -> a #

product :: Num a => ArgumentDefinition a -> a #

Traversable ArgumentDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Functor ArgumentDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.Action

FromJSON arg => FromJSON (ArgumentDefinition arg) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToJSON arg => ToJSON (ArgumentDefinition arg) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

(HasCodec a, Typeable a) => HasCodec (ArgumentDefinition a) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Generic (ArgumentDefinition a) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep (ArgumentDefinition a) :: Type -> Type #

Show a => Show (ArgumentDefinition a) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

NFData a => NFData (ArgumentDefinition a) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ArgumentDefinition a -> () #

Eq a => Eq (ArgumentDefinition a) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep (ArgumentDefinition a) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep (ArgumentDefinition a) = D1 ('MetaData "ArgumentDefinition" "Hasura.RQL.Types.Action" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ArgumentDefinition" 'PrefixI 'True) (S1 ('MetaSel ('Just "_argName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ArgumentName) :*: (S1 ('MetaSel ('Just "_argType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a) :*: S1 ('MetaSel ('Just "_argDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Description)))))

newtype ArgumentName Source #

Constructors

ArgumentName 

Fields

Instances

Instances details
FromJSON ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

FromJSONKey ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToJSON ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToJSONKey ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

HasCodec ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Generic ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep ArgumentName :: Type -> Type #

Show ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

NFData ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ArgumentName -> () #

Eq ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToTxt ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ArgumentName = D1 ('MetaData "ArgumentName" "Hasura.RQL.Types.Action" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "ArgumentName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unArgumentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))

data ActionInfo Source #

Instances

Instances details
ToJSON ActionInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Generic ActionInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep ActionInfo :: Type -> Type #

type Rep ActionInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

data ActionLogResponse Source #

Instances

Instances details
ToJSON ActionLogResponse Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Generic ActionLogResponse Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep ActionLogResponse :: Type -> Type #

Show ActionLogResponse Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Eq ActionLogResponse Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionLogResponse Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionLogResponse = D1 ('MetaData "ActionLogResponse" "Hasura.RQL.Types.Action" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionLogResponse" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_alrId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionId) :*: S1 ('MetaSel ('Just "_alrCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UTCTime)) :*: (S1 ('MetaSel ('Just "_alrResponsePayload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)) :*: (S1 ('MetaSel ('Just "_alrErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "_alrSessionVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SessionVariables)))))

data ActionsInfo Source #

Instances

Instances details
Generic ActionsInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep ActionsInfo :: Type -> Type #

Show ActionsInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Eq ActionsInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionsInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionsInfo = D1 ('MetaData "ActionsInfo" "Hasura.RQL.Types.Action" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionsInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "_asiName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionName) :*: S1 ('MetaSel ('Just "_asiForwardClientHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

adType :: forall arg webhook. Lens' (ActionDefinition arg webhook) ActionType Source #

adTimeout :: forall arg webhook. Lens' (ActionDefinition arg webhook) Timeout Source #

adRequestTransform :: forall arg webhook. Lens' (ActionDefinition arg webhook) (Maybe RequestTransform) Source #

adOutputType :: forall arg webhook. Lens' (ActionDefinition arg webhook) GraphQLType Source #

adHeaders :: forall arg webhook. Lens' (ActionDefinition arg webhook) [HeaderConf] Source #

adHandler :: forall arg webhook webhook. Lens (ActionDefinition arg webhook) (ActionDefinition arg webhook) webhook webhook Source #

adForwardClientHeaders :: forall arg webhook. Lens' (ActionDefinition arg webhook) Bool Source #

adArguments :: forall arg webhook arg. Lens (ActionDefinition arg webhook) (ActionDefinition arg webhook) [ArgumentDefinition arg] [ArgumentDefinition arg] Source #