using xApi.Models;
namespace xApi.Interfaces
{
///
/// Implementing Azure Services Interfaces ...
///
public interface IAzureServices
{
///
/// Retrieve Connection Info ...
///
///
///
///
Task GetConnectionDataAsync(
CancellationToken cancellationToken = default
);
///
/// Retrieve Connection Info ...
///
///
///
///
Task> GetProjectsAsync(
CancellationToken cancellationToken = default
);
///
/// Retrieve a List of Azure Repositories ...
///
///
///
///
Task> GetRepositoriesAsync(
CancellationToken cancellationToken = default
);
///
/// Retrieve Specified Work Item ...
///
///
///
///
Task GetWorkItemAsync(
long workItemId,
CancellationToken cancellationToken = default
);
///
/// Get Specified Project's WorkItem Types ...
///
///
///
///
Task> GetProjectWorkItemTypesAsync(
Guid id,
CancellationToken cancellationToken = default
);
///
/// Get Specified WorkItem Revisions (History) ...
///
///
///
///
Task> GetWorkItemRevisionsAsync(
long workItemId,
CancellationToken cancellationToken = default
);
///
/// Retrieve Work Item Fields ...
///
///
///
Task> GetWorkItemFieldsAsync(
CancellationToken cancellationToken = default
);
// AzureListDto
// Task GetWorkItemsAsync(
// CancellationToken cancellationToken = default
// );
}
}