| License | BSD-3-Clause |
|---|---|
| Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
| Safe Haskell | None |
| Language | Haskell2010 |
GitHub.Data
Description
This module re-exports the GitHub.Data. and Github.Auth submodules.
- data Name entity
- mkName :: proxy entity -> Text -> Name entity
- untagName :: Name entity -> Text
- mkOwnerName :: Text -> Name Owner
- mkTeamName :: Text -> Name Team
- mkOrganizationName :: Text -> Name Organization
- mkRepoName :: Text -> Name Repo
- fromUserName :: Name User -> Name Owner
- fromOrganizationName :: Name Organization -> Name Owner
- data Id entity
- mkId :: proxy entity -> Int -> Id entity
- untagId :: Id entity -> Int
- mkOwnerId :: Int -> Id Owner
- mkTeamId :: Int -> Id Team
- mkOrganizationId :: Int -> Id Organization
- mkRepoId :: Int -> Id Repo
- module GitHub.Auth
- module GitHub.Data.Comments
- module GitHub.Data.Content
- module GitHub.Data.Definitions
- module GitHub.Data.Gists
- module GitHub.Data.GitData
- module GitHub.Data.Issues
- module GitHub.Data.PullRequests
- module GitHub.Data.Repos
- module GitHub.Data.Request
- module GitHub.Data.Search
- module GitHub.Data.Teams
- module GitHub.Data.Webhooks
Tagged types
Name
Instances
| Eq (Name entity) Source | |
| Data entity => Data (Name entity) Source | |
| Ord (Name entity) Source | |
| Show (Name entity) Source | |
| IsString (Name entity) Source | |
| Generic (Name entity) Source | |
| ToJSON (Name entity) Source | |
| FromJSON (Name entity) Source | |
| Binary (Name entity) Source | |
| NFData (Name entity) Source | |
| Hashable (Name entity) Source | |
| IsPathPart (Name a) Source | |
| type Rep (Name entity) Source |
mkOwnerName :: Text -> Name Owner Source
mkTeamName :: Text -> Name Team Source
mkRepoName :: Text -> Name Repo Source
Id
Numeric identifier.
Instances
| Eq (Id entity) Source | |
| Data entity => Data (Id entity) Source | |
| Ord (Id entity) Source | |
| Show (Id entity) Source | |
| Generic (Id entity) Source | |
| ToJSON (Id entity) Source | |
| FromJSON (Id entity) Source | |
| Binary (Id entity) Source | |
| NFData (Id entity) Source | |
| Hashable (Id entity) Source | |
| IsPathPart (Id a) Source | |
| type Rep (Id entity) Source |
mkOrganizationId :: Int -> Id Organization Source
Module re-exports
module GitHub.Auth
module GitHub.Data.Comments
module GitHub.Data.Content
module GitHub.Data.Definitions
module GitHub.Data.Gists
module GitHub.Data.GitData
module GitHub.Data.Issues
module GitHub.Data.PullRequests
module GitHub.Data.Repos
module GitHub.Data.Request
module GitHub.Data.Search
module GitHub.Data.Teams
module GitHub.Data.Webhooks