File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export const HttpRequestSchema = z.object({
1313 method : HttpMethodSchema . optional ( ) . default ( 'GET' ) . describe ( 'HTTP method' ) ,
1414 headers : z . record ( z . string ( ) ) . optional ( ) . describe ( 'Custom HTTP headers' ) ,
1515 params : z . record ( z . unknown ( ) ) . optional ( ) . describe ( 'Query parameters' ) ,
16- body : z . record ( z . unknown ( ) ) . optional ( ) . describe ( 'Request body for POST/PUT/PATCH' ) ,
16+ body : z . unknown ( ) . optional ( ) . describe ( 'Request body for POST/PUT/PATCH' ) ,
1717} ) ;
1818
1919/**
@@ -35,7 +35,7 @@ export const ViewDataSchema = z.discriminatedUnion('provider', [
3535 } ) ,
3636 z . object ( {
3737 provider : z . literal ( 'value' ) ,
38- items : z . array ( z . any ( ) ) . describe ( 'Static data array' ) ,
38+ items : z . array ( z . unknown ( ) ) . describe ( 'Static data array' ) ,
3939 } ) ,
4040] ) ;
4141
You can’t perform that action at this time.
0 commit comments