github-0.29: Access to the GitHub API, v3.
Safe HaskellSafe-Inferred
LanguageHaskell2010

GitHub.Data.Options

Description

Module with modifiers for pull requests' and issues' listings.

Synopsis

Common modifiers

stateOpen :: HasState mod => mod Source #

stateAll :: HasState mod => mod Source #

Pull Requests

Issues

Repo issues

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

optionsArtifactName :: Text -> ArtifactMod Source #

Filters artifacts by exact match on their name field.

Actions cache

Actions workflow runs

Data

data IssueState Source #

Constructors

StateOpen 
StateClosed 

Instances

Instances details
Data IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IssueState -> c IssueState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IssueState #

toConstr :: IssueState -> Constr #

dataTypeOf :: IssueState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IssueState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IssueState) #

gmapT :: (forall b. Data b => b -> b) -> IssueState -> IssueState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IssueState -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IssueState -> r #

gmapQ :: (forall d. Data d => d -> u) -> IssueState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IssueState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IssueState -> m IssueState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IssueState -> m IssueState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IssueState -> m IssueState #

Bounded IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Enum IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Generic IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Associated Types

type Rep IssueState :: Type -> Type #

Show IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Binary IssueState Source # 
Instance details

Defined in GitHub.Data.Options

NFData IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Methods

rnf :: IssueState -> () #

Eq IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Ord IssueState Source # 
Instance details

Defined in GitHub.Data.Options

FromJSON IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Methods

parseJSON :: Value -> Parser IssueState #

parseJSONList :: Value -> Parser [IssueState] #

ToJSON IssueState Source # 
Instance details

Defined in GitHub.Data.Options

Methods

toJSON :: IssueState -> Value #

toEncoding :: IssueState -> Encoding #

toJSONList :: [IssueState] -> Value #

toEncodingList :: [IssueState] -> Encoding #

type Rep IssueState Source # 
Instance details

Defined in GitHub.Data.Options

type Rep IssueState = D1 ('MetaData "IssueState" "GitHub.Data.Options" "github-0.29-inplace" 'False) (C1 ('MetaCons "StateOpen" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StateClosed" 'PrefixI 'False) (U1 :: Type -> Type))

data IssueStateReason Source #

Issue state reason

Instances

Instances details
Data IssueStateReason Source # 
Instance details

Defined in GitHub.Data.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IssueStateReason -> c IssueStateReason #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IssueStateReason #

toConstr :: IssueStateReason -> Constr #

dataTypeOf :: IssueStateReason -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IssueStateReason) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IssueStateReason) #

gmapT :: (forall b. Data b => b -> b) -> IssueStateReason -> IssueStateReason #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IssueStateReason -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IssueStateReason -> r #

gmapQ :: (forall d. Data d => d -> u) -> IssueStateReason -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IssueStateReason -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IssueStateReason -> m IssueStateReason #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IssueStateReason -> m IssueStateReason #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IssueStateReason -> m IssueStateReason #

Bounded IssueStateReason Source # 
Instance details

Defined in GitHub.Data.Options

Enum IssueStateReason Source # 
Instance details

Defined in GitHub.Data.Options

Generic IssueStateReason Source # 
Instance details

Defined in GitHub.Data.Options

Associated Types

type Rep IssueStateReason :: Type -> Type #

Show IssueStateReason Source # 
Instance details

Defined in GitHub.Data.Options

Binary IssueStateReason Source # 
Instance details

Defined in GitHub.Data.Options

NFData IssueStateReason Source # 
Instance details

Defined in GitHub.Data.Options

Methods

rnf :: IssueStateReason -> () #

Eq IssueStateReason Source # 
Instance details

Defined in GitHub.Data.Options

Ord IssueStateReason Source # 
Instance details

Defined in GitHub.Data.Options

FromJSON IssueStateReason Source # 
Instance details

Defined in GitHub.Data.Options

ToJSON IssueStateReason Source # 
Instance details

Defined in GitHub.Data.Options

type Rep IssueStateReason Source # 
Instance details

Defined in GitHub.Data.Options

type Rep IssueStateReason = D1 ('MetaData "IssueStateReason" "GitHub.Data.Options" "github-0.29-inplace" 'False) (C1 ('MetaCons "StateReasonCompleted" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "StateReasonNotPlanned" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StateReasonReopened" 'PrefixI 'False) (U1 :: Type -> Type)))

data MergeableState Source #

PullRequest mergeable_state

Instances

Instances details
Data MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MergeableState -> c MergeableState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MergeableState #

toConstr :: MergeableState -> Constr #

dataTypeOf :: MergeableState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MergeableState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MergeableState) #

gmapT :: (forall b. Data b => b -> b) -> MergeableState -> MergeableState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MergeableState -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MergeableState -> r #

gmapQ :: (forall d. Data d => d -> u) -> MergeableState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MergeableState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MergeableState -> m MergeableState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MergeableState -> m MergeableState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MergeableState -> m MergeableState #

Bounded MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Enum MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Generic MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Associated Types

type Rep MergeableState :: Type -> Type #

Show MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Binary MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

NFData MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Methods

rnf :: MergeableState -> () #

Eq MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

Ord MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

FromJSON MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

ToJSON MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

type Rep MergeableState Source # 
Instance details

Defined in GitHub.Data.Options

type Rep MergeableState = D1 ('MetaData "MergeableState" "GitHub.Data.Options" "github-0.29-inplace" 'False) ((C1 ('MetaCons "StateUnknown" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "StateClean" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StateDirty" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "StateUnstable" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StateBlocked" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "StateBehind" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StateDraft" 'PrefixI 'False) (U1 :: Type -> Type))))

Internal

class HasState mod Source #

Minimal complete definition

state

Instances

Instances details
HasState IssueMod Source # 
Instance details

Defined in GitHub.Data.Options

HasState IssueRepoMod Source # 
Instance details

Defined in GitHub.Data.Options

HasState PullRequestMod Source # 
Instance details

Defined in GitHub.Data.Options

class HasDirection mod Source #

Minimal complete definition

sortDir

Instances

Instances details
HasDirection IssueMod Source # 
Instance details

Defined in GitHub.Data.Options

Methods

sortDir :: SortDirection -> IssueMod

HasDirection IssueRepoMod Source # 
Instance details

Defined in GitHub.Data.Options

Methods

sortDir :: SortDirection -> IssueRepoMod

HasDirection PullRequestMod Source # 
Instance details

Defined in GitHub.Data.Options

Methods

sortDir :: SortDirection -> PullRequestMod

class HasComments mod Source #

Minimal complete definition

sortByComments

Instances

Instances details
HasComments IssueMod Source # 
Instance details

Defined in GitHub.Data.Options

HasComments IssueRepoMod Source # 
Instance details

Defined in GitHub.Data.Options

class HasLabels mod Source #

Minimal complete definition

optionsLabels

Instances

Instances details
HasLabels IssueMod Source # 
Instance details

Defined in GitHub.Data.Options

HasLabels IssueRepoMod Source # 
Instance details

Defined in GitHub.Data.Options

class HasSince mod Source #

Minimal complete definition

optionsSince, optionsSinceAll