You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
535 B
17 lines
535 B
1 year ago
|
using Octokit;
|
||
1 year ago
|
using Refit;
|
||
|
|
||
1 year ago
|
namespace StabilityMatrix.Core.Helper.Cache;
|
||
1 year ago
|
|
||
|
public interface IGithubApiCache
|
||
|
{
|
||
1 year ago
|
Task<Release> GetLatestRelease(string username, string repository);
|
||
1 year ago
|
|
||
1 year ago
|
Task<IOrderedEnumerable<Release>> GetAllReleases(string username, string repository);
|
||
1 year ago
|
|
||
1 year ago
|
Task<IReadOnlyList<Branch>> GetAllBranches(string username, string repository);
|
||
1 year ago
|
|
||
1 year ago
|
Task<IReadOnlyList<GitHubCommit>?> GetAllCommits(string username, string repository, string branch, int page = 1,
|
||
1 year ago
|
[AliasAs("per_page")] int perPage = 10);
|
||
|
}
|