Skip to content

Commit

Permalink
Add more fields to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonEtco committed Dec 23, 2022
1 parent e0198cc commit 3e07205
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export const frontmatterSchema = z
assignees: z.union([z.array(z.string()), z.string()]).optional(),
labels: z.union([z.array(z.string()), z.string()]).optional(),
milestone: z.union([z.string(), z.number()]).optional(),
name: z.string().optional(),
about: z.string().optional(),
})
.strict();

Expand Down

0 comments on commit 3e07205

Please sign in to comment.