Copyright | (c) Denis Shevchenko, 2016 |
---|---|
License | MIT |
Maintainer | me@dshevchenko.biz |
Stability | alpha |
Safe Haskell | None |
Language | Haskell2010 |
Common types for work with CircleCI API.
- newtype AccountAPIToken = AccountAPIToken Token
- type Token = Text
- type UserName = Text
- type ProjectName = Text
- type BranchName = Text
- newtype BuildNumber = BuildNumber Int
- type Email = Text
- type CircleCIResponse a = ReaderT AccountAPIToken IO (Either ServantError a)
- data ProjectPoint = ProjectPoint {}
- type ErrorMessage = Text
Documentation
newtype AccountAPIToken Source
CircleCI account API token. List of account API tokens can be found at https://circleci.com/account/api.
type ProjectName = Text Source
GitHub project name.
type BranchName = Text Source
GitHub branch name.
newtype BuildNumber Source
Number of project's build on CircleCI.
type CircleCIResponse a = ReaderT AccountAPIToken IO (Either ServantError a) Source
Response from CircleCI.
data ProjectPoint Source
GitHub project identifier, composed from user name and project name.
ProjectPoint | |
|
type ErrorMessage = Text Source
Message about some problem.