mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/changelogs: make date
attribute required
This commit is contained in:
parent
ebaa209c47
commit
534af330ce
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
export let version: string;
|
export let version: string;
|
||||||
export let title: string;
|
export let title: string;
|
||||||
export let date: string | undefined;
|
export let date: string;
|
||||||
export let banner: { file: string; alt: string } | undefined;
|
export let banner: { file: string; alt: string } | undefined;
|
||||||
|
|
||||||
let bannerLoaded = false;
|
let bannerLoaded = false;
|
||||||
|
|
|
@ -2,7 +2,7 @@ import type { SvelteComponent } from "svelte"
|
||||||
|
|
||||||
export interface ChangelogMetadata {
|
export interface ChangelogMetadata {
|
||||||
title: string,
|
title: string,
|
||||||
date?: string
|
date: string
|
||||||
banner?: {
|
banner?: {
|
||||||
file: string,
|
file: string,
|
||||||
alt: string
|
alt: string
|
||||||
|
|
Loading…
Reference in a new issue