Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Repo = Repo {
- repoId :: !(Id Repo)
- repoName :: !(Name Repo)
- repoOwner :: !SimpleOwner
- repoPrivate :: !Bool
- repoHtmlUrl :: !URL
- repoDescription :: !(Maybe Text)
- repoFork :: !(Maybe Bool)
- repoUrl :: !URL
- repoGitUrl :: !(Maybe URL)
- repoSshUrl :: !(Maybe URL)
- repoCloneUrl :: !(Maybe URL)
- repoHooksUrl :: !URL
- repoSvnUrl :: !(Maybe URL)
- repoHomepage :: !(Maybe Text)
- repoLanguage :: !(Maybe Language)
- repoForksCount :: !Int
- repoStargazersCount :: !Int
- repoWatchersCount :: !Int
- repoSize :: !(Maybe Int)
- repoDefaultBranch :: !(Maybe Text)
- repoOpenIssuesCount :: !Int
- repoHasIssues :: !(Maybe Bool)
- repoHasProjects :: !(Maybe Bool)
- repoHasWiki :: !(Maybe Bool)
- repoHasPages :: !(Maybe Bool)
- repoHasDownloads :: !(Maybe Bool)
- repoArchived :: !Bool
- repoDisabled :: !Bool
- repoPushedAt :: !(Maybe UTCTime)
- repoCreatedAt :: !(Maybe UTCTime)
- repoUpdatedAt :: !(Maybe UTCTime)
- repoPermissions :: !(Maybe RepoPermissions)
- data CodeSearchRepo = CodeSearchRepo {
- codeSearchRepoId :: !(Id Repo)
- codeSearchRepoName :: !(Name Repo)
- codeSearchRepoOwner :: !SimpleOwner
- codeSearchRepoPrivate :: !Bool
- codeSearchRepoHtmlUrl :: !URL
- codeSearchRepoDescription :: !(Maybe Text)
- codeSearchRepoFork :: !(Maybe Bool)
- codeSearchRepoUrl :: !URL
- codeSearchRepoGitUrl :: !(Maybe URL)
- codeSearchRepoSshUrl :: !(Maybe URL)
- codeSearchRepoCloneUrl :: !(Maybe URL)
- codeSearchRepoHooksUrl :: !URL
- codeSearchRepoSvnUrl :: !(Maybe URL)
- codeSearchRepoHomepage :: !(Maybe Text)
- codeSearchRepoLanguage :: !(Maybe Language)
- codeSearchRepoSize :: !(Maybe Int)
- codeSearchRepoDefaultBranch :: !(Maybe Text)
- codeSearchRepoHasIssues :: !(Maybe Bool)
- codeSearchRepoHasProjects :: !(Maybe Bool)
- codeSearchRepoHasWiki :: !(Maybe Bool)
- codeSearchRepoHasPages :: !(Maybe Bool)
- codeSearchRepoHasDownloads :: !(Maybe Bool)
- codeSearchRepoArchived :: !Bool
- codeSearchRepoDisabled :: !Bool
- codeSearchRepoPushedAt :: !(Maybe UTCTime)
- codeSearchRepoCreatedAt :: !(Maybe UTCTime)
- codeSearchRepoUpdatedAt :: !(Maybe UTCTime)
- codeSearchRepoPermissions :: !(Maybe RepoPermissions)
- data RepoPermissions = RepoPermissions {}
- data RepoRef = RepoRef {
- repoRefOwner :: !SimpleOwner
- repoRefRepo :: !(Name Repo)
- data NewRepo = NewRepo {
- newRepoName :: !(Name Repo)
- newRepoDescription :: !(Maybe Text)
- newRepoHomepage :: !(Maybe Text)
- newRepoPrivate :: !(Maybe Bool)
- newRepoHasIssues :: !(Maybe Bool)
- newRepoHasProjects :: !(Maybe Bool)
- newRepoHasWiki :: !(Maybe Bool)
- newRepoAutoInit :: !(Maybe Bool)
- newRepoGitignoreTemplate :: !(Maybe Text)
- newRepoLicenseTemplate :: !(Maybe Text)
- newRepoAllowSquashMerge :: !(Maybe Bool)
- newRepoAllowMergeCommit :: !(Maybe Bool)
- newRepoAllowRebaseMerge :: !(Maybe Bool)
- newRepo :: Name Repo -> NewRepo
- data EditRepo = EditRepo {
- editName :: !(Maybe (Name Repo))
- editDescription :: !(Maybe Text)
- editHomepage :: !(Maybe Text)
- editPrivate :: !(Maybe Bool)
- editHasIssues :: !(Maybe Bool)
- editHasProjects :: !(Maybe Bool)
- editHasWiki :: !(Maybe Bool)
- editDefaultBranch :: !(Maybe Text)
- editAllowSquashMerge :: !(Maybe Bool)
- editAllowMergeCommit :: !(Maybe Bool)
- editAllowRebaseMerge :: !(Maybe Bool)
- editArchived :: !(Maybe Bool)
- data RepoPublicity
- type Languages = HashMap Language Int
- newtype Language = Language Text
- getLanguage :: Language -> Text
- data Contributor
- contributorToSimpleUser :: Contributor -> Maybe SimpleUser
- data CollaboratorPermission
- data CollaboratorWithPermission = CollaboratorWithPermission SimpleUser CollaboratorPermission
- data ArchiveFormat
Documentation
Repo | |
|
Instances
data CodeSearchRepo Source #
Instances
data RepoPermissions Source #
Repository permissions, as they relate to the authenticated user.
Returned by for example currentUserReposR
RepoPermissions | |
|
Instances
RepoRef | |
|
Instances
Data RepoRef Source # | |
Defined in GitHub.Data.Repos gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepoRef -> c RepoRef # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepoRef # toConstr :: RepoRef -> Constr # dataTypeOf :: RepoRef -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RepoRef) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepoRef) # gmapT :: (forall b. Data b => b -> b) -> RepoRef -> RepoRef # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepoRef -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepoRef -> r # gmapQ :: (forall d. Data d => d -> u) -> RepoRef -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> RepoRef -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepoRef -> m RepoRef # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoRef -> m RepoRef # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoRef -> m RepoRef # | |
Generic RepoRef Source # | |
Show RepoRef Source # | |
Binary RepoRef Source # | |
NFData RepoRef Source # | |
Defined in GitHub.Data.Repos | |
Eq RepoRef Source # | |
Ord RepoRef Source # | |
FromJSON RepoRef Source # | |
Defined in GitHub.Data.Repos | |
type Rep RepoRef Source # | |
Defined in GitHub.Data.Repos type Rep RepoRef = D1 ('MetaData "RepoRef" "GitHub.Data.Repos" "github-0.29-inplace" 'False) (C1 ('MetaCons "RepoRef" 'PrefixI 'True) (S1 ('MetaSel ('Just "repoRefOwner") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SimpleOwner) :*: S1 ('MetaSel ('Just "repoRefRepo") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Name Repo)))) |
NewRepo | |
|
Instances
EditRepo | |
|
Instances
data RepoPublicity Source #
Filter the list of the user's repos using any of these constructors.
RepoPublicityAll | All repos accessible to the user. |
RepoPublicityOwner | Only repos owned by the user. |
RepoPublicityPublic | Only public repos. |
RepoPublicityPrivate | Only private repos. |
RepoPublicityMember | Only repos to which the user is a member but not an owner. |
Instances
type Languages = HashMap Language Int Source #
The value is the number of bytes of code written in that language.
A programming language.
Instances
Data Language Source # | |
Defined in GitHub.Data.Repos gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Language -> c Language # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Language # toConstr :: Language -> Constr # dataTypeOf :: Language -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Language) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Language) # gmapT :: (forall b. Data b => b -> b) -> Language -> Language # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Language -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Language -> r # gmapQ :: (forall d. Data d => d -> u) -> Language -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Language -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Language -> m Language # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Language -> m Language # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Language -> m Language # | |
IsString Language Source # | |
Defined in GitHub.Data.Repos fromString :: String -> Language # | |
Generic Language Source # | |
Show Language Source # | |
Binary Language Source # | |
NFData Language Source # | |
Defined in GitHub.Data.Repos | |
Eq Language Source # | |
Ord Language Source # | |
Defined in GitHub.Data.Repos | |
Hashable Language Source # | |
Defined in GitHub.Data.Repos | |
FromJSON Language Source # | |
Defined in GitHub.Data.Repos | |
FromJSONKey Language Source # | |
Defined in GitHub.Data.Repos fromJSONKey :: FromJSONKeyFunction Language fromJSONKeyList :: FromJSONKeyFunction [Language] | |
ToJSON Language Source # | |
Defined in GitHub.Data.Repos toEncoding :: Language -> Encoding # toJSONList :: [Language] -> Value # toEncodingList :: [Language] -> Encoding # | |
type Rep Language Source # | |
Defined in GitHub.Data.Repos |
getLanguage :: Language -> Text Source #
data Contributor Source #
KnownContributor !Int !URL !(Name User) !URL !(Id User) !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. |
Instances
data CollaboratorPermission Source #
The permission of a collaborator on a repository. See https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level
CollaboratorPermissionAdmin | |
CollaboratorPermissionWrite | |
CollaboratorPermissionRead | |
CollaboratorPermissionNone |
Instances
data CollaboratorWithPermission Source #
A collaborator and its permission on a repository. See https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level
Instances
data ArchiveFormat Source #
ArchiveFormatTarball | ".tar.gz" format |
ArchiveFormatZipball | ".zip" format |