Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype TriggerName = TriggerName {}
- triggerNameToTxt :: TriggerName -> Text
- data Ops
- data SubscribeColumns (b :: BackendType)
- data SubscribeOpSpec (b :: BackendType) = SubscribeOpSpec {
- sosColumns :: SubscribeColumns b
- sosPayload :: Maybe (SubscribeColumns b)
- defaultNumRetries :: Int
- defaultRetryInterval :: Int
- defaultTimeoutSeconds :: Int
- defaultRetryConf :: RetryConf
- data RetryConf = RetryConf {
- rcNumRetries :: Int
- rcIntervalSec :: Int
- rcTimeoutSec :: Maybe Int
- data EventHeaderInfo = EventHeaderInfo {
- ehiHeaderConf :: HeaderConf
- ehiCachedValue :: Text
- data WebhookConf
- = WCValue InputWebhook
- | WCEnv Text
- data WebhookConfInfo = WebhookConfInfo {}
- data TriggerOpsDef (b :: BackendType) = TriggerOpsDef {
- tdInsert :: Maybe (SubscribeOpSpec b)
- tdUpdate :: Maybe (SubscribeOpSpec b)
- tdDelete :: Maybe (SubscribeOpSpec b)
- tdEnableManual :: Maybe Bool
- data EventTriggerConf (b :: BackendType) = EventTriggerConf {}
- data RecreateEventTriggers
- data TriggerMetadata = TriggerMetadata {}
- data Event (b :: BackendType) = Event {
- eId :: EventId
- eSource :: SourceName
- eTable :: TableName b
- eTrigger :: TriggerMetadata
- eEvent :: Value
- eTries :: Int
- eCreatedAt :: UTCTime
- data EventWithSource (b :: BackendType) = EventWithSource {}
- data ProcessEventError
- data EventTriggerInfo (b :: BackendType) = EventTriggerInfo {}
- type EventTriggerInfoMap b = HashMap TriggerName (EventTriggerInfo b)
- newtype FetchBatchSize = FetchBatchSize {}
Documentation
newtype TriggerName Source #
Unique name for event trigger.
Instances
triggerNameToTxt :: TriggerName -> Text Source #
Instances
Eq Ops Source # | |
Show Ops Source # | |
Generic Ops Source # | |
Hashable Ops Source # | |
Defined in Hasura.RQL.Types.EventTrigger | |
type Rep Ops Source # | |
Defined in Hasura.RQL.Types.EventTrigger type Rep Ops = D1 ('MetaData "Ops" "Hasura.RQL.Types.EventTrigger" "graphql-engine-1.0.0-inplace" 'False) ((C1 ('MetaCons "INSERT" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UPDATE" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DELETE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MANUAL" 'PrefixI 'False) (U1 :: Type -> Type))) |
data SubscribeColumns (b :: BackendType) Source #
Instances
data SubscribeOpSpec (b :: BackendType) Source #
SubscribeOpSpec | |
|
Instances
RetryConf | |
|
Instances
data EventHeaderInfo Source #
EventHeaderInfo | |
|
Instances
data WebhookConf Source #
WCValue InputWebhook | |
WCEnv Text |
Instances
data WebhookConfInfo Source #
Instances
data TriggerOpsDef (b :: BackendType) Source #
The table operations on which the event trigger will be invoked.
TriggerOpsDef | |
|
Instances
data EventTriggerConf (b :: BackendType) Source #
Instances
data RecreateEventTriggers Source #
Instances
Eq RecreateEventTriggers Source # | |
Defined in Hasura.RQL.Types.EventTrigger (==) :: RecreateEventTriggers -> RecreateEventTriggers -> Bool # (/=) :: RecreateEventTriggers -> RecreateEventTriggers -> Bool # | |
Show RecreateEventTriggers Source # | |
Defined in Hasura.RQL.Types.EventTrigger showsPrec :: Int -> RecreateEventTriggers -> ShowS # show :: RecreateEventTriggers -> String # showList :: [RecreateEventTriggers] -> ShowS # | |
Generic RecreateEventTriggers Source # | |
Defined in Hasura.RQL.Types.EventTrigger type Rep RecreateEventTriggers :: Type -> Type # | |
Semigroup RecreateEventTriggers Source # | |
Defined in Hasura.RQL.Types.EventTrigger | |
Cacheable RecreateEventTriggers Source # | |
Defined in Hasura.RQL.Types.EventTrigger unchanged :: Accesses -> RecreateEventTriggers -> RecreateEventTriggers -> Bool Source # | |
type Rep RecreateEventTriggers Source # | |
Defined in Hasura.RQL.Types.EventTrigger |
data TriggerMetadata Source #
Instances
Eq TriggerMetadata Source # | |
Defined in Hasura.RQL.Types.EventTrigger (==) :: TriggerMetadata -> TriggerMetadata -> Bool # (/=) :: TriggerMetadata -> TriggerMetadata -> Bool # | |
Show TriggerMetadata Source # | |
Defined in Hasura.RQL.Types.EventTrigger showsPrec :: Int -> TriggerMetadata -> ShowS # show :: TriggerMetadata -> String # showList :: [TriggerMetadata] -> ShowS # | |
FromJSON TriggerMetadata Source # | |
Defined in Hasura.RQL.Types.EventTrigger parseJSON :: Value -> Parser TriggerMetadata parseJSONList :: Value -> Parser [TriggerMetadata] | |
ToJSON TriggerMetadata Source # | |
Defined in Hasura.RQL.Types.EventTrigger toJSON :: TriggerMetadata -> Value toEncoding :: TriggerMetadata -> Encoding toJSONList :: [TriggerMetadata] -> Value toEncodingList :: [TriggerMetadata] -> Encoding |
data Event (b :: BackendType) Source #
Change data for a particular row
https://docs.hasura.io/1.0/graphql/manual/event-triggers/payload.html
Event | |
|
Instances
data EventWithSource (b :: BackendType) Source #
The event payload processed by processEvent
EventWithSource | |
|
data ProcessEventError Source #
Instances
Eq ProcessEventError Source # | |
Defined in Hasura.RQL.Types.EventTrigger (==) :: ProcessEventError -> ProcessEventError -> Bool # (/=) :: ProcessEventError -> ProcessEventError -> Bool # | |
Show ProcessEventError Source # | |
Defined in Hasura.RQL.Types.EventTrigger showsPrec :: Int -> ProcessEventError -> ShowS # show :: ProcessEventError -> String # showList :: [ProcessEventError] -> ShowS # |
data EventTriggerInfo (b :: BackendType) Source #
EventTriggerInfo | |
|
Instances
type EventTriggerInfoMap b = HashMap TriggerName (EventTriggerInfo b) Source #
newtype FetchBatchSize Source #
Instances
Eq FetchBatchSize Source # | |
Defined in Hasura.RQL.Types.EventTrigger (==) :: FetchBatchSize -> FetchBatchSize -> Bool # (/=) :: FetchBatchSize -> FetchBatchSize -> Bool # | |
Show FetchBatchSize Source # | |
Defined in Hasura.RQL.Types.EventTrigger showsPrec :: Int -> FetchBatchSize -> ShowS # show :: FetchBatchSize -> String # showList :: [FetchBatchSize] -> ShowS # |