We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9199f3 commit 6cfe137Copy full SHA for 6cfe137
src/content/config.ts
@@ -1,11 +1,11 @@
1
import { defineCollection, z } from "astro:content";
2
3
export const collections = {
4
- projects: defineCollection({
+ work: defineCollection({
5
schema: z.object({
6
title: z.string(),
7
description: z.string(),
8
- publishDate: z.coerce.date(),
+ priority: z.coerce.number(),
9
tags: z.array(z.string()),
10
img: z.string(),
11
img_alt: z.string().optional(),
0 commit comments