@@ -24,7 +24,7 @@ export type JsonObject = { [key: string]: unknown };
2424
2525export const ZodDate = z . union ( [
2626 z . string ( ) ,
27- z . object ( { value : z . string ( ) , format : z . string ( ) } ) . passthrough ( ) . partial ( {
27+ z . object ( { value : z . string ( ) , format : z . string ( ) } ) . passthrough ( ) . required ( {
2828 value : true ,
2929 } ) ,
3030] ) ;
@@ -40,7 +40,7 @@ export const ZodPandocFormatOutputFile = z.union([z.string(), z.literal(null)]);
4040export const ZodPandocFormatFilters = z . array (
4141 z . union ( [
4242 z . string ( ) ,
43- z . object ( { type : z . string ( ) , path : z . string ( ) } ) . passthrough ( ) . partial ( {
43+ z . object ( { type : z . string ( ) , path : z . string ( ) } ) . passthrough ( ) . required ( {
4444 path : true ,
4545 } ) ,
4646 z . object ( {
@@ -56,7 +56,7 @@ export const ZodPandocFormatFilters = z.array(
5656 "post-render" ,
5757 ] as const ,
5858 ) ,
59- } ) . passthrough ( ) . partial ( { path : true , at : true } ) ,
59+ } ) . passthrough ( ) . required ( { path : true , at : true } ) ,
6060 z . object ( { type : z . enum ( [ "citeproc" ] as const ) } ) . strict ( ) ,
6161 ] ) ,
6262) ;
@@ -133,7 +133,7 @@ export const ZodGiscusConfiguration = z.object({
133133 } ) . strict ( ) . partial ( ) ,
134134 ] ) ,
135135 language : z . string ( ) ,
136- } ) . strict ( ) . partial ( { repo : true } ) ;
136+ } ) . strict ( ) . required ( { repo : true } ) ;
137137
138138export const ZodDocumentCommentsConfiguration = z . union ( [
139139 z . literal ( false ) ,
@@ -143,7 +143,7 @@ export const ZodDocumentCommentsConfiguration = z.union([
143143 label : z . string ( ) ,
144144 theme : z . string ( ) ,
145145 "issue-term" : z . string ( ) ,
146- } ) . strict ( ) . partial ( { repo : true } ) ,
146+ } ) . strict ( ) . required ( { repo : true } ) ,
147147 giscus : z . lazy ( ( ) => ZodGiscusConfiguration ) ,
148148 hypothesis : z . union ( [
149149 z . boolean ( ) ,
@@ -169,7 +169,7 @@ export const ZodDocumentCommentsConfiguration = z.union([
169169 z . array ( z . string ( ) ) ,
170170 ] ) ,
171171 icon : z . string ( ) ,
172- } ) . passthrough ( ) . partial ( {
172+ } ) . passthrough ( ) . required ( {
173173 apiUrl : true ,
174174 authority : true ,
175175 grantToken : true ,
@@ -189,7 +189,7 @@ export const ZodDocumentCommentsConfiguration = z.union([
189189 userid : z . string ( ) ,
190190 displayName : z . string ( ) ,
191191 } ) . passthrough ( ) . partial ( ) ,
192- } ) . passthrough ( ) . partial ( { user : true } ) ,
192+ } ) . passthrough ( ) . required ( { user : true } ) ,
193193 requestConfigFromFrame : z . object ( {
194194 origin : z . string ( ) ,
195195 ancestorLevel : z . number ( ) ,
@@ -232,7 +232,7 @@ export const ZodProjectServe = z.object({
232232 args : z . string ( ) ,
233233 env : z . object ( { } ) . passthrough ( ) . partial ( ) ,
234234 ready : z . string ( ) ,
235- } ) . strict ( ) . partial ( { cmd : true , ready : true } ) ;
235+ } ) . strict ( ) . required ( { cmd : true , ready : true } ) ;
236236
237237export const ZodPublish = z . object ( {
238238 netlify : z . array ( z . lazy ( ( ) => ZodPublishRecord ) ) ,
@@ -650,7 +650,7 @@ export const ZodChapterItem = z.union([
650650 z . object ( {
651651 part : z . string ( ) ,
652652 chapters : z . array ( z . lazy ( ( ) => ZodNavigationItem ) ) ,
653- } ) . passthrough ( ) . partial ( { part : true } ) ,
653+ } ) . passthrough ( ) . required ( { part : true } ) ,
654654] ) ;
655655
656656export const ZodChapterList = z . array ( z . lazy ( ( ) => ZodChapterItem ) ) ;
@@ -662,7 +662,7 @@ export const ZodOtherLinks = z.array(
662662 icon : z . string ( ) ,
663663 rel : z . string ( ) ,
664664 target : z . string ( ) ,
665- } ) . passthrough ( ) . partial ( { text : true , href : true } ) ,
665+ } ) . passthrough ( ) . required ( { text : true , href : true } ) ,
666666) ;
667667
668668export const ZodCrossrefLabelsSchema = z . string ( ) ;
@@ -756,7 +756,7 @@ export const ZodWebsiteAbout = z.object({
756756 "image-width" : z . string ( ) ,
757757 "image-shape" : z . enum ( [ "rectangle" , "round" , "rounded" ] as const ) ,
758758 links : z . array ( z . lazy ( ( ) => ZodNavigationItem ) ) ,
759- } ) . strict ( ) . partial ( { template : true } ) ;
759+ } ) . strict ( ) . required ( { template : true } ) ;
760760
761761export const ZodWebsiteListing = z . object ( {
762762 id : z . string ( ) ,
@@ -1224,7 +1224,7 @@ export const ZodSemver = z.string().regex(
12241224
12251225export const ZodQuartoDate = z . union ( [
12261226 z . string ( ) ,
1227- z . object ( { format : z . string ( ) , value : z . string ( ) } ) . strict ( ) . partial ( {
1227+ z . object ( { format : z . string ( ) , value : z . string ( ) } ) . strict ( ) . required ( {
12281228 value : true ,
12291229 } ) ,
12301230] ) ;
@@ -1248,7 +1248,7 @@ export const ZodNotebookViewSchema = z.object({
12481248 title : z . union ( [ z . string ( ) , z . boolean ( ) ] ) ,
12491249 url : z . string ( ) ,
12501250 "download-url" : z . string ( ) ,
1251- } ) . passthrough ( ) . partial ( { notebook : true } ) ;
1251+ } ) . passthrough ( ) . required ( { notebook : true } ) ;
12521252
12531253export const ZodCodeLinksSchema = z . union ( [
12541254 z . boolean ( ) ,
@@ -1317,7 +1317,7 @@ export const ZodBrandStringLightDark = z.union([
13171317export const ZodBrandLogoExplicitResource = z . object ( {
13181318 path : z . string ( ) ,
13191319 alt : z . string ( ) ,
1320- } ) . strict ( ) . partial ( { path : true } ) ;
1320+ } ) . strict ( ) . required ( { path : true } ) ;
13211321
13221322export const ZodBrandLogoResource = z . union ( [
13231323 z . string ( ) ,
@@ -1564,10 +1564,10 @@ export const ZodBrandFontFile = z.object({
15641564 path : z . string ( ) ,
15651565 weight : z . lazy ( ( ) => ZodBrandFontWeight ) ,
15661566 style : z . lazy ( ( ) => ZodBrandFontStyle ) ,
1567- } ) . passthrough ( ) . partial ( { path : true } ) ,
1567+ } ) . passthrough ( ) . required ( { path : true } ) ,
15681568 ] ) ,
15691569 ) ,
1570- } ) . strict ( ) . partial ( { files : true , family : true , source : true } ) ;
1570+ } ) . strict ( ) . required ( { files : true , family : true , source : true } ) ;
15711571
15721572export const ZodBrandFontFamily = z . string ( ) ;
15731573
0 commit comments