Skip to content

Commit c6cbd82

Browse files
authored
Add status to terms schema to surface in document (#344)
1 parent 0d41eb3 commit c6cbd82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/content.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export const collections = {
7575
terms: defineCollection({
7676
loader: glob({ pattern: "*.md", base: "./guidelines/terms" }),
7777
schema: commonChildSchema.omit({ howto: true }).extend({
78+
status: statusSchema.optional(),
7879
synonyms: z.array(z.string()).min(1).optional(),
7980
}),
8081
}),

0 commit comments

Comments
 (0)