Skip to content

Commit

Permalink
fix : config
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshsnaik committed Nov 24, 2024
1 parent c9199f3 commit 6cfe137
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { defineCollection, z } from "astro:content";

export const collections = {
projects: defineCollection({
work: defineCollection({
schema: z.object({
title: z.string(),
description: z.string(),
publishDate: z.coerce.date(),
priority: z.coerce.number(),
tags: z.array(z.string()),
img: z.string(),
img_alt: z.string().optional(),
Expand Down

0 comments on commit 6cfe137

Please sign in to comment.