Files
Hy2026/backend/Application/Abstractions/IStorageService.cs
T
Rafał Tyński b3756238a3 feat(backend): restructure API into layers with OpenAPI, versioning and error handling
Split the backend into API host, Domain, Application and Infrastructure projects. Add Swagger/OpenAPI per API version, Asp.Versioning (query/header), ProblemDetails with a global exception handler and SurrealQL migrations applied at startup (namespace/database ensured). Infrastructure owns the SurrealDB client, settings and DI.
2026-10-04 01:49:51 +02:00

15 lines
360 B
C#

using TarninaHub.Application.Dtos;
namespace TarninaHub.Application.Abstractions;
public interface IStorageService
{
Task InitializeAsync(CancellationToken cancellationToken);
StorageInfo GetInfo();
Task<int> GetProbeCountAsync(CancellationToken cancellationToken);
Task<StorageProbe> AddProbeAsync(CancellationToken cancellationToken);
}