Skip to content

Commit 43adfcd

Browse files
authored
update types
1 parent 536ffe9 commit 43adfcd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/content/config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ const blog = defineCollection({
77
description: z.string(),
88
pubDate: z.date(),
99
updatedpubDate: z.date().optional(),
10+
categories: z.array(z.string()).default(["others"]),
11+
authors: z.string()
12+
tags: z.string[];
1013
coverImageCredit: z.string().optional(),
1114
}),
1215
})
1316

14-
export const collections = { blog }
17+
export const collections = { apps }

0 commit comments

Comments
 (0)