Skip to content

Commit 051e543

Browse files
committed
fix: updated schema for jobs
1 parent 1556223 commit 051e543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const jobCollection = defineCollection({
4848
company: z.string(),
4949
location: z.string(),
5050
from: z.number(),
51-
to: z.number().or(z.enum(['Now'])),
51+
to: z.number().optional(), // optional if currently working
5252
url: z.string(),
5353
}),
5454
});

0 commit comments

Comments
 (0)