From 773dd51aec39ef4ef8d5818ffe279b0737d4d567 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Thu, 30 Nov 2023 13:28:30 +0100 Subject: feat: add -p|--patch to log command --- app/History/IssueEvent.hs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'app/History/IssueEvent.hs') 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) -- cgit v1.2.3