File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,18 +133,6 @@ const Template = z.object({
133133 links : z . array ( Button ) . optional ( ) ,
134134} )
135135
136- const ShowcaseItem = z . object ( {
137- name : z . string ( ) . optional ( ) ,
138- url : z . string ( ) . optional ( ) ,
139- hostname : z . string ( ) . optional ( ) ,
140- screenshotUrl : z . string ( ) . optional ( ) ,
141- screenshotOptions : z
142- . object ( {
143- delay : z . number ( ) ,
144- } )
145- . optional ( ) ,
146- } )
147-
148136const Starter = z . object ( {
149137 title : z . string ( ) ,
150138 description : z . string ( ) ,
@@ -326,33 +314,5 @@ export default defineContentConfig({
326314 source : 'starters/*' ,
327315 schema : Starter ,
328316 } ) ,
329- showcase : defineCollection ( {
330- type : 'data' ,
331- source : 'showcase.yml' ,
332- schema : BaseSection . extend ( {
333- head : z
334- . object ( {
335- title : z . string ( ) . optional ( ) ,
336- description : z . string ( ) . optional ( ) ,
337- } )
338- . optional ( ) ,
339- websites : z . array ( ShowcaseItem ) ,
340- } ) ,
341- } ) ,
342- team : defineCollection ( {
343- type : 'page' ,
344- source : 'team.yml' ,
345- schema : PageHero . extend ( {
346- users : z . array (
347- z . object ( {
348- name : z . string ( ) ,
349- location : z . string ( ) ,
350- sponsor : z . string ( ) . url ( ) ,
351- avatar : Image ,
352- links : z . array ( Link ) ,
353- } ) ,
354- ) ,
355- } ) ,
356- } ) ,
357317 } ,
358318} )
You can’t perform that action at this time.
0 commit comments