| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
FunBot.ExtEvents
- data Repository = Repository {}
- data ProjectObject a = ProjectObject {
- poRepo :: Repository
- poObj :: a
- data Commit = Commit {
- commitAuthor :: Text
- commitTitle :: Text
- commitUrl :: Text
- commitAdded :: [Text]
- commitModified :: [Text]
- commitRemoved :: [Text]
- data Push = Push {
- pushBranch :: Text
- pushCommits :: [Commit]
- data Tag = Tag {}
- data Issue = Issue {
- issueAuthor :: Text
- issueId :: Int
- issueTitle :: Text
- issueUrl :: Text
- issueAction :: Text
- data Note = Note {
- noteAuthor :: Text
- noteContent :: Text
- noteTarget :: Text
- noteUrl :: Text
- data MergeRequest = MergeRequest {}
- data NewsItem = NewsItem {
- itemFeedLabel :: Text
- itemFeedTitle :: Maybe Text
- itemTitle :: Text
- itemAuthor :: Maybe Text
- itemUrl :: Maybe Text
- data Paste = Paste {
- pasteAuthor :: Text
- pasteVerb :: Text
- pasteTitle :: Text
- pasteUrl :: Text
- pasteChannel :: Text
- data ExtEvent
Documentation
data Repository Source #
A version control repository.
Constructors
| Repository | |
Fields
| |
Instances
data ProjectObject a Source #
An object that is part of a project, such as a merge request or an issue or a series of commits being pushed.
Constructors
| ProjectObject | |
Fields
| |
Instances
| Show a => Show (ProjectObject a) Source # | |
| ToJSON a => ToJSON (ProjectObject a) Source # | |
| FromJSON a => FromJSON (ProjectObject a) Source # | |
A version control system commit, i.e. a set of changes with a description.
Constructors
| Commit | |
Fields
| |
A version control push operation, i.e. one or more commits being added to
a specific branch or a repsitory. Note that tags can be pushed too, but for
that see the Tag type.
Constructors
| Push | |
Fields
| |
A version control tag. Allows a specific state of the repository to be referred by name.
Constructors
| Tag | |
A bug, request or other work item attached to a project.
Constructors
| Issue | |
Fields
| |
A comment made on some project object.
Constructors
| Note | |
Fields
| |
data MergeRequest Source #
A request from a user to merge their code changes into the project.
Constructors
| MergeRequest | |
Fields
| |
Instances
A news feed item.
Constructors
| NewsItem | |
Fields
| |
A piece of text uploaded to a website for quick sharing.
Constructors
| Paste | |
Fields
| |
An event coming from one of the external event sources.
Constructors
| GitPushEvent (ProjectObject Push) | Git commits pushed into a repo. |
| GitTagEvent (ProjectObject Tag) | A git tag pushed into a repo. |
| IssueEvent (ProjectObject Issue) | An issue related event. |
| MergeRequestEvent (ProjectObject MergeRequest) | A merge request related event. |
| NoteEvent (ProjectObject Note) | A comment made on an issue or MR or some other object. |
| NewsEvent NewsItem | New news item published. |
| PasteEvent Paste | Paste related event in a paste server. |
| WelcomeEvent Text Text | A new IRC user needs to be welcomed to a channel. |