Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace RobotNet10.FleetManager.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Interface for robot model image storage operations
|
||||
/// </summary>
|
||||
public interface IRobotModelImageStorageService
|
||||
{
|
||||
Task SaveImageAsync(Guid robotModelId, Stream imageStream, CancellationToken cancellationToken = default);
|
||||
Task<Stream?> GetImageAsync(Guid robotModelId, CancellationToken cancellationToken = default);
|
||||
Task<bool> DeleteImageAsync(Guid robotModelId, CancellationToken cancellationToken = default);
|
||||
Task<bool> ImageExistsAsync(Guid robotModelId, CancellationToken cancellationToken = default);
|
||||
Task<(int width, int height)> GetImageDimensionsAsync(Stream imageStream, CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user