aboutsummaryrefslogtreecommitdiffstats
path: root/app/History/IssueEvent.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/History/IssueEvent.hs')
-rw-r--r--app/History/IssueEvent.hs11
1 files changed, 8 insertions, 3 deletions
diff --git a/app/History/IssueEvent.hs b/app/History/IssueEvent.hs
index 88886dd..933b047 100644
--- a/app/History/IssueEvent.hs
+++ b/app/History/IssueEvent.hs
@@ -1,19 +1,24 @@
module History.IssueEvent (IssueEvent (..)) where
+import Data.Text qualified as T
import History.CommitHash (CommitHash)
import Issue (Issue)
data IssueEvent
= IssueCreated
{ hash :: CommitHash,
- issue :: Issue
+ issue :: Issue,
+ patch :: T.Text
}
| IssueChanged
{ hash :: CommitHash,
- issue :: Issue
+ oldIssue :: Issue,
+ issue :: Issue,
+ patch :: T.Text
}
| IssueDeleted
{ hash :: CommitHash,
- issue :: Issue
+ issue :: Issue,
+ patch :: T.Text
}
deriving (Show)