From 534af330ce56d2ab536871d7c43a91fac823a6a9 Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Sun, 21 Jul 2024 11:30:06 +0000 Subject: [PATCH] web/changelogs: make `date` attribute required --- web/src/components/changelog/ChangelogEntry.svelte | 2 +- web/src/lib/types/changelogs.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/changelog/ChangelogEntry.svelte b/web/src/components/changelog/ChangelogEntry.svelte index 6100af31..d23500fc 100644 --- a/web/src/components/changelog/ChangelogEntry.svelte +++ b/web/src/components/changelog/ChangelogEntry.svelte @@ -3,7 +3,7 @@ export let version: string; export let title: string; - export let date: string | undefined; + export let date: string; export let banner: { file: string; alt: string } | undefined; let bannerLoaded = false; diff --git a/web/src/lib/types/changelogs.ts b/web/src/lib/types/changelogs.ts index e4d73c5d..ed3d85f9 100644 --- a/web/src/lib/types/changelogs.ts +++ b/web/src/lib/types/changelogs.ts @@ -2,7 +2,7 @@ import type { SvelteComponent } from "svelte" export interface ChangelogMetadata { title: string, - date?: string + date: string banner?: { file: string, alt: string