@scalar/types
Advanced tools
Comparing version 0.0.12 to 0.0.13
# @scalar/types | ||
## 0.0.13 | ||
### Patch Changes | ||
- 9dc2ab7: feat: new `operationsSorter` option | ||
## 0.0.12 | ||
@@ -4,0 +10,0 @@ |
@@ -143,2 +143,6 @@ import type { OpenAPI, OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types'; | ||
tagsSorter?: 'alpha' | ((a: Tag, b: Tag) => number); | ||
/** | ||
* Sort operations alphabetically, by method or with a custom sort function | ||
*/ | ||
operationsSorter?: 'alpha' | 'method' | ((a: TransformedOperation, b: TransformedOperation) => number); | ||
}; | ||
@@ -145,0 +149,0 @@ export type Server = OpenAPIV3.ServerObject | OpenAPIV3_1.ServerObject; |
@@ -19,3 +19,3 @@ { | ||
], | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"engines": { | ||
@@ -22,0 +22,0 @@ "node": ">=18" |
Sorry, the diff of this file is not supported yet
31726
488