feat(tv): add seriesName and seasonIndex to Episode data model

This commit is contained in:
2026-05-01 21:28:33 +02:00
parent e738e9637f
commit f304b1f1f5
14 changed files with 39 additions and 3 deletions

View File

@@ -237,7 +237,9 @@ private fun previewEpisode(): Episode {
return Episode(
id = UUID.fromString("33333333-3333-3333-3333-333333333333"),
seriesId = seriesId,
seriesName = "Severance",
seasonId = seasonId,
seasonIndex = 2,
index = 4,
title = "The You You Are",
synopsis = "Mark is pulled deeper into Lumon's fractured world as the team chases a clue that reframes everything they thought they understood.",

View File

@@ -268,7 +268,9 @@ private fun previewSeries(): Series {
Episode(
id = UUID.fromString("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaa1"),
seriesId = seriesId,
seriesName = "Constellation",
seasonId = seasonOneId,
seasonIndex = 1,
index = 1,
title = "A Fresh Start",
synopsis = "A fractured crew tries to reassemble after a year apart.",
@@ -284,7 +286,9 @@ private fun previewSeries(): Series {
Episode(
id = UUID.fromString("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaa2"),
seriesId = seriesId,
seriesName = "Constellation",
seasonId = seasonOneId,
seasonIndex = 1,
index = 2,
title = "Signals",
synopsis = "Anomalies around the station point to a cover-up.",
@@ -302,7 +306,9 @@ private fun previewSeries(): Series {
Episode(
id = UUID.fromString("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaa3"),
seriesId = seriesId,
seriesName = "Constellation",
seasonId = seasonTwoId,
seasonIndex = 2,
index = 1,
title = "Return Window",
synopsis = "A high-risk jump changes the rules of the mission.",