-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | GitHub webhooks library -- @package github-post-receive @version 1.1.0.0 module Github.PostReceive.Types data Payload Push :: PushEvent -> Payload Status :: StatusEvent -> Payload data PushEvent PushEvent :: Text -> Text -> Text -> Bool -> Bool -> Bool -> Maybe Text -> Url -> [Commit] -> Commit -> Repository -> SimpleUser -> User -> PushEvent pushEventRef :: PushEvent -> Text pushEventBefore :: PushEvent -> Text pushEventAfter :: PushEvent -> Text pushEventCreated :: PushEvent -> Bool pushEventDeleted :: PushEvent -> Bool pushEventForced :: PushEvent -> Bool pushEventBaseRef :: PushEvent -> Maybe Text pushEventCompare :: PushEvent -> Url pushEventCommits :: PushEvent -> [Commit] pushEventHeadCommit :: PushEvent -> Commit pushEventRepository :: PushEvent -> Repository pushEventPusher :: PushEvent -> SimpleUser pushEventSender :: PushEvent -> User data StatusEvent StatusEvent :: Int -> Text -> Text -> Url -> Text -> Text -> Text -> StatusCommit -> [Branch] -> Text -> Text -> Repository -> User -> StatusEvent statusEventId :: StatusEvent -> Int statusEventSHA :: StatusEvent -> Text statusEventName :: StatusEvent -> Text statusEventTargetUrl :: StatusEvent -> Url statusEventContext :: StatusEvent -> Text statusEventDescription :: StatusEvent -> Text statusEventState :: StatusEvent -> Text statusEventCommit :: StatusEvent -> StatusCommit statusEventBranches :: StatusEvent -> [Branch] statusEventCreatedAt :: StatusEvent -> Text statusEventUpdatedAt :: StatusEvent -> Text statusEventRepository :: StatusEvent -> Repository statusEventSender :: StatusEvent -> User data Commit Commit :: Text -> Bool -> Text -> Text -> Url -> SimpleUser -> SimpleUser -> [FilePath] -> [FilePath] -> [FilePath] -> Commit commitId :: Commit -> Text commitDistinct :: Commit -> Bool commitMessage :: Commit -> Text commitTimestamp :: Commit -> Text commitUrl :: Commit -> Url commitAuthor :: Commit -> SimpleUser commitCommitter :: Commit -> SimpleUser commitAdded :: Commit -> [FilePath] commitRemoved :: Commit -> [FilePath] commitModified :: Commit -> [FilePath] data Repository Repository :: Int -> Text -> Text -> Or SimpleUser User -> Bool -> Url -> Text -> Bool -> Text -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Or Int Text -> Text -> Or Int Text -> Url -> Url -> Url -> Url -> Maybe Url -> Int -> Int -> Int -> Text -> Bool -> Bool -> Bool -> Bool -> Int -> Maybe Url -> Int -> Int -> Int -> Int -> Maybe Int -> Maybe Text -> Repository repoId :: Repository -> Int repoName :: Repository -> Text repoFullName :: Repository -> Text repoOwner :: Repository -> Or SimpleUser User repoPrivate :: Repository -> Bool repoHtmlUrl :: Repository -> Url repoDescription :: Repository -> Text repoFork :: Repository -> Bool repoUrl :: Repository -> Text repoForksUrl :: Repository -> Url repoKeysUrl :: Repository -> Url repoCollaboratorsUrl :: Repository -> Url repoTeamsUrl :: Repository -> Url repoHooksUrl :: Repository -> Url repoIssueEventsUrl :: Repository -> Url repoEventsUrl :: Repository -> Url repoAssigneesUrl :: Repository -> Url repoBranchesUrl :: Repository -> Url repoTagsUrl :: Repository -> Url repoBlobsUrl :: Repository -> Url repoGitTagsUrl :: Repository -> Url repoGitRefsUrl :: Repository -> Url repoTreesUrl :: Repository -> Url repoStatusesUrl :: Repository -> Url repoLanguagesUrl :: Repository -> Url repoStargazersUrl :: Repository -> Url repoContributorsUrl :: Repository -> Url repoSubscribersUrl :: Repository -> Url repoSubscriptionUrl :: Repository -> Url repoCommitsUrl :: Repository -> Url repoGitCommitsUrl :: Repository -> Url repoIssueCommentUrl :: Repository -> Url repoContentsUrl :: Repository -> Url repoCompareUrl :: Repository -> Url repoMergesUrl :: Repository -> Url repoArchiveUrl :: Repository -> Url repoDownloadsUrl :: Repository -> Url repoIssuesUrl :: Repository -> Url repoPullsUrl :: Repository -> Url repoMilestonesUrl :: Repository -> Url repoNotificationsUrl :: Repository -> Url repoLabelsUrl :: Repository -> Url repoReleasesUrl :: Repository -> Url repoCreatedAt :: Repository -> Or Int Text repoUpdatedAt :: Repository -> Text repoPushedAt :: Repository -> Or Int Text repoGitUrl :: Repository -> Url repoSshUrl :: Repository -> Url repoCloneUrl :: Repository -> Url repoSvnUrl :: Repository -> Url repoHomepage :: Repository -> Maybe Url repoSize :: Repository -> Int repoStargazersCount :: Repository -> Int repoWatchersCount :: Repository -> Int repoLanguage :: Repository -> Text repoHasIssues :: Repository -> Bool repoHasDownloads :: Repository -> Bool repoHasWiki :: Repository -> Bool repoHasPages :: Repository -> Bool repoForksCount :: Repository -> Int repoMirrorUrl :: Repository -> Maybe Url repoOpenIssuesCount :: Repository -> Int repoForks :: Repository -> Int repoOpenIssues :: Repository -> Int repoWatchers :: Repository -> Int repoStargazers :: Repository -> Maybe Int repoMasterBranch :: Repository -> Maybe Text data User User :: Text -> Int -> Url -> Text -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Url -> Text -> Bool -> User userLogin :: User -> Text userId :: User -> Int userAvatarUrl :: User -> Url userGravatarId :: User -> Text userUrl :: User -> Url userHtmlUrl :: User -> Url userFollowersUrl :: User -> Url userFollowingUrl :: User -> Url userGistsUrl :: User -> Url userStarredUrl :: User -> Url userSubscriptionsUrl :: User -> Url userOrganizationsUrl :: User -> Url userReposUrl :: User -> Url userEventsUrl :: User -> Url userReceivedEventsUrl :: User -> Url userType :: User -> Text userSiteAdmin :: User -> Bool data SimpleUser SimpleUser :: Text -> Maybe EmailAddress -> Maybe Text -> Maybe Text -> SimpleUser simpleUserName :: SimpleUser -> Text simpleUserEmail :: SimpleUser -> Maybe EmailAddress simpleUserUsername :: SimpleUser -> Maybe Text simpleUserDate :: SimpleUser -> Maybe Text data Branch Branch :: Text -> SimpleCommit -> Branch branchName :: Branch -> Text branchCommit :: Branch -> SimpleCommit data SimpleCommit SimpleCommit :: Text -> Url -> Maybe Url -> SimpleCommit simpleCommitSha :: SimpleCommit -> Text simpleCommitUrl :: SimpleCommit -> Url simpleCommitHtmlUrl :: SimpleCommit -> Maybe Url -- | used in StatusEvent data StatusCommit StatusCommit :: Text -> SimpleStatusCommit -> Url -> Url -> Url -> User -> User -> [SimpleCommit] -> StatusCommit statusCommitSHA :: StatusCommit -> Text statusCommitCommit :: StatusCommit -> SimpleStatusCommit statusCommitUrl :: StatusCommit -> Url statusCommitHtmlUrl :: StatusCommit -> Url statusCommitCommentsUrl :: StatusCommit -> Url statusCommitAuthor :: StatusCommit -> User statusCommitCommitter :: StatusCommit -> User statusCommitParents :: StatusCommit -> [SimpleCommit] data SimpleStatusCommit SimpleStatusCommit :: SimpleUser -> SimpleUser -> Text -> Tree -> Url -> Int -> SimpleStatusCommit simpleStatusCommitAuthor :: SimpleStatusCommit -> SimpleUser simpleStatusCommitCommitter :: SimpleStatusCommit -> SimpleUser simpleStatusCommitMessage :: SimpleStatusCommit -> Text simpleStatusCommitTree :: SimpleStatusCommit -> Tree simpleStatusCommitUrl :: SimpleStatusCommit -> Url simpleStatusCommitCommentCount :: SimpleStatusCommit -> Int data Tree Tree :: Text -> Url -> Tree treeSHA :: Tree -> Text treeUrl :: Tree -> Url -- | 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 Or a b L :: a -> Or a b R :: b -> Or a b toEither :: Or a b -> Either a b -- | Represents an email address. data EmailAddress :: * instance Typeable SimpleUser instance Typeable Tree instance Typeable SimpleStatusCommit instance Typeable SimpleCommit instance Typeable Branch instance Typeable User instance Typeable StatusCommit instance Typeable Commit instance Typeable Or instance Typeable Repository instance Typeable StatusEvent instance Typeable PushEvent instance Typeable Payload instance Show SimpleUser instance Eq SimpleUser instance Show Tree instance Eq Tree instance Show SimpleStatusCommit instance Eq SimpleStatusCommit instance Show SimpleCommit instance Eq SimpleCommit instance Show Branch instance Eq Branch instance Show User instance Eq User instance Show StatusCommit instance Eq StatusCommit instance Show Commit instance Eq Commit instance (Show a, Show b) => Show (Or a b) instance (Eq a, Eq b) => Eq (Or a b) instance Show Repository instance Eq Repository instance Show StatusEvent instance Eq StatusEvent instance Show PushEvent instance Eq PushEvent instance Show Payload instance Eq Payload instance (FromJSON a, FromJSON b) => FromJSON (Or a b) instance FromJSON Tree instance FromJSON SimpleStatusCommit instance FromJSON StatusCommit instance FromJSON SimpleCommit instance FromJSON Branch instance FromJSON EmailAddress instance FromJSON SimpleUser instance FromJSON User instance FromJSON Repository instance FromJSON Commit instance FromJSON StatusEvent instance FromJSON PushEvent instance FromJSON Payload module Github.PostReceive.Server start :: Port -> Map ByteString (Payload -> IO ()) -> IO () app :: ApacheLogger -> Map ByteString (Payload -> IO ()) -> Application module Github.PostReceive