Upgrade Fresh and add a bunch of small QOL improvements #16

Merged
timharek merged 21 commits from chore-upgrade-fresh into main 2024-03-24 12:41:18 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 8fb7c553ce - Show all commits

View File

@ -2,6 +2,7 @@ import { FreshContext } from "$fresh/server.ts";
import { parse, toSeconds } from "https://esm.sh/iso8601-duration@2.1.1";
import { nrkRadio, OriginalEpisode } from "../../../../../lib/nrk.ts";
// TODO: This type `OriginalEpisode` is missing stuff.
function toChapters(episode: OriginalEpisode) {
return episode.indexPoints.map((indexPoint) => ({
title: indexPoint.title,