using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

namespace Knot.Contracts.Stories.Infrastructure.Persistence;

public interface IStoryCollection
{
    Task<List<StoryContract>> GetAllAsync(CancellationToken cancellationToken);
}

public class StoryContract
{
    public Guid Id { get; set; }
    public Guid UserId { get; set; }
    public string? MediaUrl { get; set; }
    public string? MediaType { get; set; }
    public DateTime CreatedAt { get; set; }
    public DateTime? ExpiresAt { get; set; }
}