Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add endpoint module fro Projects
  • Loading branch information
gdevanla committed Mar 14, 2021
commit fe56bddfb334923370ccb0c795bd3a3414330780
1 change: 1 addition & 0 deletions github.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ library
GitHub.Endpoints.Repos.Deployments
GitHub.Endpoints.Repos.Forks
GitHub.Endpoints.Repos.Invitations
GitHub.Endpoints.Repos.Projects
GitHub.Endpoints.Repos.Releases
GitHub.Endpoints.Repos.Statuses
GitHub.Endpoints.Repos.Webhooks
Expand Down
15 changes: 0 additions & 15 deletions src/GitHub/Data/Projects.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,6 @@ import Prelude ()

import qualified Data.Text as T

-- data Project = Project
-- { commentPosition :: !(Maybe Int)
-- , commentLine :: !(Maybe Int)
-- , commentBody :: !Text
-- , commentCommitId :: !(Maybe Text)
-- , commentUpdatedAt :: !UTCTime
-- , commentHtmlUrl :: !(Maybe URL)
-- , commentUrl :: !URL
-- , commentCreatedAt :: !(Maybe UTCTime)
-- , commentPath :: !(Maybe Text)
-- , commentUser :: !SimpleUser
-- , commentId :: !(Id Comment)
-- }
-- deriving (Show, Data, Typeable, Eq, Ord, Generic)

data ProjectState = StateOpen | StateClosed
deriving (Show, Data, Typeable, Eq, Ord, Generic)

Expand Down