1
0
Fork 0
mirror of https://github.com/TheTaz25/denis.ergin.git synced 2025-07-12 22:08:48 +00:00

chore: move config for content into new location according to astro 5 upgrade

This commit is contained in:
Denis Ergin 2025-06-20 19:05:57 +02:00
parent 4b7f9f9414
commit dcd9a85391

View file

@ -1,24 +0,0 @@
import { defineCollection, z } from 'astro:content';
const skillCollection = defineCollection({
type: 'data',
schema: z.object({
skills: z.array(z.string())
}),
});
const dhbwCollection = defineCollection({
type: 'content',
schema: z.object({
title: z.string(),
tags: z.array(z.string()),
staticPath: z.string(),
show: z.optional(z.boolean()),
order: z.number(),
}),
});
export const collections = {
'skills': skillCollection,
'dhbw': dhbwCollection,
}