@@ -210,14 +210,18 @@ const sponsors = defineCollection({
210210 schema : z . object ( {
211211 name : z . string ( ) ,
212212 url : z . string ( ) . url ( ) ,
213- tier : z . string ( ) . optional ( ) ,
213+ tier : z . string ( ) . nullable ( ) ,
214214 location : z . string ( ) . optional ( ) ,
215215 industry : z . string ( ) . optional ( ) ,
216216 description : z . string ( ) . optional ( ) ,
217217 socials : z
218218 . object ( {
219- linkedin : z . string ( ) . url ( ) . optional ( ) ,
220- twitter : z . string ( ) . url ( ) . optional ( ) ,
219+ linkedin : z . string ( ) . url ( ) . optional ( ) . nullable ( ) ,
220+ twitter : z . string ( ) . url ( ) . optional ( ) . nullable ( ) ,
221+ github : z . string ( ) . url ( ) . optional ( ) . nullable ( ) ,
222+ discord : z . string ( ) . url ( ) . optional ( ) . nullable ( ) ,
223+ mastodon : z . string ( ) . url ( ) . optional ( ) . nullable ( ) ,
224+ bluesky : z . string ( ) . url ( ) . optional ( ) . nullable ( ) ,
221225 } )
222226 . optional ( ) ,
223227 jobs : z . array ( z . string ( ) ) . optional ( ) ,
@@ -229,16 +233,16 @@ const jobs = defineCollection({
229233 loader : glob ( { pattern : "*/!(index).md" , base : "./src/content/sponsors" } ) ,
230234 schema : z . object ( {
231235 title : z . string ( ) ,
232- location : z . string ( ) ,
233- type : z . string ( ) , // e.g., Full-Time
234- level : z . string ( ) , // e.g., Senior
235- salary : z . string ( ) . optional ( ) ,
236- tags : z . array ( z . string ( ) ) . optional ( ) ,
237- description : z . string ( ) ,
238- responsibilities : z . array ( z . string ( ) ) . optional ( ) ,
239- requirements : z . array ( z . string ( ) ) . optional ( ) ,
240- benefits : z . array ( z . string ( ) ) . optional ( ) ,
241- apply_link : z . string ( ) . url ( ) ,
236+ location : z . string ( ) . nullable ( ) ,
237+ type : z . string ( ) . nullable ( ) , // e.g., Full-Time
238+ level : z . string ( ) . nullable ( ) , // e.g., Senior
239+ salary : z . string ( ) . nullable ( ) ,
240+ tags : z . array ( z . string ( ) ) . nullable ( ) ,
241+ description : z . string ( ) . nullable ( ) ,
242+ responsibilities : z . array ( z . string ( ) ) . nullable ( ) ,
243+ requirements : z . array ( z . string ( ) ) . nullable ( ) ,
244+ benefits : z . array ( z . string ( ) ) . nullable ( ) ,
245+ apply_link : z . string ( ) . url ( ) . optional ( ) ,
242246 } ) ,
243247} ) ;
244248
0 commit comments