Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
2b8d9cd691
1 changed files with 12 additions and 0 deletions
12
config.ts
12
config.ts
|
|
@ -22,6 +22,18 @@ const games = defineCollection({
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const blog = defineCollection({
|
||||||
|
type: 'content',
|
||||||
|
schema: z.object({
|
||||||
|
title: z.string(),
|
||||||
|
draft: z.boolean().optional(),
|
||||||
|
tags: z.array(z.string()).optional(),
|
||||||
|
published_at: z.coerce.date().optional(),
|
||||||
|
updated_at: z.coerce.date().optional(),
|
||||||
|
}),
|
||||||
|
});
|
||||||
|
|
||||||
export const collections = {
|
export const collections = {
|
||||||
games,
|
games,
|
||||||
|
blog,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue