initial commit
This commit is contained in:
18
BlueMine/Redmine/IRedmineConnect.cs
Normal file
18
BlueMine/Redmine/IRedmineConnect.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using static BlueMine.Redmine.RedmineDto;
|
||||
|
||||
namespace BlueMine.Redmine
|
||||
{
|
||||
public interface IRedmineConnect
|
||||
{
|
||||
Task LogTimeAsync(int issueId, double hours, string comments, DateTime? date = null, int? activityId = null);
|
||||
Task CloseIssueAsync(int issueId);
|
||||
Task<int> CreateIssueAsync(string projectId, int trackerId, string subject, string? description = null, double? estimatedHours = null, int? priorityId = 9, int? parentIssueId = null);
|
||||
Task<IEnumerable<SimpleProject>> GetProjectsAsync(int limit = 25, IProgress<(int, int)>? progress = null);
|
||||
Task<List<SimpleTracker>> GetTrackersAsync(string projectId, CancellationToken? token = null);
|
||||
Task VerifyApiKey();
|
||||
Task<IEnumerable<SimpleIssue>> GetMyIssuesAsync(int limit = 25, IProgress<(int, int)>? progress = null);
|
||||
Task<double> GetIssueTotalTimeAsync(int issueId);
|
||||
Task<double> GetTodaysHoursAsync(DateTime startDate, DateTime endDate);
|
||||
Task<List<IssueItem>> GetSpentTimeForIssuesAsync(List<SimpleIssue> simpleIssues, IProgress<(int, int)>? progress = null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user