Comparing version 0.8.1-alpha-20240611072951-5720f46f678e12f945cf94c8823e166da8e292b8 to 0.8.1-alpha-20240611073426-66f9e982214239cb373b49f13bb59a5853328aa1
{ | ||
"name": "fets", | ||
"version": "0.8.1-alpha-20240611072951-5720f46f678e12f945cf94c8823e166da8e292b8", | ||
"version": "0.8.1-alpha-20240611073426-66f9e982214239cb373b49f13bb59a5853328aa1", | ||
"description": "TypeScript HTTP Framework focusing on e2e type-safety, easy setup, performance & great developer experience", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -174,2 +174,5 @@ /// <reference types="urlpattern-polyfill" /> | ||
}; | ||
type ObjectSchema = JSONSchema & { | ||
type: 'object'; | ||
}; | ||
export type RouteSchemas = { | ||
@@ -179,5 +182,5 @@ request?: { | ||
params?: ObjectSchemaWithPrimitiveProperties; | ||
query?: ObjectSchemaWithPrimitiveProperties; | ||
json?: ObjectSchemaWithPrimitiveProperties; | ||
formData?: ObjectSchemaWithPrimitiveProperties; | ||
query?: ObjectSchema; | ||
json?: JSONSchema; | ||
formData?: ObjectSchema; | ||
}; | ||
@@ -184,0 +187,0 @@ responses?: StatusCodeMap<JSONSchema>; |
Sorry, the diff of this file is not supported yet
3697
257950