graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.RQL.Types.Action

Documentation

data ActionMetadata Source #

Instances

Instances details
Eq ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Show 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 #

NFData ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ActionMetadata -> () #

FromJSON ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

parseJSON :: Value -> Parser ActionMetadata

parseJSONList :: Value -> Parser [ActionMetadata]

ToJSON ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toJSON :: ActionMetadata -> Value

toEncoding :: ActionMetadata -> Encoding

toJSONList :: [ActionMetadata] -> Value

toEncodingList :: [ActionMetadata] -> Encoding

Cacheable ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

type Rep ActionMetadata = D1 ('MetaData "ActionMetadata" "Hasura.RQL.Types.Action" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ActionMetadata" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_amName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionName) :*: S1 ('MetaSel ('Just "_amComment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_amDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionDefinitionInput) :*: S1 ('MetaSel ('Just "_amPermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ActionPermissionMetadata]))))

data ActionPermissionMetadata Source #

Instances

Instances details
Eq ActionPermissionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Show 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 #

NFData ActionPermissionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

FromJSON ActionPermissionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

parseJSON :: Value -> Parser ActionPermissionMetadata

parseJSONList :: Value -> Parser [ActionPermissionMetadata]

ToJSON ActionPermissionMetadata Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Cacheable 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
Eq ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Ord ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Show 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 #

NFData ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ActionName -> () #

Hashable ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

FromJSONKey ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

fromJSONKey :: FromJSONKeyFunction ActionName

fromJSONKeyList :: FromJSONKeyFunction [ActionName]

FromJSON ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

parseJSON :: Value -> Parser ActionName

parseJSONList :: Value -> Parser [ActionName]

ToJSONKey ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toJSONKey :: ToJSONKeyFunction ActionName

toJSONKeyList :: ToJSONKeyFunction [ActionName]

ToJSON ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toJSON :: ActionName -> Value

toEncoding :: ActionName -> Encoding

toJSONList :: [ActionName] -> Value

toEncodingList :: [ActionName] -> Encoding

ToTxt ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toTxt :: ActionName -> Text Source #

FromCol ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToPrepArg ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toPrepVal :: ActionName -> PrepArg

Cacheable 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)))

newtype ActionId Source #

Constructors

ActionId 

Fields

Instances

Instances details
Eq ActionId Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Show ActionId Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Hashable ActionId Source # 
Instance details

Defined in Hasura.RQL.Types.Action

FromJSON ActionId Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

parseJSON :: Value -> Parser ActionId

parseJSONList :: Value -> Parser [ActionId]

ToJSON ActionId Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toJSON :: ActionId -> Value

toEncoding :: ActionId -> Encoding

toJSONList :: [ActionId] -> Value

toEncodingList :: [ActionId] -> Encoding

FromCol ActionId Source # 
Instance details

Defined in Hasura.RQL.Types.Action

ToPrepArg ActionId Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toPrepVal :: ActionId -> PrepArg

data ActionDefinition arg webhook Source #

Constructors

ActionDefinition 

Fields

Instances

Instances details
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 #

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) #

(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 #

(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 #

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 #

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

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ActionDefinition a w -> () #

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

Defined in Hasura.RQL.Types.Action

Methods

parseJSON :: Value -> Parser (ActionDefinition a b)

parseJSONList :: Value -> Parser [ActionDefinition a b]

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

Defined in Hasura.RQL.Types.Action

Methods

toJSON :: ActionDefinition a b -> Value

toEncoding :: ActionDefinition a b -> Encoding

toJSONList :: [ActionDefinition a b] -> Value

toEncodingList :: [ActionDefinition a b] -> Encoding

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

Defined in Hasura.RQL.Types.Action

type Rep (ActionDefinition arg webhook) Source # 
Instance details

Defined in Hasura.RQL.Types.Action

data ActionType Source #

Instances

Instances details
Eq ActionType Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Show ActionType Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Generic ActionType Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep ActionType :: Type -> Type #

NFData ActionType Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ActionType -> () #

Cacheable 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
Eq ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Show 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 #

NFData ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ActionMutationKind -> () #

FromJSON ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

parseJSON :: Value -> Parser ActionMutationKind

parseJSONList :: Value -> Parser [ActionMutationKind]

ToJSON ActionMutationKind Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Cacheable 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 #

Constructors

ArgumentDefinition 

Fields

Instances

Instances details
Functor ArgumentDefinition Source # 
Instance details

Defined in Hasura.RQL.Types.Action

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

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

Defined in Hasura.RQL.Types.Action

Show a => Show (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 #

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

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ArgumentDefinition a -> () #

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

Defined in Hasura.RQL.Types.Action

Methods

parseJSON :: Value -> Parser (ArgumentDefinition a)

parseJSONList :: Value -> Parser [ArgumentDefinition a]

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

Defined in Hasura.RQL.Types.Action

Methods

toJSON :: ArgumentDefinition a -> Value

toEncoding :: ArgumentDefinition a -> Encoding

toJSONList :: [ArgumentDefinition a] -> Value

toEncodingList :: [ArgumentDefinition a] -> Encoding

Cacheable a => Cacheable (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
Eq ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Show 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 #

NFData ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

rnf :: ArgumentName -> () #

FromJSONKey ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

fromJSONKey :: FromJSONKeyFunction ArgumentName

fromJSONKeyList :: FromJSONKeyFunction [ArgumentName]

FromJSON ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

parseJSON :: Value -> Parser ArgumentName

parseJSONList :: Value -> Parser [ArgumentName]

ToJSONKey ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toJSONKey :: ToJSONKeyFunction ArgumentName

toJSONKeyList :: ToJSONKeyFunction [ArgumentName]

ToJSON ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toJSON :: ArgumentName -> Value

toEncoding :: ArgumentName -> Encoding

toJSONList :: [ArgumentName] -> Value

toEncodingList :: [ArgumentName] -> Encoding

ToTxt ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toTxt :: ArgumentName -> Text Source #

Cacheable 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
Generic ActionInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep ActionInfo :: Type -> Type #

ToJSON ActionInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toJSON :: ActionInfo -> Value

toEncoding :: ActionInfo -> Encoding

toJSONList :: [ActionInfo] -> Value

toEncodingList :: [ActionInfo] -> Encoding

type Rep ActionInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

data ActionExecContext Source #

Constructors

ActionExecContext 

Fields

data ActionsInfo Source #

Instances

Instances details
Eq ActionsInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Show ActionsInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Generic ActionsInfo Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Associated Types

type Rep ActionsInfo :: Type -> Type #

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 #

adResponseTransform :: forall arg webhook. Lens' (ActionDefinition arg webhook) (Maybe MetadataResponseTransform) 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 #