initial commit

This commit is contained in:
2026-08-15 18:51:43 +02:00
commit 8a6a1fcf07
119 changed files with 11326 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import { defineCollection, z } from 'astro:content';
const releaseSchema = z.object({
title: z.string(), group: z.string(), year: z.number().int().optional(), platform: z.string(),
credits: z.array(z.object({ role: z.string(), name: z.string() })).default([]),
description: z.string(), download_url: z.string().url().optional(), screenshot: z.string().optional(),
file_id_diz: z.string(),
});
const skyline = defineCollection({ type: 'content', schema: releaseSchema });
const kosmosDesign = defineCollection({ type: 'content', schema: releaseSchema });
const tropicdreams = defineCollection({ type: 'content', schema: releaseSchema });
const esprit = defineCollection({ type: 'content', schema: releaseSchema });
export const collections = { skyline, 'kosmos-design': kosmosDesign, tropicdreams, esprit };