Skip to content

Commit 6cfe137

Browse files
committed
fix : config
1 parent c9199f3 commit 6cfe137

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { defineCollection, z } from "astro:content";
22

33
export const collections = {
4-
projects: defineCollection({
4+
work: defineCollection({
55
schema: z.object({
66
title: z.string(),
77
description: z.string(),
8-
publishDate: z.coerce.date(),
8+
priority: z.coerce.number(),
99
tags: z.array(z.string()),
1010
img: z.string(),
1111
img_alt: z.string().optional(),

0 commit comments

Comments
 (0)