-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | GitHub webhooks library -- @package github-post-receive @version 1.2.0.1 module Github.PostReceive.Types data Payload Push :: PushEvent -> Payload Status :: StatusEvent -> Payload data PushEvent PushEvent :: Text -> HashValue -> HashValue -> Bool -> Bool -> Bool -> Maybe HashValue -> Url -> [Commit] -> Commit -> Repository -> SimpleUser -> User -> PushEvent pushEventRef :: PushEvent -> Text pushEventBefore :: PushEvent -> HashValue pushEventAfter :: PushEvent -> HashValue pushEventCreated :: PushEvent -> Bool pushEventDeleted :: PushEvent -> Bool pushEventForced :: PushEvent -> Bool pushEventBaseRef :: PushEvent -> Maybe HashValue pushEventCompare :: PushEvent -> Url pushEventCommits :: PushEvent -> [Commit] pushEventHeadCommit :: PushEvent -> Commit pushEventRepository :: PushEvent -> Repository pushEventPusher :: PushEvent -> SimpleUser pushEventSender :: PushEvent -> User data StatusEvent StatusEvent :: Int -> HashValue -> Text -> Url -> Text -> Text -> Text -> StatusCommit -> [Branch] -> DateString -> DateString -> Repository -> User -> StatusEvent statusEventId :: StatusEvent -> Int statusEventSha :: StatusEvent -> HashValue statusEventName :: StatusEvent -> Text statusEventTargetUrl :: StatusEvent -> Url statusEventContext :: StatusEvent -> Text statusEventDescription :: StatusEvent -> Text statusEventState :: StatusEvent -> Text statusEventCommit :: StatusEvent -> StatusCommit statusEventBranches :: StatusEvent -> [Branch] statusEventCreatedAt :: StatusEvent -> DateString statusEventUpdatedAt :: StatusEvent -> DateString statusEventRepository :: StatusEvent -> Repository statusEventSender :: StatusEvent -> User data Commit Commit :: HashValue -> Bool -> Text -> DateString -> Url -> SimpleUser -> SimpleUser -> [FilePath] -> [FilePath] -> [FilePath] -> Commit commitId :: Commit -> HashValue commitDistinct :: Commit -> Bool commitMessage :: Commit -> Text commitTimestamp :: Commit -> DateString commitUrl :: Commit -> Url commitAuthor :: Commit -> SimpleUser commitCommitter :: Commit -> SimpleUser commitAdded :: Commit -> [FilePath] commitRemoved :: Commit -> [FilePath] commitModified :: Commit -> [FilePath] data Repository Repository :: Int -> Text -> Text -> Either SimpleUser User -> Bool -> Url -> Text -> Bool -> 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 -> Url -> Either Int DateString -> DateString -> Either Int DateString -> 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 -> Either SimpleUser User repoPrivate :: Repository -> Bool repoHtmlUrl :: Repository -> Url repoDescription :: Repository -> Text repoFork :: Repository -> Bool repoUrl :: Repository -> Url 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 -> Either Int DateString repoUpdatedAt :: Repository -> DateString repoPushedAt :: Repository -> Either Int DateString 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 DateString -> SimpleUser simpleUserName :: SimpleUser -> Text simpleUserEmail :: SimpleUser -> Maybe EmailAddress simpleUserUsername :: SimpleUser -> Maybe Text simpleUserDate :: SimpleUser -> Maybe DateString data Branch Branch :: Text -> SimpleCommit -> Branch branchName :: Branch -> Text branchCommit :: Branch -> SimpleCommit data SimpleCommit SimpleCommit :: HashValue -> Url -> Maybe Url -> SimpleCommit simpleCommitSha :: SimpleCommit -> HashValue simpleCommitUrl :: SimpleCommit -> Url simpleCommitHtmlUrl :: SimpleCommit -> Maybe Url -- | used in StatusEvent data StatusCommit StatusCommit :: HashValue -> SimpleStatusCommit -> Url -> Url -> Url -> User -> User -> [SimpleCommit] -> StatusCommit statusCommitSha :: StatusCommit -> HashValue 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 :: HashValue -> Url -> Tree treeSha :: Tree -> HashValue treeUrl :: Tree -> Url type Url = ByteString type HashValue = ByteString type DateString = ByteString -- | Represents an email address. data EmailAddress :: * instance Typeable User instance Typeable Tree instance Typeable SimpleCommit instance Typeable Branch instance Typeable SimpleUser instance Typeable SimpleStatusCommit instance Typeable StatusCommit instance Typeable Repository instance Typeable Commit instance Typeable PushEvent instance Typeable StatusEvent instance Typeable Payload instance Typeable Or instance Show User instance Eq User instance Show Tree instance Eq Tree instance Show SimpleCommit instance Eq SimpleCommit instance Show Branch instance Eq Branch instance Show SimpleUser instance Eq SimpleUser instance Show SimpleStatusCommit instance Eq SimpleStatusCommit instance Show StatusCommit instance Eq StatusCommit instance Show Repository instance Eq Repository instance Show Commit instance Eq Commit instance Show PushEvent instance Eq PushEvent instance Show StatusEvent instance Eq StatusEvent instance Show Payload instance Eq Payload instance (Show a, Show b) => Show (Or a b) instance (Eq a, Eq b) => Eq (Or a b) 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 ByteString 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