Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Payload
- data PushEvent = PushEvent {
- pushEventRef :: Text
- pushEventBefore :: Text
- pushEventAfter :: Text
- pushEventCreated :: Bool
- pushEventDeleted :: Bool
- pushEventForced :: Bool
- pushEventBaseRef :: Maybe Text
- pushEventCompare :: Url
- pushEventCommits :: [Commit]
- pushEventHeadCommit :: Commit
- pushEventRepository :: Repository
- pushEventPusher :: SimpleUser
- pushEventSender :: User
- data StatusEvent = StatusEvent {
- statusEventId :: Int
- statusEventSHA :: Text
- statusEventName :: Text
- statusEventTargetUrl :: Url
- statusEventContext :: Text
- statusEventDescription :: Text
- statusEventState :: Text
- statusEventCommit :: StatusCommit
- statusEventBranches :: [Branch]
- statusEventCreatedAt :: Text
- statusEventUpdatedAt :: Text
- statusEventRepository :: Repository
- statusEventSender :: User
- data Commit = Commit {
- commitId :: Text
- commitDistinct :: Bool
- commitMessage :: Text
- commitTimestamp :: Text
- commitUrl :: Url
- commitAuthor :: SimpleUser
- commitCommitter :: SimpleUser
- commitAdded :: [FilePath]
- commitRemoved :: [FilePath]
- commitModified :: [FilePath]
- data Repository = Repository {
- repoId :: Int
- repoName :: Text
- repoFullName :: Text
- repoOwner :: Or SimpleUser User
- repoPrivate :: Bool
- repoHtmlUrl :: Url
- repoDescription :: Text
- repoFork :: Bool
- repoUrl :: Text
- repoForksUrl :: Url
- repoKeysUrl :: Url
- repoCollaboratorsUrl :: Url
- repoTeamsUrl :: Url
- repoHooksUrl :: Url
- repoIssueEventsUrl :: Url
- repoEventsUrl :: Url
- repoAssigneesUrl :: Url
- repoBranchesUrl :: Url
- repoTagsUrl :: Url
- repoBlobsUrl :: Url
- repoGitTagsUrl :: Url
- repoGitRefsUrl :: Url
- repoTreesUrl :: Url
- repoStatusesUrl :: Url
- repoLanguagesUrl :: Url
- repoStargazersUrl :: Url
- repoContributorsUrl :: Url
- repoSubscribersUrl :: Url
- repoSubscriptionUrl :: Url
- repoCommitsUrl :: Url
- repoGitCommitsUrl :: Url
- repoIssueCommentUrl :: Url
- repoContentsUrl :: Url
- repoCompareUrl :: Url
- repoMergesUrl :: Url
- repoArchiveUrl :: Url
- repoDownloadsUrl :: Url
- repoIssuesUrl :: Url
- repoPullsUrl :: Url
- repoMilestonesUrl :: Url
- repoNotificationsUrl :: Url
- repoLabelsUrl :: Url
- repoReleasesUrl :: Url
- repoCreatedAt :: Or Int Text
- repoUpdatedAt :: Text
- repoPushedAt :: Or Int Text
- repoGitUrl :: Url
- repoSshUrl :: Url
- repoCloneUrl :: Url
- repoSvnUrl :: Url
- repoHomepage :: Maybe Url
- repoSize :: Int
- repoStargazersCount :: Int
- repoWatchersCount :: Int
- repoLanguage :: Text
- repoHasIssues :: Bool
- repoHasDownloads :: Bool
- repoHasWiki :: Bool
- repoHasPages :: Bool
- repoForksCount :: Int
- repoMirrorUrl :: Maybe Url
- repoOpenIssuesCount :: Int
- repoForks :: Int
- repoOpenIssues :: Int
- repoWatchers :: Int
- repoStargazers :: Maybe Int
- repoMasterBranch :: Maybe Text
- data User = User {
- userLogin :: Text
- userId :: Int
- userAvatarUrl :: Url
- userGravatarId :: Text
- userUrl :: Url
- userHtmlUrl :: Url
- userFollowersUrl :: Url
- userFollowingUrl :: Url
- userGistsUrl :: Url
- userStarredUrl :: Url
- userSubscriptionsUrl :: Url
- userOrganizationsUrl :: Url
- userReposUrl :: Url
- userEventsUrl :: Url
- userReceivedEventsUrl :: Url
- userType :: Text
- userSiteAdmin :: Bool
- data SimpleUser = SimpleUser {}
- data Branch = Branch {}
- data SimpleCommit = SimpleCommit {
- simpleCommitSha :: Text
- simpleCommitUrl :: Url
- simpleCommitHtmlUrl :: Maybe Url
- data StatusCommit = StatusCommit {}
- data SimpleStatusCommit = SimpleStatusCommit {}
- data Tree = Tree {}
- data Or a b
- toEither :: Or a b -> Either a b
- data EmailAddress :: *
Documentation
PushEvent | |
|
data StatusEvent Source
Commit | |
|
data Repository Source
User | |
|
data SimpleCommit Source
SimpleCommit | |
|
data StatusCommit Source
used in StatusEvent
StatusCommit | |
|
Or a b represents a or b The reason why we don't use Either type is that Either Int String type parses { "left": 1 } or { "right": "foo" }, but we want to parse 1 or "foo".
data EmailAddress :: *
Represents an email address.
Eq EmailAddress | |
Data EmailAddress | |
Ord EmailAddress | |
Read EmailAddress | |
Show EmailAddress | |
Generic EmailAddress | |
FromJSON EmailAddress | |
Typeable * EmailAddress | |
type Rep EmailAddress = D1 D1EmailAddress (C1 C1_0EmailAddress ((:*:) (S1 NoSelector (Rec0 ByteString)) (S1 NoSelector (Rec0 ByteString)))) |