diff options
| author | Fuwn <[email protected]> | 2026-06-05 13:58:43 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-06-05 13:58:43 +0000 |
| commit | 83879a0fa01415999116cbc46377b4819fc19f96 (patch) | |
| tree | a15d2870b29f727923b2dcdc3b5f017dd4575407 /src/lib/Media/Anime/Airing/classify.test.ts | |
| parent | fix(schedule): use masonry columns so day panels collapse cleanly (diff) | |
| download | due.moe-83879a0fa01415999116cbc46377b4819fc19f96.tar.xz due.moe-83879a0fa01415999116cbc46377b4819fc19f96.zip | |
feat(schedule): add native track alongside sub and dub
Source the native (original-language) broadcast schedule from AnimeSchedule's "raw" airType and expose it as a third track on the schedule-page toggle and the GraphQL airing query.
Diffstat (limited to 'src/lib/Media/Anime/Airing/classify.test.ts')
| -rw-r--r-- | src/lib/Media/Anime/Airing/classify.test.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Media/Anime/Airing/classify.test.ts b/src/lib/Media/Anime/Airing/classify.test.ts index 1019b303..eeff2036 100644 --- a/src/lib/Media/Anime/Airing/classify.test.ts +++ b/src/lib/Media/Anime/Airing/classify.test.ts @@ -16,6 +16,7 @@ import settings from "$stores/settings"; // sub at `airingAt`. const subScheduleFor = (media: Media, airingAt: number): AiringSchedule => ({ generatedAt: Math.floor(Date.now() / 1000), + native: [], sub: [ { route: `fixture-${media.id}`, @@ -196,6 +197,7 @@ describe("countdown source fallback", () => { const schedule: AiringSchedule = { generatedAt: Math.floor(Date.now() / 1000), + native: [], sub: [], dub: [], }; |