@scalar/types
Advanced tools
Comparing version 0.0.6 to 0.0.7
# @scalar/types | ||
## 0.0.7 | ||
### Patch Changes | ||
- a07cfc8: feat: allow to hide the Test Request button | ||
- 023ca15: feat: adds favicon configuration | ||
- 85872b6: feat: allow to hide search sidebar | ||
## 0.0.6 | ||
@@ -4,0 +12,0 @@ |
@@ -50,3 +50,3 @@ import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types'; | ||
/** | ||
* Whether to show the "Download OpenAPI Specification" button | ||
* Whether to show the “Download OpenAPI Document” button | ||
* | ||
@@ -56,2 +56,14 @@ * @default false | ||
hideDownloadButton?: boolean; | ||
/** | ||
* Whether to show the “Test Request” button | ||
* | ||
* @default: false | ||
*/ | ||
hideTestRequestButton?: boolean; | ||
/** | ||
* Whether to show the sidebar search bar | ||
* | ||
* @default: false | ||
*/ | ||
hideSearch?: boolean; | ||
/** Whether dark mode is on or off initially (light mode) */ | ||
@@ -71,2 +83,9 @@ darkMode?: boolean; | ||
/** | ||
* Path to a favicon image | ||
* | ||
* @default undefined | ||
* @example '/favicon.svg' | ||
*/ | ||
favicon?: string; | ||
/** | ||
* List of httpsnippet clients to hide from the clients menu | ||
@@ -73,0 +92,0 @@ * By default hides Unirest, pass `[]` to show all clients |
@@ -19,3 +19,3 @@ { | ||
], | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"engines": { | ||
@@ -22,0 +22,0 @@ "node": ">=18" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30464
485