Skip to content

Commit ec00ff1

Browse files
committed
fix : error in config
1 parent 6cfe137 commit ec00ff1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/content/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ export const collections = {
66
title: z.string(),
77
description: z.string(),
88
priority: z.coerce.number(),
9+
period: z.object({
10+
from: z.string(),
11+
to: z.string().optional(),
12+
}),
913
tags: z.array(z.string()),
1014
img: z.string(),
1115
img_alt: z.string().optional(),

0 commit comments

Comments
 (0)