using PaklenaBasta.Api.Models;

namespace PaklenaBasta.Api.Repositories;

public static class InMemoryStore
{
    public static List<User> Users { get; } = new List<User>
    {
        new User { Email = "test@paklenabasta.company", PasswordHash = "password", DisplayName = "Test User" }
    };

    public static List<Film> Films { get; } = new List<Film>
    {
        new Film { Title = "Sample Movie", Description = "A sample movie.", HlsUrl = "https://paklenabasta.company/stream/sample-movie.m3u8", Thumbnail = "https://paklenabasta.company/media/thumbnails/sample-movie.jpg" },
        new Film { Title = "Sample Series", Description = "A sample series episode.", HlsUrl = "https://paklenabasta.company/stream/sample-series-ep1.m3u8", Thumbnail = "https://paklenabasta.company/media/thumbnails/sample-series.jpg" }
    };

    public static void AddFilm(Film film)
    {
        Films.Add(film);
    }
}
