| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Github.Data.Definitions
- data CommitQueryOption
- data Error
- data SimpleOwner
- = SimpleUserOwner {
- simpleOwnerAvatarUrl :: !Text
- simpleOwnerLogin :: !(Name GithubOwner)
- simpleOwnerUrl :: !Text
- simpleOwnerId :: !(Id GithubOwner)
- simpleOwnerGravatarId :: !(Maybe Text)
- | SimpleOrganizationOwner {
- simpleOwnerAvatarUrl :: !Text
- simpleOwnerLogin :: !(Name GithubOwner)
- simpleOwnerUrl :: !Text
- simpleOwnerId :: !(Id GithubOwner)
- = SimpleUserOwner {
- data Stats = Stats {
- statsAdditions :: !Int
- statsTotal :: !Int
- statsDeletions :: !Int
- data Comment = Comment {
- commentPosition :: !(Maybe Int)
- commentLine :: !(Maybe Int)
- commentBody :: !Text
- commentCommitId :: !(Maybe Text)
- commentUpdatedAt :: !UTCTime
- commentHtmlUrl :: !(Maybe Text)
- commentUrl :: !Text
- commentCreatedAt :: !(Maybe UTCTime)
- commentPath :: !(Maybe Text)
- commentUser :: !SimpleOwner
- commentId :: !(Id Comment)
- data NewComment = NewComment {
- newCommentBody :: !Text
- data EditComment = EditComment {
- editCommentBody :: !Text
- data SimpleOrganization = SimpleOrganization {}
- data Organization = Organization {
- organizationType :: !Text
- organizationBlog :: !(Maybe Text)
- organizationLocation :: !(Maybe Text)
- organizationLogin :: !(Name Organization)
- organizationFollowers :: !Int
- organizationCompany :: !(Maybe Text)
- organizationAvatarUrl :: !Text
- organizationPublicGists :: !Int
- organizationHtmlUrl :: !Text
- organizationEmail :: !(Maybe Text)
- organizationFollowing :: !Int
- organizationPublicRepos :: !Int
- organizationUrl :: !Text
- organizationCreatedAt :: !UTCTime
- organizationName :: !(Maybe Text)
- organizationId :: !(Id Organization)
- data Content
- data ContentFileData = ContentFileData {}
- data ContentItem = ContentItem {}
- data ContentItemType
- data ContentInfo = ContentInfo {
- contentName :: !Text
- contentPath :: !Text
- contentSha :: !Text
- contentUrl :: !Text
- contentGitUrl :: !Text
- contentHtmlUrl :: !Text
- data Contributor
- data GithubOwner
- = GithubUser {
- githubOwnerCreatedAt :: !UTCTime
- githubOwnerType :: !Text
- githubOwnerPublicGists :: !Int
- githubOwnerAvatarUrl :: !Text
- githubOwnerFollowers :: !Int
- githubOwnerFollowing :: !Int
- githubOwnerHireable :: !(Maybe Bool)
- githubOwnerGravatarId :: !(Maybe Text)
- githubOwnerBlog :: !(Maybe Text)
- githubOwnerBio :: !(Maybe Text)
- githubOwnerPublicRepos :: !Int
- githubOwnerName :: !(Maybe Text)
- githubOwnerLocation :: !(Maybe Text)
- githubOwnerCompany :: !(Maybe Text)
- githubOwnerEmail :: !(Maybe Text)
- githubOwnerUrl :: !Text
- githubOwnerId :: !(Id GithubOwner)
- githubOwnerHtmlUrl :: !Text
- githubOwnerLogin :: !(Name GithubOwner)
- | GithubOrganization {
- githubOwnerCreatedAt :: !UTCTime
- githubOwnerType :: !Text
- githubOwnerPublicGists :: !Int
- githubOwnerAvatarUrl :: !Text
- githubOwnerFollowers :: !Int
- githubOwnerFollowing :: !Int
- githubOwnerBlog :: !(Maybe Text)
- githubOwnerBio :: !(Maybe Text)
- githubOwnerPublicRepos :: !Int
- githubOwnerName :: !(Maybe Text)
- githubOwnerLocation :: !(Maybe Text)
- githubOwnerCompany :: !(Maybe Text)
- githubOwnerUrl :: !Text
- githubOwnerId :: !(Id GithubOwner)
- githubOwnerHtmlUrl :: !Text
- githubOwnerLogin :: !(Name GithubOwner)
- = GithubUser {
Documentation
data CommitQueryOption Source
The options for querying commits.
Constructors
| CommitQuerySha !Text | |
| CommitQueryPath !Text | |
| CommitQueryAuthor !Text | |
| CommitQuerySince !UTCTime | |
| CommitQueryUntil !UTCTime |
Errors have been tagged according to their source, so you can more easily dispatch and handle them.
Constructors
| HTTPConnectionError SomeException | A HTTP error occurred. The actual caught error is included. |
| ParseError Text | An error in the parser itself. |
| JsonError Text | The JSON is malformed or unexpected. |
| UserError Text | Incorrect input. |
data SimpleOwner Source
Constructors
| SimpleUserOwner | |
Fields
| |
| SimpleOrganizationOwner | |
Fields
| |
Constructors
| Stats | |
Fields
| |
Constructors
| Comment | |
Fields
| |
data NewComment Source
Constructors
| NewComment | |
Fields
| |
data EditComment Source
Constructors
| EditComment | |
Fields
| |
data SimpleOrganization Source
Constructors
| SimpleOrganization | |
Fields | |
data Organization Source
Constructors
| Organization | |
Fields
| |
Constructors
| ContentFile ContentFileData | |
| ContentDirectory (Vector ContentItem) |
data ContentFileData Source
Constructors
| ContentFileData | |
Fields
| |
data ContentItemType Source
data ContentInfo Source
Information common to both kinds of Content: files and directories.
Constructors
| ContentInfo | |
Fields
| |
data Contributor Source
Constructors
| KnownContributor Int Text (Name Contributor) Text (Id Contributor) Text | An existing Github user, with their number of contributions, avatar URL, login, URL, ID, and Gravatar ID. |
| AnonymousContributor Int Text | An unknown Github user with their number of contributions and recorded name. |
data GithubOwner Source
Constructors