Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Module with modifiers for pull requests' and issues' listings.
Synopsis
- stateOpen :: HasState mod => mod
- stateClosed :: HasState mod => mod
- stateAll :: HasState mod => mod
- sortAscending :: HasDirection mod => mod
- sortDescending :: HasDirection mod => mod
- sortByCreated :: HasCreatedUpdated mod => mod
- sortByUpdated :: HasCreatedUpdated mod => mod
- data PullRequestMod
- prModToQueryString :: PullRequestMod -> QueryString
- optionsBase :: Text -> PullRequestMod
- optionsNoBase :: PullRequestMod
- optionsHead :: Text -> PullRequestMod
- optionsNoHead :: PullRequestMod
- sortByPopularity :: PullRequestMod
- sortByLongRunning :: PullRequestMod
- data IssueMod
- issueModToQueryString :: IssueMod -> QueryString
- sortByComments :: HasComments mod => mod
- optionsLabels :: (HasLabels mod, Foldable f) => f (Name IssueLabel) -> mod
- optionsSince :: HasSince mod => UTCTime -> mod
- optionsSinceAll :: HasSince mod => mod
- optionsAssignedIssues :: IssueMod
- optionsCreatedIssues :: IssueMod
- optionsMentionedIssues :: IssueMod
- optionsSubscribedIssues :: IssueMod
- optionsAllIssues :: IssueMod
- data IssueRepoMod
- issueRepoModToQueryString :: IssueRepoMod -> QueryString
- optionsCreator :: Name User -> IssueRepoMod
- optionsMentioned :: Name User -> IssueRepoMod
- optionsIrrelevantMilestone :: IssueRepoMod
- optionsAnyMilestone :: IssueRepoMod
- optionsNoMilestone :: IssueRepoMod
- optionsMilestone :: Id Milestone -> IssueRepoMod
- optionsIrrelevantAssignee :: IssueRepoMod
- optionsAnyAssignee :: IssueRepoMod
- optionsNoAssignee :: IssueRepoMod
- optionsAssignee :: Name User -> IssueRepoMod
- data ArtifactMod
- artifactModToQueryString :: ArtifactMod -> QueryString
- optionsArtifactName :: Text -> ArtifactMod
- data CacheMod
- cacheModToQueryString :: CacheMod -> QueryString
- optionsRef :: Text -> CacheMod
- optionsNoRef :: CacheMod
- optionsKey :: Text -> CacheMod
- optionsNoKey :: CacheMod
- optionsDirectionAsc :: CacheMod
- optionsDirectionDesc :: CacheMod
- sortByCreatedAt :: CacheMod
- sortByLastAccessedAt :: CacheMod
- sortBySizeInBytes :: CacheMod
- data WorkflowRunMod
- workflowRunModToQueryString :: WorkflowRunMod -> QueryString
- optionsWorkflowRunActor :: Text -> WorkflowRunMod
- optionsWorkflowRunBranch :: Text -> WorkflowRunMod
- optionsWorkflowRunEvent :: Text -> WorkflowRunMod
- optionsWorkflowRunStatus :: Text -> WorkflowRunMod
- optionsWorkflowRunCreated :: Text -> WorkflowRunMod
- optionsWorkflowRunHeadSha :: Text -> WorkflowRunMod
- data IssueState
- data IssueStateReason
- data MergeableState
- class HasState mod
- class HasDirection mod
- class HasCreatedUpdated mod
- class HasComments mod
- class HasLabels mod
- class HasSince mod
Common modifiers
stateClosed :: HasState mod => mod Source #
sortAscending :: HasDirection mod => mod Source #
sortDescending :: HasDirection mod => mod Source #
sortByCreated :: HasCreatedUpdated mod => mod Source #
sortByUpdated :: HasCreatedUpdated mod => mod Source #
Pull Requests
data PullRequestMod Source #
Instances
Monoid PullRequestMod Source # | |
Defined in GitHub.Data.Options mappend :: PullRequestMod -> PullRequestMod -> PullRequestMod # mconcat :: [PullRequestMod] -> PullRequestMod # | |
Semigroup PullRequestMod Source # | |
Defined in GitHub.Data.Options (<>) :: PullRequestMod -> PullRequestMod -> PullRequestMod # sconcat :: NonEmpty PullRequestMod -> PullRequestMod # stimes :: Integral b => b -> PullRequestMod -> PullRequestMod # | |
HasCreatedUpdated PullRequestMod Source # | |
Defined in GitHub.Data.Options | |
HasDirection PullRequestMod Source # | |
Defined in GitHub.Data.Options sortDir :: SortDirection -> PullRequestMod | |
HasState PullRequestMod Source # | |
Defined in GitHub.Data.Options state :: Maybe IssueState -> PullRequestMod |
optionsBase :: Text -> PullRequestMod Source #
optionsHead :: Text -> PullRequestMod Source #
Issues
Instances
Monoid IssueMod Source # | |
Semigroup IssueMod Source # | |
HasComments IssueMod Source # | |
Defined in GitHub.Data.Options | |
HasCreatedUpdated IssueMod Source # | |
Defined in GitHub.Data.Options | |
HasDirection IssueMod Source # | |
Defined in GitHub.Data.Options | |
HasLabels IssueMod Source # | |
Defined in GitHub.Data.Options optionsLabels :: Foldable f => f (Name IssueLabel) -> IssueMod Source # | |
HasSince IssueMod Source # | |
Defined in GitHub.Data.Options optionsSince :: UTCTime -> IssueMod Source # | |
HasState IssueMod Source # | |
Defined in GitHub.Data.Options state :: Maybe IssueState -> IssueMod |
sortByComments :: HasComments mod => mod Source #
optionsLabels :: (HasLabels mod, Foldable f) => f (Name IssueLabel) -> mod Source #
optionsSince :: HasSince mod => UTCTime -> mod Source #
optionsSinceAll :: HasSince mod => mod Source #
Repo issues
data IssueRepoMod Source #
Instances
Monoid IssueRepoMod Source # | |
Defined in GitHub.Data.Options mempty :: IssueRepoMod # mappend :: IssueRepoMod -> IssueRepoMod -> IssueRepoMod # mconcat :: [IssueRepoMod] -> IssueRepoMod # | |
Semigroup IssueRepoMod Source # | |
Defined in GitHub.Data.Options (<>) :: IssueRepoMod -> IssueRepoMod -> IssueRepoMod # sconcat :: NonEmpty IssueRepoMod -> IssueRepoMod # stimes :: Integral b => b -> IssueRepoMod -> IssueRepoMod # | |
HasComments IssueRepoMod Source # | |
Defined in GitHub.Data.Options | |
HasCreatedUpdated IssueRepoMod Source # | |
Defined in GitHub.Data.Options | |
HasDirection IssueRepoMod Source # | |
Defined in GitHub.Data.Options sortDir :: SortDirection -> IssueRepoMod | |
HasLabels IssueRepoMod Source # | |
Defined in GitHub.Data.Options optionsLabels :: Foldable f => f (Name IssueLabel) -> IssueRepoMod Source # | |
HasSince IssueRepoMod Source # | |
Defined in GitHub.Data.Options | |
HasState IssueRepoMod Source # | |
Defined in GitHub.Data.Options state :: Maybe IssueState -> IssueRepoMod |
optionsCreator :: Name User -> IssueRepoMod Source #
Issues created by a certain user.
optionsMentioned :: Name User -> IssueRepoMod Source #
Issue mentioning the given user.
optionsIrrelevantMilestone :: IssueRepoMod Source #
Don't care about milestones (default).
optionsAnyMilestone
means there should be some milestone, but it can be any.
See https://developer.github.com/v3/issues/#list-issues-for-a-repository
optionsAnyMilestone :: IssueRepoMod Source #
Issues that have a milestone.
optionsNoMilestone :: IssueRepoMod Source #
Issues that have no milestone.
optionsMilestone :: Id Milestone -> IssueRepoMod Source #
Issues with the given milestone.
optionsIrrelevantAssignee :: IssueRepoMod Source #
Issues with or without assignee (default).
optionsAnyAssignee :: IssueRepoMod Source #
Issues assigned to someone.
optionsNoAssignee :: IssueRepoMod Source #
Issues assigned to nobody.
optionsAssignee :: Name User -> IssueRepoMod Source #
Issues assigned to a specific user.
Actions artifacts
data ArtifactMod Source #
Instances
Monoid ArtifactMod Source # | |
Defined in GitHub.Data.Options mempty :: ArtifactMod # mappend :: ArtifactMod -> ArtifactMod -> ArtifactMod # mconcat :: [ArtifactMod] -> ArtifactMod # | |
Semigroup ArtifactMod Source # | |
Defined in GitHub.Data.Options (<>) :: ArtifactMod -> ArtifactMod -> ArtifactMod # sconcat :: NonEmpty ArtifactMod -> ArtifactMod # stimes :: Integral b => b -> ArtifactMod -> ArtifactMod # |
optionsArtifactName :: Text -> ArtifactMod Source #
Filters artifacts by exact match on their name field.
Actions cache
optionsRef :: Text -> CacheMod Source #
optionsKey :: Text -> CacheMod Source #
Actions workflow runs
data WorkflowRunMod Source #
Instances
Monoid WorkflowRunMod Source # | |
Defined in GitHub.Data.Options mappend :: WorkflowRunMod -> WorkflowRunMod -> WorkflowRunMod # mconcat :: [WorkflowRunMod] -> WorkflowRunMod # | |
Semigroup WorkflowRunMod Source # | |
Defined in GitHub.Data.Options (<>) :: WorkflowRunMod -> WorkflowRunMod -> WorkflowRunMod # sconcat :: NonEmpty WorkflowRunMod -> WorkflowRunMod # stimes :: Integral b => b -> WorkflowRunMod -> WorkflowRunMod # |
Data
data IssueState Source #
Issue
or PullRequest
state
Instances
data IssueStateReason Source #
Issue
state reason
Instances
data MergeableState Source #
PullRequest
mergeable_state
Instances
Internal
state
Instances
HasState IssueMod Source # | |
Defined in GitHub.Data.Options state :: Maybe IssueState -> IssueMod | |
HasState IssueRepoMod Source # | |
Defined in GitHub.Data.Options state :: Maybe IssueState -> IssueRepoMod | |
HasState PullRequestMod Source # | |
Defined in GitHub.Data.Options state :: Maybe IssueState -> PullRequestMod |
class HasDirection mod Source #
sortDir
Instances
HasDirection IssueMod Source # | |
Defined in GitHub.Data.Options | |
HasDirection IssueRepoMod Source # | |
Defined in GitHub.Data.Options sortDir :: SortDirection -> IssueRepoMod | |
HasDirection PullRequestMod Source # | |
Defined in GitHub.Data.Options sortDir :: SortDirection -> PullRequestMod |
class HasCreatedUpdated mod Source #
Instances
HasCreatedUpdated IssueMod Source # | |
Defined in GitHub.Data.Options | |
HasCreatedUpdated IssueRepoMod Source # | |
Defined in GitHub.Data.Options | |
HasCreatedUpdated PullRequestMod Source # | |
Defined in GitHub.Data.Options |
class HasComments mod Source #
Instances
HasComments IssueMod Source # | |
Defined in GitHub.Data.Options | |
HasComments IssueRepoMod Source # | |
Defined in GitHub.Data.Options |
Instances
HasLabels IssueMod Source # | |
Defined in GitHub.Data.Options optionsLabels :: Foldable f => f (Name IssueLabel) -> IssueMod Source # | |
HasLabels IssueRepoMod Source # | |
Defined in GitHub.Data.Options optionsLabels :: Foldable f => f (Name IssueLabel) -> IssueRepoMod Source # |
Instances
HasSince IssueMod Source # | |
Defined in GitHub.Data.Options optionsSince :: UTCTime -> IssueMod Source # | |
HasSince IssueRepoMod Source # | |
Defined in GitHub.Data.Options |