@scalar/api-client 2.38.3 → 2.38.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/{AddressBar-CX8xiYoe.js → AddressBar-BOZGKSoz.js} +4 -4
- package/dist/{AddressBar-CX8xiYoe.js.map → AddressBar-BOZGKSoz.js.map} +1 -1
- package/dist/{App-BpNPKHmM.js → App-DHBmpWJI.js} +4 -4
- package/dist/{App-BpNPKHmM.js.map → App-DHBmpWJI.js.map} +1 -1
- package/dist/{CodeInput-BN7uw3Bh.js → CodeInput-BTN8cC5h.js} +2 -2
- package/dist/{CodeInput-BN7uw3Bh.js.map → CodeInput-BTN8cC5h.js.map} +1 -1
- package/dist/{Collection-ChAxs3rz.js → Collection-BsAG7ms5.js} +2 -2
- package/dist/{Collection-ChAxs3rz.js.map → Collection-BsAG7ms5.js.map} +1 -1
- package/dist/{CollectionAuthentication-BDpvv8cA.js → CollectionAuthentication-BMGhRnpo.js} +5 -5
- package/dist/{CollectionAuthentication-BDpvv8cA.js.map → CollectionAuthentication-BMGhRnpo.js.map} +1 -1
- package/dist/{CollectionEnvironment-dwisJ-h5.js → CollectionEnvironment-BY9Gcnln.js} +4 -4
- package/dist/{CollectionEnvironment-dwisJ-h5.js.map → CollectionEnvironment-BY9Gcnln.js.map} +1 -1
- package/dist/{CollectionOverview-CJ9-Vmei.js → CollectionOverview-C3GvN8GY.js} +3 -3
- package/dist/{CollectionOverview-CJ9-Vmei.js.map → CollectionOverview-C3GvN8GY.js.map} +1 -1
- package/dist/{CollectionServers-BWkIGwz4.js → CollectionServers-DuOLysNB.js} +5 -5
- package/dist/{CollectionServers-BWkIGwz4.js.map → CollectionServers-DuOLysNB.js.map} +1 -1
- package/dist/{CollectionSettings-CqUUYOym.js → CollectionSettings-FtXNetOh.js} +2 -2
- package/dist/{CollectionSettings-CqUUYOym.js.map → CollectionSettings-FtXNetOh.js.map} +1 -1
- package/dist/{CommandPalette-BiA0IgO8.js → CommandPalette-BxoEK8TY.js} +2 -2
- package/dist/{CommandPalette-BiA0IgO8.js.map → CommandPalette-BxoEK8TY.js.map} +1 -1
- package/dist/{Cookies-CNRSxP8J.js → Cookies-BYTv1YIA.js} +8 -8
- package/dist/{Cookies-CNRSxP8J.js.map → Cookies-BYTv1YIA.js.map} +1 -1
- package/dist/{DataTableInput-SkIUPlrB.js → DataTableInput-RydMDjn2.js} +2 -2
- package/dist/{DataTableInput-SkIUPlrB.js.map → DataTableInput-RydMDjn2.js.map} +1 -1
- package/dist/{Environment-D_CbZk0A.js → Environment-BIxG7DaO.js} +5 -5
- package/dist/{Environment-D_CbZk0A.js.map → Environment-BIxG7DaO.js.map} +1 -1
- package/dist/{EnvironmentModal-CcyqnPc2.js → EnvironmentModal-C0lYytkh.js} +2 -2
- package/dist/{EnvironmentModal-CcyqnPc2.js.map → EnvironmentModal-C0lYytkh.js.map} +1 -1
- package/dist/{Form-bA4bV_oA.js → Form-KFcdRQp1.js} +3 -3
- package/dist/{Form-bA4bV_oA.js.map → Form-KFcdRQp1.js.map} +1 -1
- package/dist/{ImportCollection-BIYMxB9Q.js → ImportCollection-CGjySEzP.js} +2 -2
- package/dist/{ImportCollection-BIYMxB9Q.js.map → ImportCollection-CGjySEzP.js.map} +1 -1
- package/dist/{MainLayout-oMIJ5QXF.js → MainLayout-BnLwst16.js} +3 -3
- package/dist/{MainLayout-oMIJ5QXF.js.map → MainLayout-BnLwst16.js.map} +1 -1
- package/dist/{Modal-DkOa_KK0.js → Modal-CTZ8UNds.js} +2 -2
- package/dist/{Modal-DkOa_KK0.js.map → Modal-CTZ8UNds.js.map} +1 -1
- package/dist/{Request-BWfYWyBa.js → Request-d0RY0ZhC.js} +10 -10
- package/dist/{Request-BWfYWyBa.js.map → Request-d0RY0ZhC.js.map} +1 -1
- package/dist/{RequestAuth-BU6ubH-c.js → RequestAuth-1cRH3DDn.js} +3 -3
- package/dist/{RequestAuth-BU6ubH-c.js.map → RequestAuth-1cRH3DDn.js.map} +1 -1
- package/dist/{RequestRoot-7xhK5_qr.js → RequestRoot-pW0yXesG.js} +7 -7
- package/dist/{RequestRoot-7xhK5_qr.js.map → RequestRoot-pW0yXesG.js.map} +1 -1
- package/dist/{RequestSection-Bx8UHW-k.js → RequestSection-D2BLvDTr.js} +4 -4
- package/dist/{RequestSection-Bx8UHW-k.js.map → RequestSection-D2BLvDTr.js.map} +1 -1
- package/dist/{ResponseSection-CLrgLMN_.js → ResponseSection-B_YF7l_E.js} +3 -3
- package/dist/{ResponseSection-CLrgLMN_.js.map → ResponseSection-B_YF7l_E.js.map} +1 -1
- package/dist/{Server-BS4zjUdO.js → Server-CEKGIEfE.js} +2 -2
- package/dist/{Server-BS4zjUdO.js.map → Server-CEKGIEfE.js.map} +1 -1
- package/dist/{Settings-BuLKHzRY.js → Settings-BaPvhJ8Y.js} +2 -2
- package/dist/{Settings-BuLKHzRY.js.map → Settings-BaPvhJ8Y.js.map} +1 -1
- package/dist/{Sidebar-Xl9_nFXX.js → Sidebar-CRxdl38Y.js} +2 -2
- package/dist/{Sidebar-Xl9_nFXX.js.map → Sidebar-CRxdl38Y.js.map} +1 -1
- package/dist/components/AddressBar/AddressBar.vue.d.ts +1 -1
- package/dist/components/AddressBar/index.js +3 -3
- package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -1
- package/dist/components/CodeInput/codeVariableWidget.d.ts +1 -1
- package/dist/components/CodeInput/index.js +1 -1
- package/dist/components/CommandPalette/index.js +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts +2 -2
- package/dist/components/DataTable/index.js +2 -2
- package/dist/components/Form/LabelInput.vue.d.ts +1 -1
- package/dist/components/ImportCollection/index.js +1 -1
- package/dist/components/ImportCollection/utils/import-collection.d.ts +1 -1
- package/dist/components/ImportCollection/utils/workspace-store-is-empty.d.ts +1 -1
- package/dist/components/Server/ServerVariablesForm.vue.d.ts +1 -1
- package/dist/components/Server/index.js +1 -1
- package/dist/components/Sidebar/index.js +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +4 -4
- package/dist/{components-DfJHvSLM.js → components-B0BwUDFw.js} +2 -2
- package/dist/{components-DfJHvSLM.js.map → components-B0BwUDFw.js.map} +1 -1
- package/dist/hooks/useSidebar.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/layouts/App/create-api-client-app.d.ts +9 -9
- package/dist/layouts/App/index.js +3 -3
- package/dist/layouts/Modal/create-api-client-modal.d.ts +1 -1
- package/dist/layouts/Modal/index.d.ts +1 -1
- package/dist/layouts/Modal/index.js +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +9 -9
- package/dist/layouts/Web/index.js +4 -4
- package/dist/libs/create-client.d.ts +3 -3
- package/dist/libs/environment-parser.d.ts +1 -1
- package/dist/libs/get-request-uid-by-path-method.d.ts +1 -1
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/index.d.ts +1 -1
- package/dist/libs/index.js +1 -1
- package/dist/libs/local-storage.d.ts +1 -1
- package/dist/libs/send-request/create-request-operation.d.ts +3 -3
- package/dist/{operation-block-DE-hoO03.js → operation-block-B1B3lJPx.js} +3 -3
- package/dist/{operation-block-DE-hoO03.js.map → operation-block-B1B3lJPx.js.map} +1 -1
- package/dist/{operation-code-sample-xgx4qi2H.js → operation-code-sample-DOzAPxLQ.js} +2 -2
- package/dist/{operation-code-sample-xgx4qi2H.js.map → operation-code-sample-DOzAPxLQ.js.map} +1 -1
- package/dist/plugins/hooks/usePluginManager.d.ts +1 -1
- package/dist/{request-block-N7dPFyrG.js → request-block-C1kLLMEd.js} +2 -2
- package/dist/{request-block-N7dPFyrG.js.map → request-block-C1kLLMEd.js.map} +1 -1
- package/dist/store/collections.d.ts +1 -1
- package/dist/store/environment.d.ts +1 -1
- package/dist/store/events.d.ts +8 -8
- package/dist/store/import-spec.d.ts +2 -2
- package/dist/store/index.js +1 -1
- package/dist/store/request-example.d.ts +1 -1
- package/dist/store/requests.d.ts +1 -1
- package/dist/store/security-schemes.d.ts +1 -1
- package/dist/store/servers.d.ts +1 -1
- package/dist/store/store.d.ts +7 -7
- package/dist/store/tags.d.ts +1 -1
- package/dist/store/workspace.d.ts +1 -1
- package/dist/{store-DaPoVtIS.js → store-DnlAQK5d.js} +15 -15
- package/dist/{store-DaPoVtIS.js.map → store-DnlAQK5d.js.map} +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +3 -3
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +2 -2
- package/dist/v2/blocks/operation-block/helpers/build-request-security.d.ts +2 -2
- package/dist/v2/blocks/operation-block/helpers/build-request.d.ts +2 -2
- package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.d.ts +1 -1
- package/dist/v2/blocks/operation-block/helpers/send-request.d.ts +1 -1
- package/dist/v2/blocks/operation-block/index.js +8 -8
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts +2 -2
- package/dist/v2/blocks/operation-code-sample/helpers/find-client.d.ts +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.d.ts +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-clients.d.ts +2 -2
- package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.d.ts +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.d.ts +1 -1
- package/dist/v2/blocks/operation-code-sample/index.js +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +4 -4
- package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.d.ts +1 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts +1 -1
- package/dist/v2/blocks/request-block/helpers/get-form-body-rows.d.ts +1 -1
- package/dist/v2/blocks/request-block/index.js +4 -4
- package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts +1 -1
- package/dist/v2/blocks/response-block/index.js +2 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +3 -3
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.d.ts +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/index.js +2 -2
- package/dist/v2/components/code-input/CodeInput.vue.d.ts +1 -1
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts +1 -1
- package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +1 -1
- package/dist/v2/components/server/ServerDropdown.vue.d.ts +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +1 -1
- package/dist/v2/features/app/App.vue.d.ts +3 -3
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts +1 -1
- package/dist/v2/features/app/components/index.js +2 -2
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts +3 -3
- package/dist/v2/features/app/helpers/get-route-param.d.ts +1 -1
- package/dist/v2/features/app/helpers/routes.d.ts +3 -3
- package/dist/v2/features/app/index.d.ts +5 -5
- package/dist/v2/features/app/index.js +8 -8
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts +1 -1
- package/dist/v2/features/collection/OperationCollection.vue.d.ts +1 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +1 -1
- package/dist/v2/features/collection/components/Authentication.vue.d.ts +4 -4
- package/dist/v2/features/collection/components/Cookies.vue.d.ts +4 -4
- package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts +4 -4
- package/dist/v2/features/collection/components/Environment.vue.d.ts +4 -4
- package/dist/v2/features/collection/components/Overview.vue.d.ts +4 -4
- package/dist/v2/features/collection/components/Servers.vue.d.ts +4 -4
- package/dist/v2/features/collection/components/Settings.vue.d.ts +4 -4
- package/dist/v2/features/collection/components/Tabs.vue.d.ts +1 -1
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +45 -10
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +1 -1
- package/dist/v2/features/editor/helpers/json/create-json-model.d.ts +1 -1
- package/dist/v2/features/editor/helpers/yaml/create-yaml-model.d.ts +1 -1
- package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.d.ts +1 -1
- package/dist/v2/features/editor/hooks/use-editor.d.ts +1 -1
- package/dist/v2/features/editor/hooks/use-json-pointer-link-support.d.ts +1 -1
- package/dist/v2/features/modal/Modal.vue.d.ts +1 -1
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +2 -2
- package/dist/v2/features/modal/hooks/use-modal-sidebar.d.ts +1 -1
- package/dist/v2/features/modal/index.js +8 -8
- package/dist/v2/features/modal/modal-events.d.ts +1 -1
- package/dist/v2/features/operation/Operation.vue.d.ts +2 -2
- package/dist/v2/features/operation/index.js +8 -8
- package/dist/v2/features/search/helpers/create-fuse-instance.d.ts +1 -1
- package/dist/v2/features/search/helpers/create-search-index.d.ts +1 -1
- package/dist/v2/helpers/get-active-proxy-url.d.ts +1 -1
- package/dist/v2/helpers/get-tab-details.d.ts +1 -1
- package/dist/v2/helpers/handle-hotkeys.d.ts +1 -1
- package/dist/v2/hooks/use-global-hot-keys.d.ts +1 -1
- package/dist/views/Collection/components/EnvironmentForm.vue.d.ts +1 -1
- package/dist/views/Collection/components/MarkdownInput.vue.d.ts +1 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +1 -1
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts +1 -1
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +1 -1
- package/dist/views/Environment/handle-drag.d.ts +1 -1
- package/dist/views/Request/Request.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/index.js +3 -3
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/helpers/update-scheme.d.ts +1 -1
- package/dist/views/Request/RequestSection/index.js +4 -4
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +3 -3
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/index.js +3 -3
- package/dist/views/Request/components/index.js +1 -1
- package/dist/views/Request/handle-drag.d.ts +2 -2
- package/dist/views/Request/libs/auth.d.ts +1 -1
- package/dist/views/Request/libs/oauth2.d.ts +1 -1
- package/dist/views/Request/libs/watch-mode.d.ts +2 -2
- package/package.json +12 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../../CodeInput-
|
|
2
|
-
import "../../../../DataTableInput-
|
|
3
|
-
import { n as RequestAuthDataTable_default, r as restoreAuthFromLocalStorage, t as RequestAuth_default } from "../../../../RequestAuth-
|
|
1
|
+
import "../../../../CodeInput-BTN8cC5h.js";
|
|
2
|
+
import "../../../../DataTableInput-RydMDjn2.js";
|
|
3
|
+
import { n as RequestAuthDataTable_default, r as restoreAuthFromLocalStorage, t as RequestAuth_default } from "../../../../RequestAuth-1cRH3DDn.js";
|
|
4
4
|
export { RequestAuth_default as RequestAuth, RequestAuthDataTable_default as RequestAuthDataTable, restoreAuthFromLocalStorage };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
2
2
|
import { type Operation, type RequestExample } from '@scalar/oas-utils/entities/spec';
|
|
3
3
|
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
4
|
-
import type { EnvVariable } from '
|
|
4
|
+
import type { EnvVariable } from '../../../store/active-entities';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
example: RequestExample;
|
|
7
7
|
operation: Operation;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Collection, Operation, RequestExample, Server } from '@scalar/oas-utils/entities/spec';
|
|
2
2
|
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
3
|
-
import type { EnvVariables } from '
|
|
3
|
+
import type { EnvVariables } from '../../../libs/env-helpers';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
collection: Collection;
|
|
6
6
|
example: RequestExample;
|
|
@@ -2,7 +2,7 @@ import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
|
2
2
|
import { type RequestExample } from '@scalar/oas-utils/entities/spec';
|
|
3
3
|
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
4
4
|
import type { RouteLocationRaw } from 'vue-router';
|
|
5
|
-
import type { EnvVariable } from '
|
|
5
|
+
import type { EnvVariable } from '../../../store/active-entities';
|
|
6
6
|
type __VLS_Props = {
|
|
7
7
|
example: RequestExample;
|
|
8
8
|
environment: Environment;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
2
2
|
import type { Operation, RequestExample } from '@scalar/oas-utils/entities/spec';
|
|
3
3
|
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
4
|
-
import type { EnvVariable } from '
|
|
4
|
+
import type { EnvVariable } from '../../../store/active-entities';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
example: RequestExample;
|
|
7
7
|
operation: Operation;
|
|
@@ -2,7 +2,7 @@ import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
|
2
2
|
import type { SelectedSecuritySchemeUids } from '@scalar/oas-utils/entities/shared';
|
|
3
3
|
import type { Collection, Operation, RequestExample, Server } from '@scalar/oas-utils/entities/spec';
|
|
4
4
|
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
5
|
-
import type { EnvVariable } from '
|
|
5
|
+
import type { EnvVariable } from '../../../store/active-entities';
|
|
6
6
|
type __VLS_Props = {
|
|
7
7
|
collection: Collection;
|
|
8
8
|
environment: Environment;
|
|
@@ -2,7 +2,7 @@ import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
|
2
2
|
import type { RequestExampleParameter } from '@scalar/oas-utils/entities/spec';
|
|
3
3
|
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
4
4
|
import { type RouteLocationRaw } from 'vue-router';
|
|
5
|
-
import type { EnvVariable } from '
|
|
5
|
+
import type { EnvVariable } from '../../../store/active-entities';
|
|
6
6
|
type __VLS_Props = {
|
|
7
7
|
items?: (RequestExampleParameter & {
|
|
8
8
|
route?: RouteLocationRaw;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SecurityScheme } from '@scalar/oas-utils/entities/spec';
|
|
2
2
|
import type { Path, PathValue } from '@scalar/object-utils/nested';
|
|
3
|
-
import type { WorkspaceStore } from '
|
|
3
|
+
import type { WorkspaceStore } from '../../../../store/store';
|
|
4
4
|
/** Shape of the local storage auth object */
|
|
5
5
|
export type Auth<P extends Path<SecurityScheme>> = Record<string, Record<P, NonNullable<PathValue<SecurityScheme, P>>>>;
|
|
6
6
|
/** Update the security scheme with side effects */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../CodeInput-
|
|
2
|
-
import "../../../DataTableInput-
|
|
1
|
+
import "../../../CodeInput-BTN8cC5h.js";
|
|
2
|
+
import "../../../DataTableInput-RydMDjn2.js";
|
|
3
3
|
import "../../../SectionFilter-hrtoRLwj.js";
|
|
4
|
-
import { t as RequestSection_default } from "../../../RequestSection-
|
|
5
|
-
import "../../../RequestAuth-
|
|
4
|
+
import { t as RequestSection_default } from "../../../RequestSection-D2BLvDTr.js";
|
|
5
|
+
import "../../../RequestAuth-1cRH3DDn.js";
|
|
6
6
|
//#region src/views/Request/RequestSection/helpers/filter-security-requirements.ts
|
|
7
7
|
/**
|
|
8
8
|
* Takes in selected security and filters it with the requirements
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type DraggableProps, type DraggingItem, type HoveredItem } from '@scalar/draggable';
|
|
2
|
-
import type { SidebarMenuItem } from '
|
|
2
|
+
import type { SidebarMenuItem } from '../../views/Request/types/index.js';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
/**
|
|
5
5
|
* Toggle dragging on and off
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { SidebarMenuItem } from '
|
|
1
|
+
import type { SidebarMenuItem } from '../../views/Request/types/index.js';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
menuItem: SidebarMenuItem;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
6
|
closeMenu: () => any;
|
|
7
|
-
toggleWatchMode: (item: import("
|
|
7
|
+
toggleWatchMode: (item: import("../../views/Request/types/index.js").SidebarItem | undefined) => any;
|
|
8
8
|
clearDrafts: () => any;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
10
|
onCloseMenu?: (() => any) | undefined;
|
|
11
|
-
onToggleWatchMode?: ((item: import("
|
|
11
|
+
onToggleWatchMode?: ((item: import("../../views/Request/types/index.js").SidebarItem | undefined) => any) | undefined;
|
|
12
12
|
onClearDrafts?: (() => any) | undefined;
|
|
13
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
2
2
|
import type { Collection, Operation, Server } from '@scalar/oas-utils/entities/spec';
|
|
3
3
|
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
4
|
-
import type { EnvVariable } from '
|
|
4
|
+
import type { EnvVariable } from '../../store/active-entities';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
collection: Collection;
|
|
7
7
|
operation: Operation;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Collection, Operation, ResponseInstance } from '@scalar/oas-utils/entities/spec';
|
|
2
2
|
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
3
|
-
import type { SendRequestResult } from '
|
|
3
|
+
import type { SendRequestResult } from '../../../libs/send-request/create-request-operation';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
collection: Collection;
|
|
6
6
|
operation: Operation;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../../CodeInput-
|
|
2
|
-
import "../../../DataTableInput-
|
|
1
|
+
import "../../../CodeInput-BTN8cC5h.js";
|
|
2
|
+
import "../../../DataTableInput-RydMDjn2.js";
|
|
3
3
|
import "../../../SectionFilter-hrtoRLwj.js";
|
|
4
4
|
import "../../../ScalarAsciiArt-BjuSnj8e.js";
|
|
5
|
-
import { n as ResponseBody_default, t as ResponseSection_default } from "../../../ResponseSection-
|
|
5
|
+
import { n as ResponseBody_default, t as ResponseSection_default } from "../../../ResponseSection-B_YF7l_E.js";
|
|
6
6
|
import "../../../EmptyState-Cnm7hGW5.js";
|
|
7
7
|
export { ResponseBody_default as ResponseBody, ResponseSection_default as ResponseSection };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as WorkspaceDropdown_default } from "../../../components-
|
|
1
|
+
import { t as WorkspaceDropdown_default } from "../../../components-B0BwUDFw.js";
|
|
2
2
|
export { WorkspaceDropdown_default as WorkspaceDropdown };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DraggingItem, HoveredItem } from '@scalar/draggable';
|
|
2
|
-
import type { WorkspaceStore } from '
|
|
3
|
-
import type { ActiveEntitiesStore } from '
|
|
2
|
+
import type { WorkspaceStore } from '../../store/index.js';
|
|
3
|
+
import type { ActiveEntitiesStore } from '../../store/active-entities';
|
|
4
4
|
/** Create DnD handlers */
|
|
5
5
|
export declare function dragHandlerFactory(activeWorkspace: ActiveEntitiesStore['activeWorkspace'], { collections, collectionMutators, tags, tagMutators, workspaceMutators }: WorkspaceStore): {
|
|
6
6
|
handleDragEnd: (draggingItem: DraggingItem, hoveredItem: HoveredItem) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Collection, Operation, SecurityScheme } from '@scalar/oas-utils/entities/spec';
|
|
2
|
-
import { type SecuritySchemeGroup, type SecuritySchemeOption } from '
|
|
2
|
+
import { type SecuritySchemeGroup, type SecuritySchemeOption } from '../../../views/Request/consts/index.js';
|
|
3
3
|
type DisplayScheme = {
|
|
4
4
|
type: SecurityScheme['type'] | 'complex';
|
|
5
5
|
nameKey: SecurityScheme['nameKey'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Oauth2Flow, Server } from '@scalar/oas-utils/entities/spec';
|
|
2
|
-
import type { ErrorResponse } from '
|
|
2
|
+
import type { ErrorResponse } from '../../../libs/errors';
|
|
3
3
|
/** Oauth2 security schemes which are not implicit */
|
|
4
4
|
type NonImplicitFlow = Exclude<Oauth2Flow, {
|
|
5
5
|
type: 'implicit';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type Path, type PathValue } from '@scalar/object-utils/nested';
|
|
2
2
|
import { type Difference } from 'microdiff';
|
|
3
3
|
import { type ZodSchema } from 'zod';
|
|
4
|
-
import type { WorkspaceStore } from '
|
|
5
|
-
import type { ActiveEntitiesStore } from '
|
|
4
|
+
import type { WorkspaceStore } from '../../../store/index.js';
|
|
5
|
+
import type { ActiveEntitiesStore } from '../../../store/active-entities';
|
|
6
6
|
/**
|
|
7
7
|
* Combine Rename Diffs
|
|
8
8
|
* Rename diffs show up as a delete and an add.
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.38.
|
|
21
|
+
"version": "2.38.4",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=22"
|
|
24
24
|
},
|
|
@@ -340,23 +340,23 @@
|
|
|
340
340
|
"whatwg-mimetype": "4.0.0",
|
|
341
341
|
"yaml": "^2.8.0",
|
|
342
342
|
"zod": "^4.3.5",
|
|
343
|
-
"@scalar/draggable": "0.4.1",
|
|
344
|
-
"@scalar/components": "0.20.11",
|
|
345
343
|
"@scalar/analytics-client": "1.1.1",
|
|
346
|
-
"@scalar/
|
|
344
|
+
"@scalar/components": "0.20.12",
|
|
345
|
+
"@scalar/draggable": "0.4.1",
|
|
347
346
|
"@scalar/helpers": "0.4.2",
|
|
348
|
-
"@scalar/
|
|
349
|
-
"@scalar/oas-utils": "0.10.10",
|
|
347
|
+
"@scalar/icons": "0.6.3",
|
|
350
348
|
"@scalar/import": "0.5.3",
|
|
351
|
-
"@scalar/
|
|
349
|
+
"@scalar/oas-utils": "0.10.10",
|
|
352
350
|
"@scalar/openapi-parser": "0.25.6",
|
|
351
|
+
"@scalar/json-magic": "0.12.4",
|
|
353
352
|
"@scalar/openapi-types": "0.6.1",
|
|
354
353
|
"@scalar/postman-to-openapi": "0.5.3",
|
|
355
|
-
"@scalar/
|
|
356
|
-
"@scalar/themes": "0.15.1",
|
|
354
|
+
"@scalar/object-utils": "1.3.3",
|
|
357
355
|
"@scalar/snippetz": "0.7.6",
|
|
358
|
-
"@scalar/
|
|
356
|
+
"@scalar/sidebar": "0.8.12",
|
|
357
|
+
"@scalar/themes": "0.15.1",
|
|
359
358
|
"@scalar/types": "0.7.4",
|
|
359
|
+
"@scalar/use-codemirror": "0.14.10",
|
|
360
360
|
"@scalar/use-hooks": "0.4.1",
|
|
361
361
|
"@scalar/use-toasts": "0.10.1",
|
|
362
362
|
"@scalar/workspace-store": "0.40.4"
|
|
@@ -375,10 +375,10 @@
|
|
|
375
375
|
"vite-svg-loader": "5.1.1",
|
|
376
376
|
"vitest": "4.1.0",
|
|
377
377
|
"@scalar/galaxy": "0.6.1",
|
|
378
|
-
"@scalar/pre-post-request-scripts": "0.3.
|
|
378
|
+
"@scalar/pre-post-request-scripts": "0.3.12"
|
|
379
379
|
},
|
|
380
380
|
"scripts": {
|
|
381
|
-
"build": "vite build && vue-tsc -p tsconfig.build.json",
|
|
381
|
+
"build": "vite build && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
|
382
382
|
"dev": "pnpm playground:v2:web",
|
|
383
383
|
"playground:app": "vite ./playground/app -c ./vite.config.ts",
|
|
384
384
|
"playground:modal": "vite ./playground/modal -c ./vite.config.ts",
|