| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Calamity.HTTP.Interaction
Description
Interaction endpoints
Documentation
data InteractionRequest a where Source #
Constructors
Instances
| Request (InteractionRequest a) Source # | |
Defined in Calamity.HTTP.Interaction Associated Types type Result (InteractionRequest a) Source # Methods route :: InteractionRequest a -> Route Source # action :: InteractionRequest a -> Url 'Https -> Option 'Https -> Req LbsResponse Source # modifyResponse :: InteractionRequest a -> Value -> Value Source # | |
| type Result (InteractionRequest a) Source # | |
Defined in Calamity.HTTP.Interaction | |
data InteractionCallbackMessageOptions Source #
Constructors
| InteractionCallbackMessageOptions | |
Fields
| |
Instances
newtype InteractionCallbackAutocomplete Source #
Constructors
| InteractionCallbackAutocomplete | |
Fields | |
Instances
| Show InteractionCallbackAutocomplete Source # | |
Defined in Calamity.HTTP.Interaction Methods showsPrec :: Int -> InteractionCallbackAutocomplete -> ShowS # | |
| Generic InteractionCallbackAutocomplete Source # | |
Defined in Calamity.HTTP.Interaction Associated Types type Rep InteractionCallbackAutocomplete :: Type -> Type # | |
| ToJSON InteractionCallbackAutocomplete Source # | |
Defined in Calamity.HTTP.Interaction | |
| type Rep InteractionCallbackAutocomplete Source # | |
Defined in Calamity.HTTP.Interaction type Rep InteractionCallbackAutocomplete = D1 ('MetaData "InteractionCallbackAutocomplete" "Calamity.HTTP.Interaction" "calamity-0.3.0.0-inplace" 'True) (C1 ('MetaCons "InteractionCallbackAutocomplete" 'PrefixI 'True) (S1 ('MetaSel ('Just "choices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [InteractionCallbackAutocompleteChoice]))) | |
data InteractionCallbackAutocompleteChoice Source #
Constructors
| InteractionCallbackAutocompleteChoice | |
Instances
data InteractionCallbackModal Source #
Constructors
| InteractionCallbackModal | |