@scalar/api-client
Advanced tools
# @scalar/api-client | ||
## 0.9.0 | ||
### Minor Changes | ||
- 5ca138ee: - Removed activeBreadCrumb from api-client as its available in the slot | ||
- Centralized navigation logic | ||
- use proper anchor navigation instead of scrollIntoView, it will also be saved to history | ||
- scrolling down will open the next section | ||
### Patch Changes | ||
- b8ce7fd5: feat: show body and formData parameters (Swagger 2.0) | ||
- Updated dependencies [5ca138ee] | ||
- @scalar/use-modal@0.2.2 | ||
- @scalar/themes@0.5.3 | ||
## 0.8.10 | ||
@@ -4,0 +20,0 @@ |
@@ -5,3 +5,2 @@ declare function toggleApiClient(item?: any, forceShow?: boolean): void; | ||
declare function setSnippetType(type: string): void; | ||
declare function setBreadcrumb(item: string): void; | ||
export declare const useApiClientStore: () => { | ||
@@ -13,3 +12,2 @@ state: { | ||
readonly snippetType: string; | ||
readonly activeBreadcrumb: string; | ||
}; | ||
@@ -19,3 +17,2 @@ toggleApiClient: typeof toggleApiClient; | ||
setSnippetType: typeof setSnippetType; | ||
setBreadcrumb: typeof setBreadcrumb; | ||
hideApiClient: typeof hideApiClient; | ||
@@ -22,0 +19,0 @@ }; |
@@ -42,3 +42,3 @@ import type { AuthState, ClientRequestConfig, RequestResult } from '../types'; | ||
description?: string | null | undefined; | ||
value: string | number; | ||
value: string | number | Record<string, any>; | ||
required?: boolean | undefined; | ||
@@ -50,3 +50,3 @@ enabled: boolean; | ||
description?: string | null | undefined; | ||
value: string | number; | ||
value: string | number | Record<string, any>; | ||
required?: boolean | undefined; | ||
@@ -58,3 +58,3 @@ enabled: boolean; | ||
description?: string | null | undefined; | ||
value: string | number; | ||
value: string | number | Record<string, any>; | ||
required?: boolean | undefined; | ||
@@ -66,3 +66,3 @@ enabled: boolean; | ||
description?: string | null | undefined; | ||
value: string | number; | ||
value: string | number | Record<string, any>; | ||
required?: boolean | undefined; | ||
@@ -75,3 +75,3 @@ enabled: boolean; | ||
description?: string | null | undefined; | ||
value: string | number; | ||
value: string | number | Record<string, any>; | ||
required?: boolean | undefined; | ||
@@ -78,0 +78,0 @@ enabled: boolean; |
@@ -36,3 +36,3 @@ export type BasicAuth = { | ||
description?: string | null; | ||
value: string | number; | ||
value: string | number | Record<string, any>; | ||
required?: boolean; | ||
@@ -39,0 +39,0 @@ enabled: boolean; |
@@ -16,3 +16,3 @@ { | ||
], | ||
"version": "0.8.10", | ||
"version": "0.9.0", | ||
"engines": { | ||
@@ -47,6 +47,6 @@ "node": ">=20" | ||
"vue": "^3.3.0", | ||
"@scalar/themes": "0.5.2", | ||
"@scalar/themes": "0.5.3", | ||
"@scalar/use-codemirror": "0.7.17", | ||
"@scalar/use-keyboard-event": "0.5.6", | ||
"@scalar/use-modal": "0.2.1" | ||
"@scalar/use-modal": "0.2.2", | ||
"@scalar/use-keyboard-event": "0.5.6" | ||
}, | ||
@@ -53,0 +53,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1271761
0.03%30163
-0.03%