namespace StellaOps.JobEngine.WebService.Services; public interface IDeploymentCompatibilityStore { Task> ListAsync(string tenantId, CancellationToken cancellationToken); Task GetAsync(string tenantId, string deploymentId, CancellationToken cancellationToken); Task?> GetLogsAsync( string tenantId, string deploymentId, string? targetId, string? level, int? limit, CancellationToken cancellationToken); Task?> GetEventsAsync( string tenantId, string deploymentId, CancellationToken cancellationToken); Task GetMetricsAsync( string tenantId, string deploymentId, CancellationToken cancellationToken); Task CreateAsync( string tenantId, CreateDeploymentRequest request, string actor, CancellationToken cancellationToken); Task TransitionAsync( string tenantId, string deploymentId, IReadOnlyCollection allowedStatuses, string nextStatus, string eventType, string message, bool complete, CancellationToken cancellationToken); Task RetryAsync( string tenantId, string deploymentId, string targetId, CancellationToken cancellationToken); }