update metadata config and delete old files
This commit is contained in:
parent
2741cec3db
commit
efff561a80
7 changed files with 15 additions and 228 deletions
29
config.ts
29
config.ts
|
|
@ -1,23 +1,24 @@
|
|||
import { z, defineCollection } from "astro:content";
|
||||
import { z, defineCollection } from 'astro:content';
|
||||
|
||||
// AstroJS collection configuration
|
||||
|
||||
const games = defineCollection({
|
||||
type: "content",
|
||||
type: 'content',
|
||||
schema: z.object({
|
||||
Title: z.string(),
|
||||
Release: z.date(),
|
||||
Developer: z.string(),
|
||||
Genres: z.array(z.string()),
|
||||
Status: z.enum([
|
||||
"Backlog",
|
||||
"On Line",
|
||||
"Playing",
|
||||
"Played",
|
||||
"Want to Replay",
|
||||
"Always Playable",
|
||||
title: z.string(),
|
||||
release: z.coerce.date(),
|
||||
developers: z.array(z.string()),
|
||||
genres: z.array(z.string()),
|
||||
status: z.enum([
|
||||
'Backlog',
|
||||
'On Line',
|
||||
'Playing',
|
||||
'Played',
|
||||
'Wishlist',
|
||||
'Want to Replay',
|
||||
'Always Playable',
|
||||
]),
|
||||
Times_Played: z.number(), banner: z.optional(z.string().url()),
|
||||
times_played: z.number(),
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue