Add image management functionality: introduce Image entity and related API endpoints, update database schema to support image storage, and enhance UI with a new gallery feature for image selection and upload. Update translations for gallery-related terms.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using TeleWave.Domain.Images;
|
||||
|
||||
namespace TeleWave.Application.Images;
|
||||
|
||||
/// <summary>Запись галереи для показа. Файл отдаётся по /api/images/{Id} (URL строит фронт).</summary>
|
||||
public sealed record ImageDto(
|
||||
Guid Id,
|
||||
ImageCategory Category,
|
||||
string? OriginalFileName,
|
||||
DateTimeOffset CreatedAt
|
||||
);
|
||||
Reference in New Issue
Block a user