@scalar/types
Advanced tools
Comparing version 0.0.7 to 0.0.8
# @scalar/types | ||
## 0.0.8 | ||
### Patch Changes | ||
- dc9aff2: chore: replace proprietary ScalarResponse with OpenAPI ResponseObject | ||
- Updated dependencies [c577cde] | ||
- Updated dependencies [dc9aff2] | ||
- @scalar/themes@0.9.29 | ||
- @scalar/openapi-types@0.1.1 | ||
## 0.0.7 | ||
@@ -4,0 +14,0 @@ |
@@ -1,2 +0,2 @@ | ||
import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types'; | ||
import type { OpenAPI, OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types'; | ||
import type { ThemeId } from '@scalar/themes'; | ||
@@ -9,3 +9,3 @@ import type { UseSeoMetaInput } from '@unhead/schema'; | ||
*/ | ||
export type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types'; | ||
export type { OpenAPI, OpenAPIV2, OpenAPIV3, OpenAPIV3_1, } from '@scalar/openapi-types'; | ||
export type ClientInfo = { | ||
@@ -175,3 +175,3 @@ key: string; | ||
'parameters'?: Parameters[]; | ||
'responses'?: Record<string, ScalarResponse>; | ||
'responses'?: Record<string, OpenAPI.ResponseObject>; | ||
'security'?: OpenAPIV3.SecurityRequirementObject[]; | ||
@@ -217,2 +217,5 @@ 'requestBody'?: RequestBody; | ||
content?: RequestBodyMimeTypes; | ||
headers?: { | ||
[key: string]: OpenAPI.HeaderObject; | ||
}; | ||
}; | ||
@@ -230,6 +233,2 @@ export type Query = { | ||
}; | ||
export type ScalarResponse = { | ||
description: string; | ||
content: any; | ||
}; | ||
export type RequestBody = { | ||
@@ -236,0 +235,0 @@ description?: string; |
@@ -19,3 +19,3 @@ { | ||
], | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"engines": { | ||
@@ -49,4 +49,4 @@ "node": ">=18" | ||
"@unhead/schema": "^1.9.5", | ||
"@scalar/themes": "0.9.28", | ||
"@scalar/openapi-types": "0.1.0" | ||
"@scalar/openapi-types": "0.1.1", | ||
"@scalar/themes": "0.9.29" | ||
}, | ||
@@ -53,0 +53,0 @@ "devDependencies": { |
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
30741
484
+ Added@scalar/openapi-types@0.1.1(transitive)
+ Added@scalar/themes@0.9.29(transitive)
- Removed@scalar/openapi-types@0.1.0(transitive)
- Removed@scalar/themes@0.9.28(transitive)
Updated@scalar/openapi-types@0.1.1
Updated@scalar/themes@0.9.29