package algebra
- Alphabetic
- Public
- All
Type Members
-
sealed
trait
AuthOp
[A] extends AnyRef
Auths ops ADT
-
class
AuthOps
[F[_]] extends AnyRef
Exposes Auths operations as a Free monadic algebra that may be combined with other Algebras via Coproduct
- final case class AuthorizeUrl (client_id: String, redirect_uri: String, scopes: List[String]) extends AuthOp[GHResponse[Authorize]] with Product with Serializable
- final case class CreateIssue (owner: String, repo: String, title: String, body: String, milestone: Option[Int], labels: List[String], assignees: List[String], accessToken: Option[String] = None) extends IssueOp[GHResponse[Issue]] with Product with Serializable
- final case class EditIssue (owner: String, repo: String, issue: Int, state: String, title: String, body: String, milestone: Option[Int], labels: List[String], assignees: List[String], accessToken: Option[String] = None) extends IssueOp[GHResponse[Issue]] with Product with Serializable
- final case class GetAccessToken (client_id: String, client_secret: String, code: String, redirect_uri: String, state: String) extends AuthOp[GHResponse[OAuthToken]] with Product with Serializable
- final case class GetAuthUser (accessToken: Option[String] = None) extends UserOp[GHResponse[User]] with Product with Serializable
- final case class GetRepo (owner: String, repo: String, accessToken: Option[String] = None) extends RepositoryOp[GHResponse[Repository]] with Product with Serializable
- final case class GetUser (username: String, accessToken: Option[String] = None) extends UserOp[GHResponse[User]] with Product with Serializable
- final case class GetUsers (since: Int, pagination: Option[Pagination] = None, accessToken: Option[String] = None) extends UserOp[GHResponse[List[User]]] with Product with Serializable
-
sealed
trait
GistOp
[A] extends AnyRef
Gist ops ADT
-
class
GistOps
[F[_]] extends AnyRef
Exposes Gists operations as a Free monadic algebra that may be combined with other Algebras via Coproduct
-
sealed
trait
IssueOp
[A] extends AnyRef
Issues ops ADT
-
class
IssueOps
[F[_]] extends AnyRef
Exposes Issue operations as a Free monadic algebra that may be combined with other Algebras via Coproduct
- final case class ListCommits (owner: String, repo: String, sha: Option[String] = None, path: Option[String] = None, author: Option[String] = None, since: Option[String] = None, until: Option[String] = None, pagination: Option[Pagination] = None, accessToken: Option[String] = None) extends RepositoryOp[GHResponse[List[Commit]]] with Product with Serializable
- final case class ListContributors (owner: String, repo: String, anon: Option[String] = None, accessToken: Option[String] = None) extends RepositoryOp[GHResponse[List[User]]] with Product with Serializable
- final case class ListIssues (owner: String, repo: String, accessToken: Option[String] = None) extends IssueOp[GHResponse[List[Issue]]] with Product with Serializable
- final case class NewAuth (username: String, password: String, scopes: List[String], note: String, client_id: String, client_secret: String) extends AuthOp[GHResponse[Authorization]] with Product with Serializable
- final case class NewGist (description: String, public: Boolean, files: Map[String, GistFile], accessToken: Option[String] = None) extends GistOp[GHResponse[Gist]] with Product with Serializable
-
sealed
trait
RepositoryOp
[A] extends AnyRef
Repositories ops ADT
-
class
RepositoryOps
[F[_]] extends AnyRef
Exposes Repositories operations as a Free monadic algebra that may be combined with other Algebras via Coproduct
- final case class SearchIssues (query: String, searchParams: List[SearchParam], accessToken: Option[String] = None) extends IssueOp[GHResponse[SearchIssuesResult]] with Product with Serializable
-
sealed
trait
UserOp
[A] extends AnyRef
Users ops ADT
-
class
UserOps
[F[_]] extends AnyRef
Exposes Users operations as a Free monadic algebra that may be combined with other Algebras via Coproduct
Value Members
-
object
AuthOps
Default implicit based DI factory from which instances of the AuthOps may be obtained
-
object
GistOps
Default implicit based DI factory from which instances of the GistOps may be obtained
-
object
IssueOps
Default implicit based DI factory from which instances of the IssueOps may be obtained
-
object
RepositoryOps
Default implicit based DI factory from which instances of the RepositoryOps may be obtained
-
object
UserOps
Default implicit based DI factory from which instances of the UserOps may be obtained