Removed unnecessary types and fixed some bugs

This commit is contained in:
Firq-ow 2024-01-09 17:01:31 +01:00
parent 441d8a42a3
commit 62e3869ce9
Signed by: Firq
GPG key ID: BC5CE35A72BDB4AB
8 changed files with 16 additions and 46 deletions
src/content

View file

@ -5,7 +5,7 @@ const taInfo = defineCollection({
schema: z.object({
info: z.object({
title: z.string(),
questReleaseDate: z.string(),
questReleaseDate: z.string().transform((str) => new Date(str)),
shortdescription: z.string(),
description: z.string(),
fightNumber: z.number().default(1),
@ -14,7 +14,7 @@ const taInfo = defineCollection({
z.object({
title: z.string(),
link: z.string().url(),
date: z.string(),
date: z.string().transform((str) => new Date(str)),
servant: z.string(),
turns: z.string(),
runner: z.string(),