@scalar/api-client 2.43.0 → 3.0.0
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 +34 -0
- package/README.md +82 -74
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +3 -3
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.script.js +3 -2
- package/dist/components/HttpMethod/HttpMethod.vue.script.js.map +1 -1
- package/dist/components/IconSelector.vue.script.js +1 -1
- package/dist/components/Server/index.d.ts +0 -2
- package/dist/components/Server/index.d.ts.map +1 -1
- package/dist/components/Server/index.js +1 -3
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -2
- package/dist/hooks/{useFileDialog.d.ts → use-file-dialog.d.ts} +3 -2
- package/dist/hooks/use-file-dialog.d.ts.map +1 -0
- package/dist/hooks/{useFileDialog.js → use-file-dialog.js} +2 -2
- package/dist/hooks/use-file-dialog.js.map +1 -0
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -5
- package/dist/monacoeditorwork/editor.worker.bundle.js +222 -366
- package/dist/monacoeditorwork/json.worker.bundle.js +388 -501
- package/dist/monacoeditorwork/yaml.worker.bundle.js +14567 -22937
- package/dist/style.css +6031 -7687
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +4 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js +13 -10
- package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.script.js +2 -2
- package/dist/v2/blocks/operation-block/components/Header.vue.script.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue.d.ts.map +1 -0
- package/dist/{components → v2/blocks/operation-block/components}/OpenApiClientButton.vue.js +3 -3
- package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue.js.map +1 -0
- package/dist/{components → v2/blocks/operation-block/components}/OpenApiClientButton.vue.script.js +6 -7
- package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue.script.js.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/decode-buffer.js +3 -3
- package/dist/v2/blocks/operation-block/helpers/decode-buffer.js.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/response-cache.d.ts +1 -1
- package/dist/v2/blocks/operation-block/helpers/response-cache.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/response-cache.js.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/send-request.d.ts +1 -1
- package/dist/v2/blocks/operation-block/helpers/send-request.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/send-request.js +2 -2
- package/dist/v2/blocks/operation-block/helpers/send-request.js.map +1 -1
- package/dist/v2/blocks/operation-block/index.d.ts +1 -0
- package/dist/v2/blocks/operation-block/index.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/index.js +2 -1
- package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.js +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.js.map +1 -1
- package/dist/{views/Components/CodeSnippet → v2/blocks/operation-code-sample}/helpers/get-snippet.d.ts +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-snippet.d.ts.map +1 -0
- package/dist/{views/Components/CodeSnippet → v2/blocks/operation-code-sample}/helpers/get-snippet.js +2 -3
- package/dist/v2/blocks/operation-code-sample/helpers/get-snippet.js.map +1 -0
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-server-url.js +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts +4 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.script.js +4 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.script.js +2 -2
- package/dist/v2/blocks/request-block/components/RequestBody.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.script.js +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +6 -6
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +6 -6
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js.map +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts +2 -2
- package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.js +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.script.js +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/Headers.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/Headers.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/Headers.vue.script.js +11 -13
- package/dist/v2/blocks/response-block/components/Headers.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.script.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.script.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.script.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.script.js +2 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseCookies.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseCookies.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseCookies.vue.script.js +9 -9
- package/dist/v2/blocks/response-block/components/ResponseCookies.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts +3 -3
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts +1 -1
- package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.script.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/helpers/get-content-length.d.ts +1 -1
- package/dist/v2/blocks/response-block/helpers/get-content-length.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/helpers/get-content-length.js.map +1 -1
- package/dist/v2/blocks/response-block/helpers/media-types.d.ts +1 -1
- package/dist/v2/blocks/response-block/helpers/media-types.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/helpers/media-types.js +10 -1
- package/dist/v2/blocks/response-block/helpers/media-types.js.map +1 -1
- package/dist/v2/blocks/response-block/helpers/process-response-body.d.ts +1 -2
- package/dist/v2/blocks/response-block/helpers/process-response-body.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/helpers/process-response-body.js +2 -2
- package/dist/v2/blocks/response-block/helpers/process-response-body.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +2 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.script.js +8 -3
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.js +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.script.js +2 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +3 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.script.js +4 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +31 -6
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js +6 -8
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.script.js +5 -5
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.script.js +3 -3
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.script.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +3 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.script.js +6 -3
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.script.js.map +1 -1
- 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 +3 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js +4 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js.map +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/fetch-openid-connect-discovery.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +3 -3
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/resolve-default-oauth2-redirect-url.d.ts +11 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/resolve-default-oauth2-redirect-url.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/resolve-default-oauth2-redirect-url.js +18 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/resolve-default-oauth2-redirect-url.js.map +1 -0
- package/dist/v2/components/code-input/CodeInput.vue.d.ts +4 -3
- package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.js +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.js.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.script.js +8 -0
- package/dist/v2/components/code-input/CodeInput.vue.script.js.map +1 -1
- package/dist/{views/Collection/CollectionNavigation.vue.d.ts → v2/components/code-input/PillTooltipHost.vue.d.ts} +3 -2
- package/dist/v2/components/code-input/PillTooltipHost.vue.d.ts.map +1 -0
- package/dist/v2/components/code-input/PillTooltipHost.vue.js +7 -0
- package/dist/v2/components/code-input/PillTooltipHost.vue.js.map +1 -0
- package/dist/v2/components/code-input/PillTooltipHost.vue.script.js +40 -0
- package/dist/v2/components/code-input/PillTooltipHost.vue.script.js.map +1 -0
- package/dist/v2/components/code-input/code-variable-widget.d.ts +1 -0
- package/dist/v2/components/code-input/code-variable-widget.d.ts.map +1 -1
- package/dist/v2/components/code-input/code-variable-widget.js +33 -20
- package/dist/v2/components/code-input/code-variable-widget.js.map +1 -1
- package/dist/v2/components/code-input/pill-context.d.ts +11 -0
- package/dist/v2/components/code-input/pill-context.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts +3 -3
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -1
- package/dist/v2/components/layout/CollapsibleSection.vue.d.ts.map +1 -1
- package/dist/v2/components/layout/CollapsibleSection.vue.js.map +1 -1
- package/dist/v2/components/layout/CollapsibleSection.vue.script.js +5 -2
- package/dist/v2/components/layout/CollapsibleSection.vue.script.js.map +1 -1
- package/dist/v2/components/modals/DeleteModal.vue.d.ts +2 -2
- package/dist/v2/components/modals/ModalClientContainer.vue.d.ts +2 -2
- package/dist/v2/components/server/ServerDropdown.vue.d.ts +1 -1
- package/dist/v2/components/server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/v2/components/server/ServerDropdown.vue.js.map +1 -1
- package/dist/v2/components/server/ServerDropdown.vue.script.js.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.script.js +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.script.js.map +1 -1
- package/dist/v2/constants.js +1 -1
- package/dist/v2/features/app/App.vue.script.js +1 -1
- package/dist/v2/features/app/app-state.js +6 -6
- package/dist/v2/features/app/components/AppSidebar.vue.script.js +2 -2
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js.map +1 -1
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.script.js +4 -4
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.script.js.map +1 -1
- package/dist/v2/features/app/components/DesktopTab.vue.d.ts +4 -4
- package/dist/v2/features/app/components/DesktopTab.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/DesktopTab.vue.js +1 -1
- package/dist/v2/features/app/components/DesktopTab.vue.js.map +1 -1
- package/dist/v2/features/app/components/DesktopTab.vue.script.js +2 -2
- package/dist/v2/features/app/components/DesktopTab.vue.script.js.map +1 -1
- package/dist/v2/features/app/helpers/routes.d.ts +2 -2
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/routes.js +11 -5
- package/dist/v2/features/app/helpers/routes.js.map +1 -1
- package/dist/v2/features/app/index.js +2 -2
- package/dist/v2/features/collection/DocumentCollection.vue.script.js +1 -1
- package/dist/v2/features/collection/OperationCollection.vue.script.js +1 -1
- package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js +1 -1
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.d.ts +16 -0
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.js +7 -0
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js +220 -0
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js.map +1 -0
- package/dist/{components/Sidebar/SidebarButton.vue.d.ts → v2/features/collection/components/Runner/components/RunnerCard.vue.d.ts} +8 -6
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.js +7 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.script.js +45 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.script.js.map +1 -0
- package/dist/{components/Form/LabelInput.vue.d.ts → v2/features/collection/components/Runner/components/RunnerOrderItem.vue.d.ts} +12 -8
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.js +7 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.script.js +73 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.script.js.map +1 -0
- package/dist/{components/AddressBar/AddressBarHistory.vue.d.ts → v2/features/collection/components/Runner/components/RunnerResultRow.vue.d.ts} +11 -5
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.js +7 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.script.js +124 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.script.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.d.ts +17 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.js +7 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.script.js +126 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.script.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.d.ts +18 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.js +7 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.script.js +180 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.script.js.map +1 -0
- package/dist/{components/Sidebar/Actions/EditSidebarListElement.vue.d.ts → v2/features/collection/components/Runner/components/RunnerTreeExample.vue.d.ts} +6 -5
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.js +7 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.script.js +44 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.script.js.map +1 -0
- package/dist/{components/DataTable/DataTableText.vue.d.ts → v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.d.ts} +6 -4
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.js +7 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.script.js +53 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.script.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.d.ts +23 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.js +7 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.script.js +75 -0
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.script.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/hooks/index.d.ts +3 -0
- package/dist/v2/features/collection/components/Runner/hooks/index.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.d.ts +73 -0
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js +190 -0
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.d.ts +46 -0
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.js +114 -0
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.js.map +1 -0
- package/dist/v2/features/collection/components/Runner/index.d.ts +2 -0
- package/dist/v2/features/collection/components/Runner/index.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Tabs.vue.js.map +1 -1
- package/dist/v2/features/collection/components/Tabs.vue.script.js +3 -2
- package/dist/v2/features/collection/components/Tabs.vue.script.js.map +1 -1
- package/dist/v2/features/command-palette/TheCommandPalette.vue.script.js +2 -2
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.script.js +3 -3
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.script.js.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.script.js +1 -1
- package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js +1 -1
- package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js.map +1 -1
- package/dist/{libs → v2/features/command-palette/helpers}/parse-curl.d.ts +2 -2
- package/dist/v2/features/command-palette/helpers/parse-curl.d.ts.map +1 -0
- package/dist/{libs → v2/features/command-palette/helpers}/parse-curl.js +1 -1
- package/dist/v2/features/command-palette/helpers/parse-curl.js.map +1 -0
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +1 -1
- package/dist/v2/features/command-palette/index.d.ts +2 -0
- package/dist/v2/features/command-palette/index.d.ts.map +1 -1
- package/dist/v2/features/command-palette/index.js +3 -1
- package/dist/v2/features/editor/helpers/configure-language-support.js +3 -3
- package/dist/v2/features/editor/helpers/configure-language-support.js.map +1 -1
- package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts +1 -1
- package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts.map +1 -1
- package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js +1 -1
- package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js.map +1 -1
- package/dist/v2/features/editor/helpers/json/json-ast.d.ts +1 -1
- package/dist/v2/features/editor/helpers/json/json-ast.d.ts.map +1 -1
- package/dist/v2/features/editor/helpers/json/json-ast.js +1 -1
- package/dist/v2/features/editor/helpers/json/json-ast.js.map +1 -1
- package/dist/v2/features/editor/helpers/theme/load-css-variables.d.ts +1 -1
- package/dist/v2/features/editor/hooks/use-editor-markers.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.script.js +4 -4
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.script.js.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts +5 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.script.js +70 -13
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.script.js.map +1 -1
- package/dist/v2/features/modal/Modal.vue.d.ts +8 -3
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js.map +1 -1
- package/dist/v2/features/modal/Modal.vue.script.js +1 -1
- package/dist/v2/features/modal/Modal.vue.script.js.map +1 -1
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +4 -3
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -1
- package/dist/v2/features/modal/helpers/create-api-client-modal.js +12 -3
- package/dist/v2/features/modal/helpers/create-api-client-modal.js.map +1 -1
- package/dist/v2/features/modal/helpers/types.d.ts +8 -0
- package/dist/v2/features/modal/helpers/types.d.ts.map +1 -0
- package/dist/v2/features/modal/index.d.ts +1 -0
- package/dist/v2/features/modal/index.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.d.ts +3 -3
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js.map +1 -1
- package/dist/v2/features/operation/Operation.vue.script.js +3 -1
- package/dist/v2/features/operation/Operation.vue.script.js.map +1 -1
- package/dist/v2/features/settings/CollectionSettings.vue.script.js +1 -1
- package/dist/v2/features/settings/components/Appearance.vue.d.ts +2 -2
- package/dist/v2/helpers/safe-run.d.ts +10 -0
- package/dist/v2/helpers/safe-run.d.ts.map +1 -0
- package/dist/v2/helpers/safe-run.js +19 -0
- package/dist/v2/helpers/safe-run.js.map +1 -0
- package/package.json +146 -169
- package/dist/assets/keycap.ascii.virtual.js +0 -6
- package/dist/assets/keycap.ascii.virtual.js.map +0 -1
- package/dist/components/AddressBar/AddressBar.vue.d.ts +0 -20
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +0 -1
- package/dist/components/AddressBar/AddressBar.vue.js +0 -9
- package/dist/components/AddressBar/AddressBar.vue.js.map +0 -1
- package/dist/components/AddressBar/AddressBar.vue.script.js +0 -204
- package/dist/components/AddressBar/AddressBar.vue.script.js.map +0 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +0 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +0 -9
- package/dist/components/AddressBar/AddressBarHistory.vue.js.map +0 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.script.js +0 -85
- package/dist/components/AddressBar/AddressBarHistory.vue.script.js.map +0 -1
- package/dist/components/AddressBar/httpStatusCodeColors.d.ts +0 -22
- package/dist/components/AddressBar/httpStatusCodeColors.d.ts.map +0 -1
- package/dist/components/AddressBar/httpStatusCodeColors.js +0 -20
- package/dist/components/AddressBar/httpStatusCodeColors.js.map +0 -1
- package/dist/components/AddressBar/index.d.ts +0 -2
- package/dist/components/AddressBar/index.d.ts.map +0 -1
- package/dist/components/AddressBar/index.js +0 -2
- package/dist/components/CodeInput/CodeInput.vue.d.ts +0 -101
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +0 -1
- package/dist/components/CodeInput/CodeInput.vue.js +0 -10
- package/dist/components/CodeInput/CodeInput.vue.js.map +0 -1
- package/dist/components/CodeInput/CodeInput.vue.script.js +0 -294
- package/dist/components/CodeInput/CodeInput.vue.script.js.map +0 -1
- package/dist/components/CodeInput/codeVariableWidget.d.ts +0 -17
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +0 -1
- package/dist/components/CodeInput/codeVariableWidget.js +0 -135
- package/dist/components/CodeInput/codeVariableWidget.js.map +0 -1
- package/dist/components/CodeInput/index.d.ts +0 -2
- package/dist/components/CodeInput/index.d.ts.map +0 -1
- package/dist/components/CodeInput/index.js +0 -2
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +0 -31
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandActionForm.vue.js +0 -7
- package/dist/components/CommandPalette/CommandActionForm.vue.js.map +0 -1
- package/dist/components/CommandPalette/CommandActionForm.vue.script.js +0 -42
- package/dist/components/CommandPalette/CommandActionForm.vue.script.js.map +0 -1
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +0 -15
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandActionInput.vue.js +0 -7
- package/dist/components/CommandPalette/CommandActionInput.vue.js.map +0 -1
- package/dist/components/CommandPalette/CommandActionInput.vue.script.js +0 -55
- package/dist/components/CommandPalette/CommandActionInput.vue.script.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +0 -10
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +0 -7
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.script.js +0 -78
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.script.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +0 -16
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +0 -7
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.script.js +0 -104
- package/dist/components/CommandPalette/CommandPaletteExample.vue.script.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +0 -10
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +0 -7
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.script.js +0 -181
- package/dist/components/CommandPalette/CommandPaletteImport.vue.script.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.d.ts +0 -20
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +0 -9
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.script.js +0 -108
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.script.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +0 -16
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +0 -7
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.script.js +0 -108
- package/dist/components/CommandPalette/CommandPaletteServer.vue.script.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +0 -10
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +0 -7
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.script.js +0 -70
- package/dist/components/CommandPalette/CommandPaletteTag.vue.script.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +0 -10
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +0 -7
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.script.js +0 -49
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.script.js.map +0 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +0 -217
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +0 -9
- package/dist/components/CommandPalette/TheCommandPalette.vue.js.map +0 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.script.js +0 -323
- package/dist/components/CommandPalette/TheCommandPalette.vue.script.js.map +0 -1
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +0 -14
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/WatchModeToggle.vue.js +0 -7
- package/dist/components/CommandPalette/WatchModeToggle.vue.js.map +0 -1
- package/dist/components/CommandPalette/WatchModeToggle.vue.script.js +0 -40
- package/dist/components/CommandPalette/WatchModeToggle.vue.script.js.map +0 -1
- package/dist/components/CommandPalette/index.d.ts +0 -2
- package/dist/components/CommandPalette/index.d.ts.map +0 -1
- package/dist/components/CommandPalette/index.js +0 -2
- package/dist/components/DataTable/DataTable.vue.d.ts +0 -23
- package/dist/components/DataTable/DataTable.vue.d.ts.map +0 -1
- package/dist/components/DataTable/DataTable.vue.js +0 -7
- package/dist/components/DataTable/DataTable.vue.js.map +0 -1
- package/dist/components/DataTable/DataTable.vue.script.js +0 -30
- package/dist/components/DataTable/DataTable.vue.script.js.map +0 -1
- package/dist/components/DataTable/DataTableCell.vue.d.ts +0 -20
- package/dist/components/DataTable/DataTableCell.vue.d.ts.map +0 -1
- package/dist/components/DataTable/DataTableCell.vue.js +0 -7
- package/dist/components/DataTable/DataTableCell.vue.js.map +0 -1
- package/dist/components/DataTable/DataTableCell.vue.script.js +0 -21
- package/dist/components/DataTable/DataTableCell.vue.script.js.map +0 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +0 -15
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +0 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.js +0 -7
- package/dist/components/DataTable/DataTableCheckbox.vue.js.map +0 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.script.js +0 -43
- package/dist/components/DataTable/DataTableCheckbox.vue.script.js.map +0 -1
- package/dist/components/DataTable/DataTableHeader.vue.d.ts +0 -14
- package/dist/components/DataTable/DataTableHeader.vue.d.ts.map +0 -1
- package/dist/components/DataTable/DataTableHeader.vue.js +0 -7
- package/dist/components/DataTable/DataTableHeader.vue.js.map +0 -1
- package/dist/components/DataTable/DataTableHeader.vue.script.js +0 -20
- package/dist/components/DataTable/DataTableHeader.vue.script.js.map +0 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts +0 -54
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +0 -1
- package/dist/components/DataTable/DataTableInput.vue.js +0 -9
- package/dist/components/DataTable/DataTableInput.vue.js.map +0 -1
- package/dist/components/DataTable/DataTableInput.vue.script.js +0 -164
- package/dist/components/DataTable/DataTableInput.vue.script.js.map +0 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +0 -17
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +0 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +0 -7
- package/dist/components/DataTable/DataTableInputSelect.vue.js.map +0 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.script.js +0 -150
- package/dist/components/DataTable/DataTableInputSelect.vue.script.js.map +0 -1
- package/dist/components/DataTable/DataTableRow.vue.d.ts +0 -14
- package/dist/components/DataTable/DataTableRow.vue.d.ts.map +0 -1
- package/dist/components/DataTable/DataTableRow.vue.js +0 -13
- package/dist/components/DataTable/DataTableRow.vue.js.map +0 -1
- package/dist/components/DataTable/DataTableText.vue.d.ts.map +0 -1
- package/dist/components/DataTable/DataTableText.vue.js +0 -7
- package/dist/components/DataTable/DataTableText.vue.js.map +0 -1
- package/dist/components/DataTable/DataTableText.vue.script.js +0 -20
- package/dist/components/DataTable/DataTableText.vue.script.js.map +0 -1
- package/dist/components/DataTable/index.d.ts +0 -9
- package/dist/components/DataTable/index.d.ts.map +0 -1
- package/dist/components/DataTable/index.js +0 -9
- package/dist/components/EmptyState.vue.d.ts +0 -4
- package/dist/components/EmptyState.vue.d.ts.map +0 -1
- package/dist/components/EmptyState.vue.js +0 -9
- package/dist/components/EmptyState.vue.js.map +0 -1
- package/dist/components/EmptyState.vue.script.js +0 -41
- package/dist/components/EmptyState.vue.script.js.map +0 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts +0 -4
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +0 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +0 -7
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js.map +0 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.script.js +0 -111
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.script.js.map +0 -1
- package/dist/components/Form/Form.vue.d.ts +0 -26
- package/dist/components/Form/Form.vue.d.ts.map +0 -1
- package/dist/components/Form/Form.vue.js +0 -7
- package/dist/components/Form/Form.vue.js.map +0 -1
- package/dist/components/Form/Form.vue.script.js +0 -82
- package/dist/components/Form/Form.vue.script.js.map +0 -1
- package/dist/components/Form/LabelInput.vue.d.ts.map +0 -1
- package/dist/components/Form/LabelInput.vue.js +0 -9
- package/dist/components/Form/LabelInput.vue.js.map +0 -1
- package/dist/components/Form/LabelInput.vue.script.js +0 -39
- package/dist/components/Form/LabelInput.vue.script.js.map +0 -1
- package/dist/components/HttpMethod/index.js +0 -2
- package/dist/components/ImportCollection/DropEventListener.vue.d.ts +0 -8
- package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +0 -1
- package/dist/components/ImportCollection/DropEventListener.vue.js +0 -7
- package/dist/components/ImportCollection/DropEventListener.vue.js.map +0 -1
- package/dist/components/ImportCollection/DropEventListener.vue.script.js +0 -91
- package/dist/components/ImportCollection/DropEventListener.vue.script.js.map +0 -1
- package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts +0 -14
- package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +0 -1
- package/dist/components/ImportCollection/ImportCollectionListener.vue.js +0 -7
- package/dist/components/ImportCollection/ImportCollectionListener.vue.js.map +0 -1
- package/dist/components/ImportCollection/ImportCollectionListener.vue.script.js +0 -102
- package/dist/components/ImportCollection/ImportCollectionListener.vue.script.js.map +0 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +0 -13
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +0 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +0 -8
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js.map +0 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.script.js +0 -206
- package/dist/components/ImportCollection/ImportCollectionModal.vue.script.js.map +0 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +0 -13
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +0 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +0 -7
- package/dist/components/ImportCollection/ImportNowButton.vue.js.map +0 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.script.js +0 -82
- package/dist/components/ImportCollection/ImportNowButton.vue.script.js.map +0 -1
- package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +0 -8
- package/dist/components/ImportCollection/PasteEventListener.vue.d.ts.map +0 -1
- package/dist/components/ImportCollection/PasteEventListener.vue.js +0 -7
- package/dist/components/ImportCollection/PasteEventListener.vue.js.map +0 -1
- package/dist/components/ImportCollection/PasteEventListener.vue.script.js +0 -31
- package/dist/components/ImportCollection/PasteEventListener.vue.script.js.map +0 -1
- package/dist/components/ImportCollection/PrefetchError.vue.d.ts +0 -7
- package/dist/components/ImportCollection/PrefetchError.vue.d.ts.map +0 -1
- package/dist/components/ImportCollection/PrefetchError.vue.js +0 -7
- package/dist/components/ImportCollection/PrefetchError.vue.js.map +0 -1
- package/dist/components/ImportCollection/PrefetchError.vue.script.js +0 -32
- package/dist/components/ImportCollection/PrefetchError.vue.script.js.map +0 -1
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +0 -8
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +0 -1
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.js +0 -7
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.js.map +0 -1
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.script.js +0 -21
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.script.js.map +0 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts +0 -4
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +0 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +0 -7
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js.map +0 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.script.js +0 -114
- package/dist/components/ImportCollection/WorkspaceSelector.vue.script.js.map +0 -1
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +0 -39
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +0 -1
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +0 -109
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js.map +0 -1
- package/dist/components/ImportCollection/index.d.ts +0 -2
- package/dist/components/ImportCollection/index.d.ts.map +0 -1
- package/dist/components/ImportCollection/index.js +0 -2
- package/dist/components/ImportCollection/utils/get-openapi-version.d.ts +0 -5
- package/dist/components/ImportCollection/utils/get-openapi-version.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/get-openapi-version.js +0 -26
- package/dist/components/ImportCollection/utils/get-openapi-version.js.map +0 -1
- package/dist/components/ImportCollection/utils/import-collection.d.ts +0 -12
- package/dist/components/ImportCollection/utils/import-collection.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/import-collection.js +0 -23
- package/dist/components/ImportCollection/utils/import-collection.js.map +0 -1
- package/dist/components/ImportCollection/utils/is-document.d.ts +0 -3
- package/dist/components/ImportCollection/utils/is-document.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/is-document.js +0 -12
- package/dist/components/ImportCollection/utils/is-document.js.map +0 -1
- package/dist/components/ImportCollection/utils/is-url.d.ts +0 -5
- package/dist/components/ImportCollection/utils/is-url.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/is-url.js +0 -14
- package/dist/components/ImportCollection/utils/is-url.js.map +0 -1
- package/dist/components/ImportCollection/utils/workspace-store-is-empty.d.ts +0 -6
- package/dist/components/ImportCollection/utils/workspace-store-is-empty.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/workspace-store-is-empty.js +0 -13
- package/dist/components/ImportCollection/utils/workspace-store-is-empty.js.map +0 -1
- package/dist/components/OpenApiClientButton.vue.d.ts.map +0 -1
- package/dist/components/OpenApiClientButton.vue.js.map +0 -1
- package/dist/components/OpenApiClientButton.vue.script.js.map +0 -1
- package/dist/components/Search/useSearch.d.ts +0 -33
- package/dist/components/Search/useSearch.d.ts.map +0 -1
- package/dist/components/Search/useSearch.js +0 -110
- package/dist/components/Search/useSearch.js.map +0 -1
- package/dist/components/Server/ServerDropdown.vue.d.ts +0 -12
- package/dist/components/Server/ServerDropdown.vue.d.ts.map +0 -1
- package/dist/components/Server/ServerDropdown.vue.js +0 -7
- package/dist/components/Server/ServerDropdown.vue.js.map +0 -1
- package/dist/components/Server/ServerDropdown.vue.script.js +0 -133
- package/dist/components/Server/ServerDropdown.vue.script.js.map +0 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts +0 -19
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +0 -1
- package/dist/components/Server/ServerDropdownItem.vue.js +0 -9
- package/dist/components/Server/ServerDropdownItem.vue.js.map +0 -1
- package/dist/components/Server/ServerDropdownItem.vue.script.js +0 -90
- package/dist/components/Server/ServerDropdownItem.vue.script.js.map +0 -1
- package/dist/components/Server/ServerSelector.vue.d.ts +0 -17
- package/dist/components/Server/ServerSelector.vue.d.ts.map +0 -1
- package/dist/components/Server/ServerSelector.vue.js +0 -7
- package/dist/components/Server/ServerSelector.vue.js.map +0 -1
- package/dist/components/Server/ServerSelector.vue.script.js +0 -87
- package/dist/components/Server/ServerSelector.vue.script.js.map +0 -1
- package/dist/components/SideNav/DownloadAppButton.vue.d.ts +0 -4
- package/dist/components/SideNav/DownloadAppButton.vue.d.ts.map +0 -1
- package/dist/components/SideNav/DownloadAppButton.vue.js +0 -9
- package/dist/components/SideNav/DownloadAppButton.vue.js.map +0 -1
- package/dist/components/SideNav/DownloadAppButton.vue.script.js +0 -31
- package/dist/components/SideNav/DownloadAppButton.vue.script.js.map +0 -1
- package/dist/components/SideNav/SideHelp.vue.d.ts +0 -4
- package/dist/components/SideNav/SideHelp.vue.d.ts.map +0 -1
- package/dist/components/SideNav/SideHelp.vue.js +0 -7
- package/dist/components/SideNav/SideHelp.vue.js.map +0 -1
- package/dist/components/SideNav/SideHelp.vue.script.js +0 -102
- package/dist/components/SideNav/SideHelp.vue.script.js.map +0 -1
- package/dist/components/SideNav/SideNav.vue.d.ts +0 -4
- package/dist/components/SideNav/SideNav.vue.d.ts.map +0 -1
- package/dist/components/SideNav/SideNav.vue.js +0 -7
- package/dist/components/SideNav/SideNav.vue.js.map +0 -1
- package/dist/components/SideNav/SideNav.vue.script.js +0 -80
- package/dist/components/SideNav/SideNav.vue.script.js.map +0 -1
- package/dist/components/SideNav/SideNavGroup.vue.d.ts +0 -14
- package/dist/components/SideNav/SideNavGroup.vue.d.ts.map +0 -1
- package/dist/components/SideNav/SideNavGroup.vue.js +0 -7
- package/dist/components/SideNav/SideNavGroup.vue.js.map +0 -1
- package/dist/components/SideNav/SideNavGroup.vue.script.js +0 -16
- package/dist/components/SideNav/SideNavGroup.vue.script.js.map +0 -1
- package/dist/components/SideNav/SideNavLink.vue.d.ts +0 -23
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +0 -1
- package/dist/components/SideNav/SideNavLink.vue.js +0 -7
- package/dist/components/SideNav/SideNavLink.vue.js.map +0 -1
- package/dist/components/SideNav/SideNavLink.vue.script.js +0 -32
- package/dist/components/SideNav/SideNavLink.vue.script.js.map +0 -1
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +0 -21
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +0 -1
- package/dist/components/SideNav/SideNavRouterLink.vue.js +0 -7
- package/dist/components/SideNav/SideNavRouterLink.vue.js.map +0 -1
- package/dist/components/SideNav/SideNavRouterLink.vue.script.js +0 -34
- package/dist/components/SideNav/SideNavRouterLink.vue.script.js.map +0 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +0 -14
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +0 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +0 -7
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js.map +0 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.script.js +0 -56
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.script.js.map +0 -1
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +0 -1
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.js +0 -7
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.js.map +0 -1
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.script.js +0 -31
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.script.js.map +0 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts +0 -23
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +0 -1
- package/dist/components/Sidebar/Sidebar.vue.js +0 -9
- package/dist/components/Sidebar/Sidebar.vue.js.map +0 -1
- package/dist/components/Sidebar/Sidebar.vue.script.js +0 -71
- package/dist/components/Sidebar/Sidebar.vue.script.js.map +0 -1
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +0 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +0 -7
- package/dist/components/Sidebar/SidebarButton.vue.js.map +0 -1
- package/dist/components/Sidebar/SidebarButton.vue.script.js +0 -36
- package/dist/components/Sidebar/SidebarButton.vue.script.js.map +0 -1
- package/dist/components/Sidebar/SidebarList.vue.d.ts +0 -14
- package/dist/components/Sidebar/SidebarList.vue.d.ts.map +0 -1
- package/dist/components/Sidebar/SidebarList.vue.js +0 -13
- package/dist/components/Sidebar/SidebarList.vue.js.map +0 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +0 -44
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +0 -1
- package/dist/components/Sidebar/SidebarListElement.vue.js +0 -10
- package/dist/components/Sidebar/SidebarListElement.vue.js.map +0 -1
- package/dist/components/Sidebar/SidebarListElement.vue.script.js +0 -128
- package/dist/components/Sidebar/SidebarListElement.vue.script.js.map +0 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +0 -21
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +0 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +0 -7
- package/dist/components/Sidebar/SidebarListElementActions.vue.js.map +0 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.script.js +0 -97
- package/dist/components/Sidebar/SidebarListElementActions.vue.script.js.map +0 -1
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts +0 -4
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +0 -1
- package/dist/components/Sidebar/SidebarToggle.vue.js +0 -7
- package/dist/components/Sidebar/SidebarToggle.vue.js.map +0 -1
- package/dist/components/Sidebar/SidebarToggle.vue.script.js +0 -47
- package/dist/components/Sidebar/SidebarToggle.vue.script.js.map +0 -1
- package/dist/components/Sidebar/index.d.ts +0 -2
- package/dist/components/Sidebar/index.d.ts.map +0 -1
- package/dist/components/Sidebar/index.js +0 -2
- package/dist/components/TopNav/TopNav.vue.d.ts +0 -10
- package/dist/components/TopNav/TopNav.vue.d.ts.map +0 -1
- package/dist/components/TopNav/TopNav.vue.js +0 -7
- package/dist/components/TopNav/TopNav.vue.js.map +0 -1
- package/dist/components/TopNav/TopNav.vue.script.js +0 -232
- package/dist/components/TopNav/TopNav.vue.script.js.map +0 -1
- package/dist/components/TopNav/TopNavItem.vue.d.ts +0 -24
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +0 -1
- package/dist/components/TopNav/TopNavItem.vue.js +0 -9
- package/dist/components/TopNav/TopNavItem.vue.js.map +0 -1
- package/dist/components/TopNav/TopNavItem.vue.script.js +0 -129
- package/dist/components/TopNav/TopNavItem.vue.script.js.map +0 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +0 -33
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +0 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +0 -7
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js.map +0 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.script.js +0 -84
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.script.js.map +0 -1
- package/dist/components/ViewLayout/index.d.ts +0 -2
- package/dist/components/ViewLayout/index.d.ts.map +0 -1
- package/dist/components/ViewLayout/index.js +0 -2
- package/dist/components/index.d.ts +0 -4
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/index.js +0 -4
- package/dist/constants.d.ts +0 -26
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -27
- package/dist/constants.js.map +0 -1
- package/dist/data/httpHeaders.d.ts +0 -7
- package/dist/data/httpHeaders.d.ts.map +0 -1
- package/dist/data/httpHeaders.js +0 -539
- package/dist/data/httpHeaders.js.map +0 -1
- package/dist/hooks/index.d.ts +0 -5
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/index.js +0 -5
- package/dist/hooks/useClientConfig.d.ts +0 -198
- package/dist/hooks/useClientConfig.d.ts.map +0 -1
- package/dist/hooks/useClientConfig.js +0 -23
- package/dist/hooks/useClientConfig.js.map +0 -1
- package/dist/hooks/useFileDialog.d.ts.map +0 -1
- package/dist/hooks/useFileDialog.js.map +0 -1
- package/dist/hooks/useLayout.d.ts +0 -17
- package/dist/hooks/useLayout.d.ts.map +0 -1
- package/dist/hooks/useLayout.js +0 -13
- package/dist/hooks/useLayout.js.map +0 -1
- package/dist/hooks/useResponseBody.d.ts +0 -19
- package/dist/hooks/useResponseBody.d.ts.map +0 -1
- package/dist/hooks/useResponseBody.js +0 -32
- package/dist/hooks/useResponseBody.js.map +0 -1
- package/dist/hooks/useSidebar.d.ts +0 -26
- package/dist/hooks/useSidebar.d.ts.map +0 -1
- package/dist/hooks/useSidebar.js +0 -36
- package/dist/hooks/useSidebar.js.map +0 -1
- package/dist/layouts/App/ApiClientApp.vue.d.ts +0 -14
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +0 -1
- package/dist/layouts/App/ApiClientApp.vue.js +0 -8
- package/dist/layouts/App/ApiClientApp.vue.js.map +0 -1
- package/dist/layouts/App/ApiClientApp.vue.script.js +0 -80
- package/dist/layouts/App/ApiClientApp.vue.script.js.map +0 -1
- package/dist/layouts/App/MainLayout.vue.d.ts +0 -14
- package/dist/layouts/App/MainLayout.vue.d.ts.map +0 -1
- package/dist/layouts/App/MainLayout.vue.js +0 -7
- package/dist/layouts/App/MainLayout.vue.js.map +0 -1
- package/dist/layouts/App/MainLayout.vue.script.js +0 -22
- package/dist/layouts/App/MainLayout.vue.script.js.map +0 -1
- package/dist/layouts/App/create-api-client-app.d.ts +0 -4059
- package/dist/layouts/App/create-api-client-app.d.ts.map +0 -1
- package/dist/layouts/App/create-api-client-app.js +0 -36
- package/dist/layouts/App/create-api-client-app.js.map +0 -1
- package/dist/layouts/App/hotkeys.d.ts +0 -6
- package/dist/layouts/App/hotkeys.d.ts.map +0 -1
- package/dist/layouts/App/hotkeys.js +0 -74
- package/dist/layouts/App/hotkeys.js.map +0 -1
- package/dist/layouts/App/index.d.ts +0 -3
- package/dist/layouts/App/index.d.ts.map +0 -1
- package/dist/layouts/App/index.js +0 -3
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts +0 -4
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +0 -1
- package/dist/layouts/Modal/ApiClientModal.vue.js +0 -7
- package/dist/layouts/Modal/ApiClientModal.vue.js.map +0 -1
- package/dist/layouts/Modal/ApiClientModal.vue.script.js +0 -41
- package/dist/layouts/Modal/ApiClientModal.vue.script.js.map +0 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +0 -12
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +0 -1
- package/dist/layouts/Modal/create-api-client-modal.js +0 -34
- package/dist/layouts/Modal/create-api-client-modal.js.map +0 -1
- package/dist/layouts/Modal/index.d.ts +0 -3
- package/dist/layouts/Modal/index.d.ts.map +0 -1
- package/dist/layouts/Modal/index.js +0 -2
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts +0 -4
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +0 -1
- package/dist/layouts/Web/ApiClientWeb.vue.js +0 -8
- package/dist/layouts/Web/ApiClientWeb.vue.js.map +0 -1
- package/dist/layouts/Web/ApiClientWeb.vue.script.js +0 -68
- package/dist/layouts/Web/ApiClientWeb.vue.script.js.map +0 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +0 -4056
- package/dist/layouts/Web/create-api-client-web.d.ts.map +0 -1
- package/dist/layouts/Web/create-api-client-web.js +0 -33
- package/dist/layouts/Web/create-api-client-web.js.map +0 -1
- package/dist/layouts/Web/index.d.ts +0 -3
- package/dist/layouts/Web/index.d.ts.map +0 -1
- package/dist/layouts/Web/index.js +0 -3
- package/dist/libs/create-client.d.ts +0 -4127
- package/dist/libs/create-client.d.ts.map +0 -1
- package/dist/libs/create-client.js +0 -178
- package/dist/libs/create-client.js.map +0 -1
- package/dist/libs/electron.d.ts +0 -5
- package/dist/libs/electron.d.ts.map +0 -1
- package/dist/libs/electron.js +0 -9
- package/dist/libs/electron.js.map +0 -1
- package/dist/libs/env-helpers.d.ts +0 -17
- package/dist/libs/env-helpers.d.ts.map +0 -1
- package/dist/libs/env-helpers.js +0 -9
- package/dist/libs/env-helpers.js.map +0 -1
- package/dist/libs/environment-parser.d.ts +0 -8
- package/dist/libs/environment-parser.d.ts.map +0 -1
- package/dist/libs/environment-parser.js +0 -19
- package/dist/libs/environment-parser.js.map +0 -1
- package/dist/libs/errors.d.ts +0 -23
- package/dist/libs/errors.d.ts.map +0 -1
- package/dist/libs/errors.js +0 -34
- package/dist/libs/errors.js.map +0 -1
- package/dist/libs/event-bus.d.ts +0 -41
- package/dist/libs/event-bus.d.ts.map +0 -1
- package/dist/libs/event-bus.js +0 -43
- package/dist/libs/event-bus.js.map +0 -1
- package/dist/libs/extractAttachmentFilename.d.ts +0 -5
- package/dist/libs/extractAttachmentFilename.d.ts.map +0 -1
- package/dist/libs/extractAttachmentFilename.js +0 -23
- package/dist/libs/extractAttachmentFilename.js.map +0 -1
- package/dist/libs/find-request.d.ts +0 -75
- package/dist/libs/find-request.d.ts.map +0 -1
- package/dist/libs/find-request.js +0 -40
- package/dist/libs/find-request.js.map +0 -1
- package/dist/libs/get-request-uid-by-path-method.d.ts +0 -7
- package/dist/libs/get-request-uid-by-path-method.d.ts.map +0 -1
- package/dist/libs/get-request-uid-by-path-method.js +0 -19
- package/dist/libs/get-request-uid-by-path-method.js.map +0 -1
- package/dist/libs/getOpenApiDocumentDetails.d.ts +0 -10
- package/dist/libs/getOpenApiDocumentDetails.d.ts.map +0 -1
- package/dist/libs/getOpenApiDocumentDetails.js +0 -45
- package/dist/libs/getOpenApiDocumentDetails.js.map +0 -1
- package/dist/libs/hot-keys.d.ts +0 -35
- package/dist/libs/hot-keys.d.ts.map +0 -1
- package/dist/libs/hot-keys.js +0 -92
- package/dist/libs/hot-keys.js.map +0 -1
- package/dist/libs/importers/curl.d.ts +0 -27
- package/dist/libs/importers/curl.d.ts.map +0 -1
- package/dist/libs/importers/curl.js +0 -54
- package/dist/libs/importers/curl.js.map +0 -1
- package/dist/libs/importers/index.d.ts +0 -2
- package/dist/libs/importers/index.d.ts.map +0 -1
- package/dist/libs/importers/index.js +0 -2
- package/dist/libs/index.d.ts +0 -15
- package/dist/libs/index.d.ts.map +0 -1
- package/dist/libs/index.js +0 -17
- package/dist/libs/isUrl.d.ts +0 -3
- package/dist/libs/isUrl.d.ts.map +0 -1
- package/dist/libs/isUrl.js +0 -12
- package/dist/libs/isUrl.js.map +0 -1
- package/dist/libs/local-storage.d.ts +0 -9
- package/dist/libs/local-storage.d.ts.map +0 -1
- package/dist/libs/local-storage.js +0 -40
- package/dist/libs/local-storage.js.map +0 -1
- package/dist/libs/normalize-headers.d.ts +0 -14
- package/dist/libs/normalize-headers.d.ts.map +0 -1
- package/dist/libs/normalize-headers.js +0 -56
- package/dist/libs/normalize-headers.js.map +0 -1
- package/dist/libs/parse-curl.d.ts.map +0 -1
- package/dist/libs/parse-curl.js.map +0 -1
- package/dist/libs/postman.d.ts +0 -11
- package/dist/libs/postman.d.ts.map +0 -1
- package/dist/libs/postman.js +0 -40
- package/dist/libs/postman.js.map +0 -1
- package/dist/libs/send-request/build-request-security.d.ts +0 -19
- package/dist/libs/send-request/build-request-security.d.ts.map +0 -1
- package/dist/libs/send-request/build-request-security.js +0 -41
- package/dist/libs/send-request/build-request-security.js.map +0 -1
- package/dist/libs/send-request/create-fetch-body.d.ts +0 -18
- package/dist/libs/send-request/create-fetch-body.d.ts.map +0 -1
- package/dist/libs/send-request/create-fetch-body.js +0 -44
- package/dist/libs/send-request/create-fetch-body.js.map +0 -1
- package/dist/libs/send-request/create-fetch-headers.d.ts +0 -4
- package/dist/libs/send-request/create-fetch-headers.d.ts.map +0 -1
- package/dist/libs/send-request/create-fetch-headers.js +0 -15
- package/dist/libs/send-request/create-fetch-headers.js.map +0 -1
- package/dist/libs/send-request/create-fetch-query-params.d.ts +0 -11
- package/dist/libs/send-request/create-fetch-query-params.d.ts.map +0 -1
- package/dist/libs/send-request/create-fetch-query-params.js +0 -43
- package/dist/libs/send-request/create-fetch-query-params.js.map +0 -1
- package/dist/libs/send-request/create-request-operation.d.ts +0 -32
- package/dist/libs/send-request/create-request-operation.d.ts.map +0 -1
- package/dist/libs/send-request/create-request-operation.js +0 -172
- package/dist/libs/send-request/create-request-operation.js.map +0 -1
- package/dist/libs/send-request/decode-buffer.d.ts +0 -3
- package/dist/libs/send-request/decode-buffer.d.ts.map +0 -1
- package/dist/libs/send-request/decode-buffer.js +0 -13
- package/dist/libs/send-request/decode-buffer.js.map +0 -1
- package/dist/libs/send-request/index.d.ts +0 -4
- package/dist/libs/send-request/index.d.ts.map +0 -1
- package/dist/libs/send-request/index.js +0 -4
- package/dist/libs/send-request/set-request-cookies.d.ts +0 -27
- package/dist/libs/send-request/set-request-cookies.d.ts.map +0 -1
- package/dist/libs/send-request/set-request-cookies.js +0 -82
- package/dist/libs/send-request/set-request-cookies.js.map +0 -1
- package/dist/libs/string-template.d.ts +0 -21
- package/dist/libs/string-template.d.ts.map +0 -1
- package/dist/libs/string-template.js +0 -64
- package/dist/libs/string-template.js.map +0 -1
- package/dist/libs/validate-parameters.d.ts +0 -14
- package/dist/libs/validate-parameters.d.ts.map +0 -1
- package/dist/libs/validate-parameters.js +0 -35
- package/dist/libs/validate-parameters.js.map +0 -1
- package/dist/plugins/hooks/usePluginManager.d.ts +0 -8
- package/dist/plugins/hooks/usePluginManager.d.ts.map +0 -1
- package/dist/plugins/hooks/usePluginManager.js +0 -16
- package/dist/plugins/hooks/usePluginManager.js.map +0 -1
- package/dist/plugins/index.d.ts +0 -3
- package/dist/plugins/index.d.ts.map +0 -1
- package/dist/plugins/index.js +0 -3
- package/dist/plugins/plugin-manager.d.ts +0 -34
- package/dist/plugins/plugin-manager.d.ts.map +0 -1
- package/dist/plugins/plugin-manager.js +0 -38
- package/dist/plugins/plugin-manager.js.map +0 -1
- package/dist/routes.d.ts +0 -19
- package/dist/routes.d.ts.map +0 -1
- package/dist/routes.js +0 -225
- package/dist/routes.js.map +0 -1
- package/dist/store/active-entities.d.ts +0 -387
- package/dist/store/active-entities.d.ts.map +0 -1
- package/dist/store/active-entities.js +0 -139
- package/dist/store/active-entities.js.map +0 -1
- package/dist/store/collections.d.ts +0 -625
- package/dist/store/collections.d.ts.map +0 -1
- package/dist/store/collections.js +0 -76
- package/dist/store/collections.js.map +0 -1
- package/dist/store/cookies.d.ts +0 -69
- package/dist/store/cookies.d.ts.map +0 -1
- package/dist/store/cookies.js +0 -16
- package/dist/store/cookies.js.map +0 -1
- package/dist/store/environment.d.ts +0 -75
- package/dist/store/environment.d.ts.map +0 -1
- package/dist/store/environment.js +0 -38
- package/dist/store/environment.js.map +0 -1
- package/dist/store/events.d.ts +0 -35
- package/dist/store/events.d.ts.map +0 -1
- package/dist/store/events.js +0 -17
- package/dist/store/events.js.map +0 -1
- package/dist/store/import-spec.d.ts +0 -38
- package/dist/store/import-spec.d.ts.map +0 -1
- package/dist/store/import-spec.js +0 -56
- package/dist/store/import-spec.js.map +0 -1
- package/dist/store/index.d.ts +0 -3
- package/dist/store/index.d.ts.map +0 -1
- package/dist/store/index.js +0 -3
- package/dist/store/request-example.d.ts +0 -1022
- package/dist/store/request-example.d.ts.map +0 -1
- package/dist/store/request-example.js +0 -43
- package/dist/store/request-example.js.map +0 -1
- package/dist/store/requests.d.ts +0 -675
- package/dist/store/requests.d.ts.map +0 -1
- package/dist/store/requests.js +0 -104
- package/dist/store/requests.js.map +0 -1
- package/dist/store/router-params.d.ts +0 -18
- package/dist/store/router-params.d.ts.map +0 -1
- package/dist/store/router-params.js +0 -27
- package/dist/store/router-params.js.map +0 -1
- package/dist/store/security-schemes.d.ts +0 -942
- package/dist/store/security-schemes.d.ts.map +0 -1
- package/dist/store/security-schemes.js +0 -45
- package/dist/store/security-schemes.js.map +0 -1
- package/dist/store/servers.d.ts +0 -122
- package/dist/store/servers.d.ts.map +0 -1
- package/dist/store/servers.js +0 -41
- package/dist/store/servers.js.map +0 -1
- package/dist/store/store-context.d.ts +0 -26
- package/dist/store/store-context.d.ts.map +0 -1
- package/dist/store/store.d.ts +0 -4055
- package/dist/store/store.d.ts.map +0 -1
- package/dist/store/store.js +0 -180
- package/dist/store/store.js.map +0 -1
- package/dist/store/tags.d.ts +0 -176
- package/dist/store/tags.d.ts.map +0 -1
- package/dist/store/tags.js +0 -54
- package/dist/store/tags.js.map +0 -1
- package/dist/store/workspace.d.ts +0 -232
- package/dist/store/workspace.d.ts.map +0 -1
- package/dist/store/workspace.js +0 -57
- package/dist/store/workspace.js.map +0 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -0
- package/dist/views/Collection/Collection.vue.d.ts +0 -4
- package/dist/views/Collection/Collection.vue.d.ts.map +0 -1
- package/dist/views/Collection/Collection.vue.js +0 -7
- package/dist/views/Collection/Collection.vue.js.map +0 -1
- package/dist/views/Collection/Collection.vue.script.js +0 -46
- package/dist/views/Collection/Collection.vue.script.js.map +0 -1
- package/dist/views/Collection/CollectionAuthentication.vue.d.ts +0 -4
- package/dist/views/Collection/CollectionAuthentication.vue.d.ts.map +0 -1
- package/dist/views/Collection/CollectionAuthentication.vue.js +0 -9
- package/dist/views/Collection/CollectionAuthentication.vue.js.map +0 -1
- package/dist/views/Collection/CollectionAuthentication.vue.script.js +0 -52
- package/dist/views/Collection/CollectionAuthentication.vue.script.js.map +0 -1
- package/dist/views/Collection/CollectionCookies.vue.d.ts +0 -4
- package/dist/views/Collection/CollectionCookies.vue.d.ts.map +0 -1
- package/dist/views/Collection/CollectionCookies.vue.js +0 -7
- package/dist/views/Collection/CollectionCookies.vue.js.map +0 -1
- package/dist/views/Collection/CollectionCookies.vue.script.js +0 -18
- package/dist/views/Collection/CollectionCookies.vue.script.js.map +0 -1
- package/dist/views/Collection/CollectionEnvironment.vue.d.ts +0 -4
- package/dist/views/Collection/CollectionEnvironment.vue.d.ts.map +0 -1
- package/dist/views/Collection/CollectionEnvironment.vue.js +0 -8
- package/dist/views/Collection/CollectionEnvironment.vue.js.map +0 -1
- package/dist/views/Collection/CollectionEnvironment.vue.script.js +0 -238
- package/dist/views/Collection/CollectionEnvironment.vue.script.js.map +0 -1
- package/dist/views/Collection/CollectionInfoForm.vue.d.ts +0 -4
- package/dist/views/Collection/CollectionInfoForm.vue.d.ts.map +0 -1
- package/dist/views/Collection/CollectionInfoForm.vue.js +0 -9
- package/dist/views/Collection/CollectionInfoForm.vue.js.map +0 -1
- package/dist/views/Collection/CollectionInfoForm.vue.script.js +0 -73
- package/dist/views/Collection/CollectionInfoForm.vue.script.js.map +0 -1
- package/dist/views/Collection/CollectionNavigation.vue.d.ts.map +0 -1
- package/dist/views/Collection/CollectionNavigation.vue.js +0 -7
- package/dist/views/Collection/CollectionNavigation.vue.js.map +0 -1
- package/dist/views/Collection/CollectionNavigation.vue.script.js +0 -75
- package/dist/views/Collection/CollectionNavigation.vue.script.js.map +0 -1
- package/dist/views/Collection/CollectionOverview.vue.d.ts +0 -4
- package/dist/views/Collection/CollectionOverview.vue.d.ts.map +0 -1
- package/dist/views/Collection/CollectionOverview.vue.js +0 -7
- package/dist/views/Collection/CollectionOverview.vue.js.map +0 -1
- package/dist/views/Collection/CollectionOverview.vue.script.js +0 -42
- package/dist/views/Collection/CollectionOverview.vue.script.js.map +0 -1
- package/dist/views/Collection/CollectionScripts.vue.d.ts +0 -4
- package/dist/views/Collection/CollectionScripts.vue.d.ts.map +0 -1
- package/dist/views/Collection/CollectionScripts.vue.js +0 -7
- package/dist/views/Collection/CollectionScripts.vue.js.map +0 -1
- package/dist/views/Collection/CollectionScripts.vue.script.js +0 -18
- package/dist/views/Collection/CollectionScripts.vue.script.js.map +0 -1
- package/dist/views/Collection/CollectionServerForm.vue.d.ts +0 -11
- package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +0 -1
- package/dist/views/Collection/CollectionServerForm.vue.js +0 -7
- package/dist/views/Collection/CollectionServerForm.vue.js.map +0 -1
- package/dist/views/Collection/CollectionServerForm.vue.script.js +0 -76
- package/dist/views/Collection/CollectionServerForm.vue.script.js.map +0 -1
- package/dist/views/Collection/CollectionServers.vue.d.ts +0 -4
- package/dist/views/Collection/CollectionServers.vue.d.ts.map +0 -1
- package/dist/views/Collection/CollectionServers.vue.js +0 -7
- package/dist/views/Collection/CollectionServers.vue.js.map +0 -1
- package/dist/views/Collection/CollectionServers.vue.script.js +0 -95
- package/dist/views/Collection/CollectionServers.vue.script.js.map +0 -1
- package/dist/views/Collection/CollectionSettings.vue.d.ts +0 -4
- package/dist/views/Collection/CollectionSettings.vue.d.ts.map +0 -1
- package/dist/views/Collection/CollectionSettings.vue.js +0 -7
- package/dist/views/Collection/CollectionSettings.vue.js.map +0 -1
- package/dist/views/Collection/CollectionSettings.vue.script.js +0 -87
- package/dist/views/Collection/CollectionSettings.vue.script.js.map +0 -1
- package/dist/views/Collection/CollectionSync.vue.d.ts +0 -4
- package/dist/views/Collection/CollectionSync.vue.d.ts.map +0 -1
- package/dist/views/Collection/CollectionSync.vue.js +0 -7
- package/dist/views/Collection/CollectionSync.vue.js.map +0 -1
- package/dist/views/Collection/CollectionSync.vue.script.js +0 -18
- package/dist/views/Collection/CollectionSync.vue.script.js.map +0 -1
- package/dist/views/Collection/components/EnvironmentForm.vue.d.ts +0 -14
- package/dist/views/Collection/components/EnvironmentForm.vue.d.ts.map +0 -1
- package/dist/views/Collection/components/EnvironmentForm.vue.js +0 -9
- package/dist/views/Collection/components/EnvironmentForm.vue.js.map +0 -1
- package/dist/views/Collection/components/EnvironmentForm.vue.script.js +0 -284
- package/dist/views/Collection/components/EnvironmentForm.vue.script.js.map +0 -1
- package/dist/views/Collection/components/MarkdownInput.vue.d.ts +0 -17
- package/dist/views/Collection/components/MarkdownInput.vue.d.ts.map +0 -1
- package/dist/views/Collection/components/MarkdownInput.vue.js +0 -9
- package/dist/views/Collection/components/MarkdownInput.vue.js.map +0 -1
- package/dist/views/Collection/components/MarkdownInput.vue.script.js +0 -92
- package/dist/views/Collection/components/MarkdownInput.vue.script.js.map +0 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +0 -16
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +0 -7
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js.map +0 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.script.js +0 -74
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.script.js.map +0 -1
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.d.ts +0 -28
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.js +0 -66
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.js.map +0 -1
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts +0 -16
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.js +0 -86
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.js.map +0 -1
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.js.map +0 -1
- package/dist/views/Components/CodeSnippet/index.d.ts +0 -5
- package/dist/views/Components/CodeSnippet/index.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/index.js +0 -5
- package/dist/views/Cookies/CookieForm.vue.d.ts +0 -4
- package/dist/views/Cookies/CookieForm.vue.d.ts.map +0 -1
- package/dist/views/Cookies/CookieForm.vue.js +0 -7
- package/dist/views/Cookies/CookieForm.vue.js.map +0 -1
- package/dist/views/Cookies/CookieForm.vue.script.js +0 -50
- package/dist/views/Cookies/CookieForm.vue.script.js.map +0 -1
- package/dist/views/Cookies/CookieModal.vue.d.ts +0 -22
- package/dist/views/Cookies/CookieModal.vue.d.ts.map +0 -1
- package/dist/views/Cookies/CookieModal.vue.js +0 -9
- package/dist/views/Cookies/CookieModal.vue.js.map +0 -1
- package/dist/views/Cookies/CookieModal.vue.script.js +0 -83
- package/dist/views/Cookies/CookieModal.vue.script.js.map +0 -1
- package/dist/views/Cookies/CookieRaw.vue.d.ts +0 -4
- package/dist/views/Cookies/CookieRaw.vue.d.ts.map +0 -1
- package/dist/views/Cookies/Cookies.vue.d.ts +0 -4
- package/dist/views/Cookies/Cookies.vue.d.ts.map +0 -1
- package/dist/views/Cookies/Cookies.vue.js +0 -7
- package/dist/views/Cookies/Cookies.vue.js.map +0 -1
- package/dist/views/Cookies/Cookies.vue.script.js +0 -156
- package/dist/views/Cookies/Cookies.vue.script.js.map +0 -1
- package/dist/views/Environment/Environment.vue.d.ts +0 -4
- package/dist/views/Environment/Environment.vue.d.ts.map +0 -1
- package/dist/views/Environment/Environment.vue.js +0 -7
- package/dist/views/Environment/Environment.vue.js.map +0 -1
- package/dist/views/Environment/Environment.vue.script.js +0 -384
- package/dist/views/Environment/Environment.vue.script.js.map +0 -1
- package/dist/views/Environment/EnvironmentColorModal.vue.d.ts +0 -15
- package/dist/views/Environment/EnvironmentColorModal.vue.d.ts.map +0 -1
- package/dist/views/Environment/EnvironmentColorModal.vue.js +0 -7
- package/dist/views/Environment/EnvironmentColorModal.vue.js.map +0 -1
- package/dist/views/Environment/EnvironmentColorModal.vue.script.js +0 -47
- package/dist/views/Environment/EnvironmentColorModal.vue.script.js.map +0 -1
- package/dist/views/Environment/EnvironmentColors.vue.d.ts +0 -14
- package/dist/views/Environment/EnvironmentColors.vue.d.ts.map +0 -1
- package/dist/views/Environment/EnvironmentColors.vue.js +0 -7
- package/dist/views/Environment/EnvironmentColors.vue.js.map +0 -1
- package/dist/views/Environment/EnvironmentColors.vue.script.js +0 -126
- package/dist/views/Environment/EnvironmentColors.vue.script.js.map +0 -1
- package/dist/views/Environment/EnvironmentModal.vue.d.ts +0 -27
- package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +0 -1
- package/dist/views/Environment/EnvironmentModal.vue.js +0 -7
- package/dist/views/Environment/EnvironmentModal.vue.js.map +0 -1
- package/dist/views/Environment/EnvironmentModal.vue.script.js +0 -122
- package/dist/views/Environment/EnvironmentModal.vue.script.js.map +0 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +0 -22
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +0 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +0 -7
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js.map +0 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.script.js +0 -133
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.script.js.map +0 -1
- package/dist/views/Environment/handle-drag.d.ts +0 -13
- package/dist/views/Environment/handle-drag.d.ts.map +0 -1
- package/dist/views/Environment/handle-drag.js +0 -38
- package/dist/views/Environment/handle-drag.js.map +0 -1
- package/dist/views/Request/Request.vue.d.ts +0 -21
- package/dist/views/Request/Request.vue.d.ts.map +0 -1
- package/dist/views/Request/Request.vue.js +0 -9
- package/dist/views/Request/Request.vue.js.map +0 -1
- package/dist/views/Request/Request.vue.script.js +0 -117
- package/dist/views/Request/Request.vue.script.js.map +0 -1
- package/dist/views/Request/RequestRoot.vue.d.ts +0 -14
- package/dist/views/Request/RequestRoot.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestRoot.vue.js +0 -9
- package/dist/views/Request/RequestRoot.vue.js.map +0 -1
- package/dist/views/Request/RequestRoot.vue.script.js +0 -158
- package/dist/views/Request/RequestRoot.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +0 -22
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +0 -7
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.script.js +0 -52
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +0 -31
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +0 -7
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.script.js +0 -214
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +0 -10
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +0 -7
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.script.js +0 -106
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +0 -222
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +0 -9
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.script.js +0 -216
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +0 -220
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +0 -9
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.script.js +0 -116
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +0 -43
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +0 -7
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.script.js +0 -73
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +0 -31
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +0 -7
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.script.js +0 -205
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.d.ts +0 -9
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.js +0 -39
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/index.d.ts +0 -4
- package/dist/views/Request/RequestSection/RequestAuth/index.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/index.js +0 -4
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +0 -16
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +0 -9
- package/dist/views/Request/RequestSection/RequestBody.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.script.js +0 -477
- package/dist/views/Request/RequestSection/RequestBody.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +0 -15
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +0 -9
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.script.js +0 -187
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +0 -25
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +0 -7
- package/dist/views/Request/RequestSection/RequestParams.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.script.js +0 -180
- package/dist/views/Request/RequestSection/RequestParams.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +0 -18
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +0 -7
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.script.js +0 -115
- package/dist/views/Request/RequestSection/RequestPathParams.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +0 -20
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +0 -9
- package/dist/views/Request/RequestSection/RequestSection.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.script.js +0 -297
- package/dist/views/Request/RequestSection/RequestSection.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +0 -47
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +0 -9
- package/dist/views/Request/RequestSection/RequestTable.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.script.js +0 -266
- package/dist/views/Request/RequestSection/RequestTable.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts +0 -8
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +0 -9
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js.map +0 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.script.js +0 -64
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.d.ts +0 -6
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js +0 -38
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js.map +0 -1
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts +0 -6
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/helpers/getting-started.js +0 -17
- package/dist/views/Request/RequestSection/helpers/getting-started.js.map +0 -1
- package/dist/views/Request/RequestSection/helpers/update-scheme.d.ts +0 -8
- package/dist/views/Request/RequestSection/helpers/update-scheme.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/helpers/update-scheme.js +0 -22
- package/dist/views/Request/RequestSection/helpers/update-scheme.js.map +0 -1
- package/dist/views/Request/RequestSection/index.d.ts +0 -3
- package/dist/views/Request/RequestSection/index.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/index.js +0 -3
- package/dist/views/Request/RequestSidebar.vue.d.ts +0 -16
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSidebar.vue.js +0 -9
- package/dist/views/Request/RequestSidebar.vue.js.map +0 -1
- package/dist/views/Request/RequestSidebar.vue.script.js +0 -307
- package/dist/views/Request/RequestSidebar.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +0 -43
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +0 -10
- package/dist/views/Request/RequestSidebarItem.vue.js.map +0 -1
- package/dist/views/Request/RequestSidebarItem.vue.script.js +0 -475
- package/dist/views/Request/RequestSidebarItem.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +0 -16
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +0 -9
- package/dist/views/Request/RequestSidebarItemMenu.vue.js.map +0 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.script.js +0 -222
- package/dist/views/Request/RequestSidebarItemMenu.vue.script.js.map +0 -1
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +0 -22
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSubpageHeader.vue.js +0 -9
- package/dist/views/Request/RequestSubpageHeader.vue.js.map +0 -1
- package/dist/views/Request/RequestSubpageHeader.vue.script.js +0 -92
- package/dist/views/Request/RequestSubpageHeader.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts +0 -12
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +0 -7
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.script.js +0 -77
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts +0 -14
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +0 -9
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.script.js +0 -91
- package/dist/views/Request/ResponseSection/ResponseBody.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts +0 -9
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +0 -7
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.script.js +0 -35
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts +0 -14
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.js +0 -14
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +0 -11
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +0 -9
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.script.js +0 -64
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +0 -9
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +0 -9
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.script.js +0 -54
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.d.ts +0 -7
- package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.js +0 -7
- package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.script.js +0 -85
- package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +0 -11
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.js +0 -7
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.script.js +0 -25
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +0 -13
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +0 -8
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.script.js +0 -51
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts +0 -11
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +0 -7
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.script.js +0 -39
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +0 -12
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +0 -9
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.script.js +0 -98
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts +0 -12
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +0 -7
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.script.js +0 -77
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts +0 -4
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +0 -9
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.script.js +0 -44
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +0 -8
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +0 -7
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.script.js +0 -64
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +0 -15
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +0 -9
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.script.js +0 -206
- package/dist/views/Request/ResponseSection/ResponseSection.vue.script.js.map +0 -1
- package/dist/views/Request/ResponseSection/index.d.ts +0 -3
- package/dist/views/Request/ResponseSection/index.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/index.js +0 -3
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts +0 -4
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +0 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +0 -7
- package/dist/views/Request/components/WorkspaceDropdown.vue.js.map +0 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.script.js +0 -182
- package/dist/views/Request/components/WorkspaceDropdown.vue.script.js.map +0 -1
- package/dist/views/Request/components/index.d.ts +0 -2
- package/dist/views/Request/components/index.d.ts.map +0 -1
- package/dist/views/Request/components/index.js +0 -2
- package/dist/views/Request/consts/index.d.ts +0 -3
- package/dist/views/Request/consts/index.d.ts.map +0 -1
- package/dist/views/Request/consts/index.js +0 -3
- package/dist/views/Request/consts/mediaTypes.d.ts +0 -20
- package/dist/views/Request/consts/mediaTypes.d.ts.map +0 -1
- package/dist/views/Request/consts/mediaTypes.js +0 -231
- package/dist/views/Request/consts/mediaTypes.js.map +0 -1
- package/dist/views/Request/consts/new-auth-options.d.ts +0 -107
- package/dist/views/Request/consts/new-auth-options.d.ts.map +0 -1
- package/dist/views/Request/consts/new-auth-options.js +0 -90
- package/dist/views/Request/consts/new-auth-options.js.map +0 -1
- package/dist/views/Request/handle-drag.d.ts +0 -9
- package/dist/views/Request/handle-drag.d.ts.map +0 -1
- package/dist/views/Request/handle-drag.js +0 -51
- package/dist/views/Request/handle-drag.js.map +0 -1
- package/dist/views/Request/hooks/useOpenApiWatcher.d.ts +0 -9
- package/dist/views/Request/hooks/useOpenApiWatcher.d.ts.map +0 -1
- package/dist/views/Request/hooks/useOpenApiWatcher.js +0 -96
- package/dist/views/Request/hooks/useOpenApiWatcher.js.map +0 -1
- package/dist/views/Request/libs/auth.d.ts +0 -27
- package/dist/views/Request/libs/auth.d.ts.map +0 -1
- package/dist/views/Request/libs/auth.js +0 -74
- package/dist/views/Request/libs/auth.js.map +0 -1
- package/dist/views/Request/libs/index.d.ts +0 -4
- package/dist/views/Request/libs/index.d.ts.map +0 -1
- package/dist/views/Request/libs/index.js +0 -4
- package/dist/views/Request/libs/oauth2.d.ts +0 -43
- package/dist/views/Request/libs/oauth2.d.ts.map +0 -1
- package/dist/views/Request/libs/oauth2.js +0 -178
- package/dist/views/Request/libs/oauth2.js.map +0 -1
- package/dist/views/Request/libs/request.d.ts +0 -21
- package/dist/views/Request/libs/request.d.ts.map +0 -1
- package/dist/views/Request/libs/request.js +0 -46
- package/dist/views/Request/libs/request.js.map +0 -1
- package/dist/views/Request/libs/watch-mode.d.ts +0 -60
- package/dist/views/Request/libs/watch-mode.d.ts.map +0 -1
- package/dist/views/Request/libs/watch-mode.js +0 -375
- package/dist/views/Request/libs/watch-mode.js.map +0 -1
- package/dist/views/Request/types/index.d.ts +0 -2
- package/dist/views/Request/types/index.d.ts.map +0 -1
- package/dist/views/Request/types/index.js +0 -0
- package/dist/views/Request/types/sidebar-item.d.ts +0 -30
- package/dist/views/Request/types/sidebar-item.d.ts.map +0 -1
- package/dist/views/Settings/Settings.vue.d.ts +0 -5
- package/dist/views/Settings/Settings.vue.d.ts.map +0 -1
- package/dist/views/Settings/Settings.vue.js +0 -7
- package/dist/views/Settings/Settings.vue.js.map +0 -1
- package/dist/views/Settings/Settings.vue.script.js +0 -28
- package/dist/views/Settings/Settings.vue.script.js.map +0 -1
- package/dist/views/Settings/SettingsGeneral.vue.d.ts +0 -4
- package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +0 -1
- package/dist/views/Settings/SettingsGeneral.vue.js +0 -7
- package/dist/views/Settings/SettingsGeneral.vue.js.map +0 -1
- package/dist/views/Settings/SettingsGeneral.vue.script.js +0 -241
- package/dist/views/Settings/SettingsGeneral.vue.script.js.map +0 -1
- package/dist/views/Settings/components/SettingsAppearance.vue.d.ts +0 -4
- package/dist/views/Settings/components/SettingsAppearance.vue.d.ts.map +0 -1
- package/dist/views/Settings/components/SettingsAppearance.vue.js +0 -7
- package/dist/views/Settings/components/SettingsAppearance.vue.js.map +0 -1
- package/dist/views/Settings/components/SettingsAppearance.vue.script.js +0 -62
- package/dist/views/Settings/components/SettingsAppearance.vue.script.js.map +0 -1
- package/dist/views/Settings/components/SettingsSection.vue.d.ts +0 -15
- package/dist/views/Settings/components/SettingsSection.vue.d.ts.map +0 -1
- package/dist/views/Settings/components/SettingsSection.vue.js +0 -7
- package/dist/views/Settings/components/SettingsSection.vue.js.map +0 -1
- package/dist/views/Settings/components/SettingsSection.vue.script.js +0 -27
- package/dist/views/Settings/components/SettingsSection.vue.script.js.map +0 -1
- /package/dist/{components → v2/blocks/operation-block/components}/OpenApiClientButton.vue.d.ts +0 -0
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { type Path, type PathValue } from '@scalar/object-utils/nested';
|
|
2
|
-
import { type Difference } from 'microdiff';
|
|
3
|
-
import { type ZodSchema } from 'zod';
|
|
4
|
-
import type { WorkspaceStore } from '../../../store/index.js';
|
|
5
|
-
import type { ActiveEntitiesStore } from '../../../store/active-entities.js';
|
|
6
|
-
/**
|
|
7
|
-
* Combine Rename Diffs
|
|
8
|
-
* Rename diffs show up as a delete and an add.
|
|
9
|
-
* This will go through the diff and combine any diff items which are next to each other which go from remove to add.
|
|
10
|
-
*
|
|
11
|
-
* - first we check if the payloads are the same then it was just a simple rename
|
|
12
|
-
* - next we will add the rename and also handle any changes in the diff
|
|
13
|
-
*/
|
|
14
|
-
export declare const combineRenameDiffs: (diff: Difference[], pathPrefix?: string[]) => Difference[];
|
|
15
|
-
/** Like array.find but returns the resource instead of the uid */
|
|
16
|
-
export declare const findResource: <T>(arr: string[], resources: Record<string, T>, condition: (resource: T) => boolean) => T | null;
|
|
17
|
-
/**
|
|
18
|
-
* Traverses a zod schema based on the path and returns the schema at the end of the path
|
|
19
|
-
* or null if the path doesn't exist. Handles optional unwrapping, records, and arrays
|
|
20
|
-
*/
|
|
21
|
-
export declare const traverseZodSchema: (schema: ZodSchema, path: (string | number)[]) => ZodSchema | null;
|
|
22
|
-
/**
|
|
23
|
-
* Takes in diff, uses the path to get to the nested schema then parse the value
|
|
24
|
-
* If there is a sub schema and it successfully parses, both the path and new value are valid and returned as such
|
|
25
|
-
*
|
|
26
|
-
* We return a tuple to make it easier to pass into the mutators
|
|
27
|
-
*/
|
|
28
|
-
export declare const parseDiff: <T>(schema: ZodSchema<T, any>, diff: Difference) => {
|
|
29
|
-
/** Typed path as it has been checked agains the schema */
|
|
30
|
-
path: Path<T>;
|
|
31
|
-
/** Path without the last item, used for getting the whole array instead of an item of the array */
|
|
32
|
-
pathMinusOne: Path<T>;
|
|
33
|
-
/** Typed value which has been parsed against the schema */
|
|
34
|
-
value: PathValue<T, Path<T>> | undefined;
|
|
35
|
-
} | null;
|
|
36
|
-
/**
|
|
37
|
-
* Transforms the diff into a payload for the collection mutator then executes that mutation
|
|
38
|
-
*
|
|
39
|
-
* @returns true if it succeeds, and false for a failure
|
|
40
|
-
*/
|
|
41
|
-
export declare const mutateCollectionDiff: (diff: Difference, { activeCollection }: ActiveEntitiesStore, { collectionMutators }: WorkspaceStore) => boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Generates an array of payloads for the request mutator from the request diff, also executes the mutation
|
|
44
|
-
*/
|
|
45
|
-
export declare const mutateRequestDiff: (diff: Difference, { activeCollection }: ActiveEntitiesStore, store: WorkspaceStore) => boolean;
|
|
46
|
-
/** Generates a payload for the server mutator from the server diff including the mutator method */
|
|
47
|
-
export declare const mutateServerDiff: (diff: Difference, { activeCollection }: ActiveEntitiesStore, { servers, serverMutators }: WorkspaceStore) => boolean;
|
|
48
|
-
/** Generates a payload for the tag mutator from the tag diff */
|
|
49
|
-
export declare const mutateTagDiff: (diff: Difference, { activeCollection }: ActiveEntitiesStore, { tags, tagMutators }: WorkspaceStore) => boolean;
|
|
50
|
-
/** Narrows down a zod union schema */
|
|
51
|
-
export declare const narrowUnionSchema: (schema: ZodSchema, key: string, value: string) => ZodSchema | null;
|
|
52
|
-
/**
|
|
53
|
-
* Generates a payload for the security scheme mutator from the security scheme diff, then executes that mutation
|
|
54
|
-
*
|
|
55
|
-
* Note: for edit we cannot use parseDiff here as it can't do unions, so we handle the unions first
|
|
56
|
-
*
|
|
57
|
-
* @returns true if it succeeds, and false for a failure
|
|
58
|
-
*/
|
|
59
|
-
export declare const mutateSecuritySchemeDiff: (diff: Difference, { activeCollection }: ActiveEntitiesStore, { securitySchemes, securitySchemeMutators }: WorkspaceStore) => boolean;
|
|
60
|
-
//# sourceMappingURL=watch-mode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watch-mode.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/watch-mode.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,SAAS,EAAkB,MAAM,6BAA6B,CAAA;AAEvF,OAAkB,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,KAAK,SAAS,EAAK,MAAM,KAAK,CAAA;AAEvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAElE;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAAI,MAAM,UAAU,EAAE,EAAE,aAAY,MAAM,EAAO,KAAG,UAAU,EAmF5F,CAAA;AAED,kEAAkE;AAClE,eAAO,MAAM,YAAY,GAAI,CAAC,EAC5B,KAAK,MAAM,EAAE,EACb,WAAW,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,EAC5B,WAAW,CAAC,QAAQ,EAAE,CAAC,KAAK,OAAO,KAClC,CAAC,GAAG,IAQN,CAAA;AA+BD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAAI,QAAQ,SAAS,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KAAG,SAAS,GAAG,IAyF5F,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,CAAC,EACzB,QAAQ,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,EACzB,MAAM,UAAU,KACf;IACD,0DAA0D;IAC1D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACb,mGAAmG;IACnG,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;IACrB,2DAA2D;IAC3D,KAAK,EAAE,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;CACzC,GAAG,IA6BH,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAC/B,MAAM,UAAU,EAChB,sBAAsB,mBAAmB,EACzC,wBAAwB,cAAc,KACrC,OAmCF,CAAA;AAsBD;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAC5B,MAAM,UAAU,EAChB,sBAAsB,mBAAmB,EACzC,OAAO,cAAc,KACpB,OAuJF,CAAA;AAED,mGAAmG;AACnG,eAAO,MAAM,gBAAgB,GAC3B,MAAM,UAAU,EAChB,sBAAsB,mBAAmB,EACzC,6BAA6B,cAAc,KAC1C,OA4CF,CAAA;AAED,gEAAgE;AAChE,eAAO,MAAM,aAAa,GACxB,MAAM,UAAU,EAChB,sBAAsB,mBAAmB,EACzC,uBAAuB,cAAc,KACpC,OA+CF,CAAA;AAED,sCAAsC;AACtC,eAAO,MAAM,iBAAiB,GAAI,QAAQ,SAAS,EAAE,KAAK,MAAM,EAAE,OAAO,MAAM,KAAG,SAAS,GAAG,IA2C7F,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,GACnC,MAAM,UAAU,EAChB,sBAAsB,mBAAmB,EACzC,6CAA6C,cAAc,KAC1D,OA2CF,CAAA"}
|
|
@@ -1,375 +0,0 @@
|
|
|
1
|
-
import { isHttpMethod, schemaModel } from "@scalar/oas-utils/helpers";
|
|
2
|
-
import { collectionSchema, createExampleFromRequest, requestSchema, securitySchemeSchema, serverSchema, tagSchema } from "@scalar/oas-utils/entities/spec";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
import { getNestedValue } from "@scalar/object-utils/nested";
|
|
5
|
-
import microdiff from "microdiff";
|
|
6
|
-
//#region src/views/Request/libs/watch-mode.ts
|
|
7
|
-
/**
|
|
8
|
-
* Combine Rename Diffs
|
|
9
|
-
* Rename diffs show up as a delete and an add.
|
|
10
|
-
* This will go through the diff and combine any diff items which are next to each other which go from remove to add.
|
|
11
|
-
*
|
|
12
|
-
* - first we check if the payloads are the same then it was just a simple rename
|
|
13
|
-
* - next we will add the rename and also handle any changes in the diff
|
|
14
|
-
*/
|
|
15
|
-
var combineRenameDiffs = (diff, pathPrefix = []) => {
|
|
16
|
-
const combined = [];
|
|
17
|
-
let skipNext = false;
|
|
18
|
-
for (let i = 0; i < diff.length; i++) {
|
|
19
|
-
if (skipNext) {
|
|
20
|
-
skipNext = false;
|
|
21
|
-
continue;
|
|
22
|
-
}
|
|
23
|
-
const current = diff[i];
|
|
24
|
-
const next = diff[i + 1];
|
|
25
|
-
if (!current) continue;
|
|
26
|
-
if (pathPrefix.length) {
|
|
27
|
-
current.path = [...pathPrefix, ...current.path];
|
|
28
|
-
if (next) next.path = [...pathPrefix, ...next.path];
|
|
29
|
-
} else if (current.path[0] !== "paths") {
|
|
30
|
-
combined.push(current);
|
|
31
|
-
continue;
|
|
32
|
-
}
|
|
33
|
-
if (current.type === "REMOVE" && next?.type === "CREATE") {
|
|
34
|
-
const [, currPath, currMethod] = current.path;
|
|
35
|
-
const [, nextPath, nextMethod] = next.path;
|
|
36
|
-
const nestedPrefix = ["paths", nextPath].filter((p) => typeof p === "string");
|
|
37
|
-
if (currPath !== nextPath) combined.push({
|
|
38
|
-
type: "CHANGE",
|
|
39
|
-
path: ["paths", "path"],
|
|
40
|
-
oldValue: currPath,
|
|
41
|
-
value: nextPath
|
|
42
|
-
});
|
|
43
|
-
if (currMethod && typeof nextMethod === "string" && currMethod !== nextMethod && nextPath) {
|
|
44
|
-
combined.push({
|
|
45
|
-
type: "CHANGE",
|
|
46
|
-
path: [
|
|
47
|
-
"paths",
|
|
48
|
-
nextPath,
|
|
49
|
-
"method"
|
|
50
|
-
],
|
|
51
|
-
oldValue: currMethod,
|
|
52
|
-
value: nextMethod
|
|
53
|
-
});
|
|
54
|
-
nestedPrefix.push(nextMethod);
|
|
55
|
-
}
|
|
56
|
-
if (pathPrefix.length === 0) {
|
|
57
|
-
const innerDiff = microdiff(current.oldValue, next.value);
|
|
58
|
-
if (innerDiff.length) {
|
|
59
|
-
const innerCombined = combineRenameDiffs(innerDiff, nestedPrefix);
|
|
60
|
-
combined.push(...innerCombined);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
skipNext = true;
|
|
64
|
-
} else if (current.type === "CREATE" && current.path.length > 3 && typeof current.path.at(-1) !== "number") combined.push({
|
|
65
|
-
...current,
|
|
66
|
-
type: "CHANGE",
|
|
67
|
-
oldValue: void 0
|
|
68
|
-
});
|
|
69
|
-
else if (current.type === "REMOVE" && current.path.length > 3 && typeof current.path.at(-1) !== "number") combined.push({
|
|
70
|
-
...current,
|
|
71
|
-
type: "CHANGE",
|
|
72
|
-
value: void 0
|
|
73
|
-
});
|
|
74
|
-
else combined.push(current);
|
|
75
|
-
}
|
|
76
|
-
return combined;
|
|
77
|
-
};
|
|
78
|
-
/** Like array.find but returns the resource instead of the uid */
|
|
79
|
-
var findResource = (arr, resources, condition) => {
|
|
80
|
-
for (const uid of arr) {
|
|
81
|
-
const resource = resources[uid];
|
|
82
|
-
if (resource && condition(resource)) return resource;
|
|
83
|
-
}
|
|
84
|
-
return null;
|
|
85
|
-
};
|
|
86
|
-
/** Helper function to unwrap optional and default schemas */
|
|
87
|
-
var unwrapSchema = (schema) => {
|
|
88
|
-
if (schema instanceof z.ZodOptional) {
|
|
89
|
-
const unwrapped = schema.unwrap();
|
|
90
|
-
if (unwrapped instanceof z.ZodType) return unwrapSchema(unwrapped);
|
|
91
|
-
}
|
|
92
|
-
if (schema instanceof z.ZodDefault) {
|
|
93
|
-
const innerType = schema._zod.def.innerType;
|
|
94
|
-
if (innerType instanceof z.ZodType) return unwrapSchema(innerType);
|
|
95
|
-
}
|
|
96
|
-
if (schema instanceof z.ZodCatch) {
|
|
97
|
-
const innerType = schema._zod.def.innerType;
|
|
98
|
-
if (innerType instanceof z.ZodType) return unwrapSchema(innerType);
|
|
99
|
-
}
|
|
100
|
-
if (schema instanceof z.ZodPipe) {
|
|
101
|
-
const inType = schema._zod.def.in;
|
|
102
|
-
if (inType instanceof z.ZodType) return unwrapSchema(inType);
|
|
103
|
-
}
|
|
104
|
-
return schema;
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* Traverses a zod schema based on the path and returns the schema at the end of the path
|
|
108
|
-
* or null if the path doesn't exist. Handles optional unwrapping, records, and arrays
|
|
109
|
-
*/
|
|
110
|
-
var traverseZodSchema = (schema, path) => {
|
|
111
|
-
let currentSchema = schema;
|
|
112
|
-
for (const key of path) {
|
|
113
|
-
currentSchema = unwrapSchema(currentSchema);
|
|
114
|
-
if (currentSchema instanceof z.ZodAny) return currentSchema;
|
|
115
|
-
if (currentSchema instanceof z.ZodObject && typeof key === "string" && key in currentSchema.shape) {
|
|
116
|
-
const shapeValue = currentSchema.shape[key];
|
|
117
|
-
if (shapeValue instanceof z.ZodType) currentSchema = shapeValue;
|
|
118
|
-
else return null;
|
|
119
|
-
} else if (currentSchema instanceof z.ZodArray) if (typeof key === "number") if (currentSchema.element instanceof z.ZodType) currentSchema = currentSchema.element;
|
|
120
|
-
else return null;
|
|
121
|
-
else if (typeof key === "string") {
|
|
122
|
-
if (currentSchema.element instanceof z.ZodType) currentSchema = currentSchema.element;
|
|
123
|
-
else return null;
|
|
124
|
-
if (currentSchema instanceof z.ZodObject && key in currentSchema.shape) {
|
|
125
|
-
const shapeValue = currentSchema.shape[key];
|
|
126
|
-
if (shapeValue instanceof z.ZodType) currentSchema = shapeValue;
|
|
127
|
-
else return null;
|
|
128
|
-
} else return null;
|
|
129
|
-
} else return null;
|
|
130
|
-
else if (currentSchema instanceof z.ZodRecord) {
|
|
131
|
-
const valueSchema = currentSchema._zod.def.valueType;
|
|
132
|
-
if (!valueSchema || !(valueSchema instanceof z.ZodType)) return null;
|
|
133
|
-
if (typeof key === "string") {
|
|
134
|
-
currentSchema = valueSchema;
|
|
135
|
-
currentSchema = unwrapSchema(currentSchema);
|
|
136
|
-
} else if (typeof key === "number") {
|
|
137
|
-
currentSchema = valueSchema;
|
|
138
|
-
currentSchema = unwrapSchema(currentSchema);
|
|
139
|
-
if (currentSchema instanceof z.ZodArray) if (currentSchema.element instanceof z.ZodType) currentSchema = currentSchema.element;
|
|
140
|
-
else return null;
|
|
141
|
-
} else currentSchema = valueSchema;
|
|
142
|
-
} else return null;
|
|
143
|
-
currentSchema = unwrapSchema(currentSchema);
|
|
144
|
-
}
|
|
145
|
-
return currentSchema;
|
|
146
|
-
};
|
|
147
|
-
/**
|
|
148
|
-
* Takes in diff, uses the path to get to the nested schema then parse the value
|
|
149
|
-
* If there is a sub schema and it successfully parses, both the path and new value are valid and returned as such
|
|
150
|
-
*
|
|
151
|
-
* We return a tuple to make it easier to pass into the mutators
|
|
152
|
-
*/
|
|
153
|
-
var parseDiff = (schema, diff) => {
|
|
154
|
-
const parsedSchema = traverseZodSchema(schema, diff.path);
|
|
155
|
-
if (!parsedSchema) return null;
|
|
156
|
-
const path = diff.path.join(".");
|
|
157
|
-
const pathMinusOne = diff.path.slice(0, -1).join(".");
|
|
158
|
-
if (diff.type === "REMOVE") return {
|
|
159
|
-
path,
|
|
160
|
-
pathMinusOne,
|
|
161
|
-
value: void 0
|
|
162
|
-
};
|
|
163
|
-
const parsedValue = schemaModel(diff.value, parsedSchema, false);
|
|
164
|
-
if (typeof parsedValue === "undefined" || parsedValue === null) return null;
|
|
165
|
-
return {
|
|
166
|
-
path,
|
|
167
|
-
pathMinusOne,
|
|
168
|
-
value: parsedValue
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
/**
|
|
172
|
-
* Transforms the diff into a payload for the collection mutator then executes that mutation
|
|
173
|
-
*
|
|
174
|
-
* @returns true if it succeeds, and false for a failure
|
|
175
|
-
*/
|
|
176
|
-
var mutateCollectionDiff = (diff, { activeCollection }, { collectionMutators }) => {
|
|
177
|
-
if (!activeCollection.value) return false;
|
|
178
|
-
if (typeof diff.path[diff.path.length - 1] === "number" && (diff.type === "CREATE" || diff.type === "REMOVE")) {
|
|
179
|
-
const parsed = parseDiff(collectionSchema, {
|
|
180
|
-
...diff,
|
|
181
|
-
path: diff.path
|
|
182
|
-
});
|
|
183
|
-
if (!parsed) return false;
|
|
184
|
-
const oldValue = [...getNestedValue(activeCollection.value, parsed.pathMinusOne)];
|
|
185
|
-
if (diff.type === "CREATE") oldValue.push(parsed.value);
|
|
186
|
-
else if (diff.type === "REMOVE") oldValue.pop();
|
|
187
|
-
collectionMutators.edit(activeCollection.value.uid, parsed.pathMinusOne, oldValue);
|
|
188
|
-
} else {
|
|
189
|
-
const parsed = parseDiff(collectionSchema, diff);
|
|
190
|
-
if (!parsed) return false;
|
|
191
|
-
collectionMutators.edit(activeCollection.value.uid, parsed.path, parsed.value);
|
|
192
|
-
}
|
|
193
|
-
return true;
|
|
194
|
-
};
|
|
195
|
-
/**
|
|
196
|
-
* Currently we just generate new examples
|
|
197
|
-
*
|
|
198
|
-
* TODO: diff the changes in the examples and just update what we need to
|
|
199
|
-
*/
|
|
200
|
-
var updateRequestExamples = (requestUid, store) => {
|
|
201
|
-
const { requests, requestExamples, requestExampleMutators } = store;
|
|
202
|
-
const request = requests[requestUid];
|
|
203
|
-
request?.examples.forEach((exampleUid) => {
|
|
204
|
-
const newExample = createExampleFromRequest(request, requestExamples[exampleUid]?.name ?? "Default");
|
|
205
|
-
if (newExample) requestExampleMutators.set({
|
|
206
|
-
...newExample,
|
|
207
|
-
uid: exampleUid
|
|
208
|
-
});
|
|
209
|
-
});
|
|
210
|
-
};
|
|
211
|
-
/**
|
|
212
|
-
* Generates an array of payloads for the request mutator from the request diff, also executes the mutation
|
|
213
|
-
*/
|
|
214
|
-
var mutateRequestDiff = (diff, { activeCollection }, store) => {
|
|
215
|
-
if (!activeCollection.value) return false;
|
|
216
|
-
const { requests, requestMutators } = store;
|
|
217
|
-
const [, path, method, ...keys] = diff.path;
|
|
218
|
-
if (path === "path" && diff.type === "CHANGE") activeCollection.value.requests.forEach((uid) => {
|
|
219
|
-
if (requests[uid]?.path === diff.oldValue) requestMutators.edit(uid, "path", diff.value);
|
|
220
|
-
});
|
|
221
|
-
else if (method === "method" && diff.type === "CHANGE") activeCollection.value.requests.forEach((uid) => {
|
|
222
|
-
if (requests[uid]?.method === diff.oldValue && requests[uid]?.path === path) requestMutators.edit(uid, "method", diff.value);
|
|
223
|
-
});
|
|
224
|
-
else if (diff.type !== "CHANGE" && typeof keys.at(-1) === "number") {
|
|
225
|
-
const request = findResource(activeCollection.value.requests, requests, (r) => r.path === path && r.method === method);
|
|
226
|
-
const parsed = parseDiff(requestSchema, {
|
|
227
|
-
...diff,
|
|
228
|
-
path: diff.path.slice(3)
|
|
229
|
-
});
|
|
230
|
-
if (!request || !parsed) return false;
|
|
231
|
-
const oldValue = [...getNestedValue(request, parsed.pathMinusOne)];
|
|
232
|
-
if (diff.type === "CREATE") oldValue.push(parsed.value);
|
|
233
|
-
else if (diff.type === "REMOVE") oldValue.pop();
|
|
234
|
-
requestMutators.edit(request.uid, parsed.pathMinusOne, oldValue);
|
|
235
|
-
if (diff.path[3] === "parameters" || diff.path[3] === "requestBody") updateRequestExamples(request.uid, store);
|
|
236
|
-
} else if (diff.type === "CREATE") {
|
|
237
|
-
const [firstEntry] = Object.entries(diff.value ?? {});
|
|
238
|
-
const [_method, _operation] = firstEntry ?? [];
|
|
239
|
-
const operation = method ? diff.value : _operation;
|
|
240
|
-
const newMethod = method || _method;
|
|
241
|
-
const operationServers = serverSchema.array().parse(operation.servers ?? []);
|
|
242
|
-
const { security: operationSecurity, ...operationWithoutSecurity } = operation;
|
|
243
|
-
const requestPayload = {
|
|
244
|
-
...operationWithoutSecurity,
|
|
245
|
-
method: isHttpMethod(newMethod) ? newMethod : "get",
|
|
246
|
-
path,
|
|
247
|
-
parameters: operation.parameters ?? [],
|
|
248
|
-
servers: operationServers.map((s) => s.uid)
|
|
249
|
-
};
|
|
250
|
-
if (operationSecurity?.length) requestPayload.security = operationSecurity.map((s) => {
|
|
251
|
-
if (Object.keys(s).length) {
|
|
252
|
-
const [key] = Object.keys(s);
|
|
253
|
-
if (!key) return s;
|
|
254
|
-
return { [key]: s[key] };
|
|
255
|
-
}
|
|
256
|
-
return s;
|
|
257
|
-
});
|
|
258
|
-
const request = schemaModel(requestPayload, requestSchema, false);
|
|
259
|
-
if (!request) return false;
|
|
260
|
-
requestMutators.add(request, activeCollection.value.uid);
|
|
261
|
-
} else if (diff.type === "REMOVE") {
|
|
262
|
-
const request = findResource(activeCollection.value.requests, requests, (_request) => _request.path === path && _request.method === method);
|
|
263
|
-
if (!request) return false;
|
|
264
|
-
requestMutators.delete(request, activeCollection.value.uid);
|
|
265
|
-
} else if (diff.type === "CHANGE") {
|
|
266
|
-
const request = findResource(activeCollection.value.requests, requests, (r) => r.path === path && r.method === method);
|
|
267
|
-
const parsed = parseDiff(requestSchema, {
|
|
268
|
-
...diff,
|
|
269
|
-
path: keys
|
|
270
|
-
});
|
|
271
|
-
if (!request || !parsed) return false;
|
|
272
|
-
requestMutators.edit(request.uid, parsed.path, parsed.value);
|
|
273
|
-
if (diff.path[3] === "parameters" || diff.path[3] === "requestBody") updateRequestExamples(request.uid, store);
|
|
274
|
-
}
|
|
275
|
-
return true;
|
|
276
|
-
};
|
|
277
|
-
/** Generates a payload for the server mutator from the server diff including the mutator method */
|
|
278
|
-
var mutateServerDiff = (diff, { activeCollection }, { servers, serverMutators }) => {
|
|
279
|
-
if (!activeCollection.value) return false;
|
|
280
|
-
const [, index, ...keys] = diff.path;
|
|
281
|
-
if (keys?.length) {
|
|
282
|
-
const serverUid = activeCollection.value.servers[index];
|
|
283
|
-
if (!serverUid) return false;
|
|
284
|
-
const server = servers[serverUid];
|
|
285
|
-
const parsed = parseDiff(serverSchema, {
|
|
286
|
-
...diff,
|
|
287
|
-
path: keys
|
|
288
|
-
});
|
|
289
|
-
if (!server || !parsed) return false;
|
|
290
|
-
const value = diff.type === "REMOVE" && keys[keys.length - 1] === "variables" ? {} : parsed.value;
|
|
291
|
-
serverMutators.edit(serverUid, parsed.path, value);
|
|
292
|
-
} else if (diff.type === "REMOVE") {
|
|
293
|
-
if (!activeCollection.value.servers[index]) return false;
|
|
294
|
-
serverMutators.delete(activeCollection.value.servers[index], activeCollection.value.uid);
|
|
295
|
-
} else if (diff.type === "CREATE") {
|
|
296
|
-
const parsed = schemaModel(diff.value, serverSchema, false);
|
|
297
|
-
if (!parsed) return false;
|
|
298
|
-
serverMutators.add(parsed, activeCollection.value.uid);
|
|
299
|
-
}
|
|
300
|
-
return true;
|
|
301
|
-
};
|
|
302
|
-
/** Generates a payload for the tag mutator from the tag diff */
|
|
303
|
-
var mutateTagDiff = (diff, { activeCollection }, { tags, tagMutators }) => {
|
|
304
|
-
if (!activeCollection.value) return false;
|
|
305
|
-
const [, index, ...keys] = diff.path;
|
|
306
|
-
if (keys?.length) {
|
|
307
|
-
const tagUid = activeCollection.value.tags[index];
|
|
308
|
-
if (!tagUid) return false;
|
|
309
|
-
const tag = tags[tagUid];
|
|
310
|
-
const parsed = parseDiff(tagSchema, {
|
|
311
|
-
...diff,
|
|
312
|
-
path: keys
|
|
313
|
-
});
|
|
314
|
-
if (!tag || !parsed) return false;
|
|
315
|
-
tagMutators.edit(tagUid, parsed.path, parsed.value);
|
|
316
|
-
} else if (diff.type === "REMOVE") {
|
|
317
|
-
const tagUid = activeCollection.value.tags[index];
|
|
318
|
-
if (!tagUid) return false;
|
|
319
|
-
const tag = tags[tagUid];
|
|
320
|
-
if (!tag) return false;
|
|
321
|
-
tagMutators.delete(tag, activeCollection.value.uid);
|
|
322
|
-
} else if (diff.type === "CREATE") {
|
|
323
|
-
const parsed = schemaModel(diff.value, tagSchema, false);
|
|
324
|
-
if (!parsed) return false;
|
|
325
|
-
tagMutators.add(parsed, activeCollection.value.uid);
|
|
326
|
-
}
|
|
327
|
-
return true;
|
|
328
|
-
};
|
|
329
|
-
/** Narrows down a zod union schema */
|
|
330
|
-
var narrowUnionSchema = (schema, key, value) => {
|
|
331
|
-
const _schema = unwrapSchema(schema);
|
|
332
|
-
if (_schema instanceof z.ZodUnion || _schema instanceof z.ZodDiscriminatedUnion) for (const option of _schema.options) {
|
|
333
|
-
if (!(option instanceof z.ZodType)) continue;
|
|
334
|
-
const unwrappedOption = unwrapSchema(option);
|
|
335
|
-
if (unwrappedOption instanceof z.ZodObject && key in unwrappedOption.shape) {
|
|
336
|
-
const fieldSchema = unwrapSchema(unwrappedOption.shape[key]);
|
|
337
|
-
if (fieldSchema instanceof z.ZodLiteral && fieldSchema.value === value) return unwrappedOption;
|
|
338
|
-
if (fieldSchema instanceof z.ZodDefault && fieldSchema._zod.def.innerType instanceof z.ZodLiteral && fieldSchema._zod.def.innerType.value === value) return unwrappedOption;
|
|
339
|
-
if (fieldSchema instanceof z.ZodOptional && fieldSchema._zod.def.innerType instanceof z.ZodLiteral && fieldSchema._zod.def.innerType.value === value) return unwrappedOption;
|
|
340
|
-
if (fieldSchema instanceof z.ZodDefault && fieldSchema._zod.def.innerType instanceof z.ZodOptional && fieldSchema._zod.def.innerType._zod.def.innerType instanceof z.ZodLiteral && fieldSchema._zod.def.innerType._zod.def.innerType.value === value) return unwrappedOption;
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
return null;
|
|
344
|
-
};
|
|
345
|
-
/**
|
|
346
|
-
* Generates a payload for the security scheme mutator from the security scheme diff, then executes that mutation
|
|
347
|
-
*
|
|
348
|
-
* Note: for edit we cannot use parseDiff here as it can't do unions, so we handle the unions first
|
|
349
|
-
*
|
|
350
|
-
* @returns true if it succeeds, and false for a failure
|
|
351
|
-
*/
|
|
352
|
-
var mutateSecuritySchemeDiff = (diff, { activeCollection }, { securitySchemes, securitySchemeMutators }) => {
|
|
353
|
-
if (!activeCollection.value) return false;
|
|
354
|
-
const [, , schemeName, ...keys] = diff.path;
|
|
355
|
-
const scheme = securitySchemes[schemeName] ?? findResource(activeCollection.value.securitySchemes, securitySchemes, (s) => s.nameKey === schemeName);
|
|
356
|
-
if (keys?.length) {
|
|
357
|
-
const schema = narrowUnionSchema(securitySchemeSchema, "type", scheme?.type ?? "");
|
|
358
|
-
if (!schema || !scheme) return false;
|
|
359
|
-
const parsed = parseDiff(schema, {
|
|
360
|
-
...diff,
|
|
361
|
-
path: keys
|
|
362
|
-
});
|
|
363
|
-
if (!parsed) return false;
|
|
364
|
-
const path = parsed.path;
|
|
365
|
-
securitySchemeMutators.edit(scheme.uid, path, parsed.value);
|
|
366
|
-
} else if (diff.type === "REMOVE") {
|
|
367
|
-
if (!scheme) return false;
|
|
368
|
-
securitySchemeMutators.delete(scheme.uid);
|
|
369
|
-
} else if (diff.type === "CREATE") securitySchemeMutators.add(securitySchemeSchema.parse(diff.value), activeCollection.value.uid);
|
|
370
|
-
return true;
|
|
371
|
-
};
|
|
372
|
-
//#endregion
|
|
373
|
-
export { combineRenameDiffs, findResource, mutateCollectionDiff, mutateRequestDiff, mutateSecuritySchemeDiff, mutateServerDiff, mutateTagDiff, narrowUnionSchema, parseDiff, traverseZodSchema };
|
|
374
|
-
|
|
375
|
-
//# sourceMappingURL=watch-mode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"watch-mode.js","names":[],"sources":["../../../../src/views/Request/libs/watch-mode.ts"],"sourcesContent":["import {\n type Request,\n type RequestParameterPayload,\n type RequestPayload,\n type SecurityScheme,\n type Server,\n collectionSchema,\n createExampleFromRequest,\n requestSchema,\n securitySchemeSchema,\n serverSchema,\n tagSchema,\n} from '@scalar/oas-utils/entities/spec'\nimport { isHttpMethod, schemaModel } from '@scalar/oas-utils/helpers'\nimport { type Path, type PathValue, getNestedValue } from '@scalar/object-utils/nested'\nimport type { OpenAPIV3_1 } from '@scalar/openapi-types'\nimport microdiff, { type Difference } from 'microdiff'\nimport { type ZodSchema, z } from 'zod'\n\nimport type { WorkspaceStore } from '@/store'\nimport type { ActiveEntitiesStore } from '@/store/active-entities'\n\n/**\n * Combine Rename Diffs\n * Rename diffs show up as a delete and an add.\n * This will go through the diff and combine any diff items which are next to each other which go from remove to add.\n *\n * - first we check if the payloads are the same then it was just a simple rename\n * - next we will add the rename and also handle any changes in the diff\n */\nexport const combineRenameDiffs = (diff: Difference[], pathPrefix: string[] = []): Difference[] => {\n const combined: Difference[] = []\n let skipNext = false\n\n for (let i = 0; i < diff.length; i++) {\n if (skipNext) {\n skipNext = false\n continue\n }\n\n const current = diff[i]\n const next = diff[i + 1]\n\n if (!current) {\n continue\n }\n\n // Prefix the paths when nested\n if (pathPrefix.length) {\n current.path = [...pathPrefix, ...current.path]\n if (next) {\n next.path = [...pathPrefix, ...next.path]\n }\n }\n // Only mutate paths\n else if (current.path[0] !== 'paths') {\n combined.push(current)\n continue\n }\n\n if (current.type === 'REMOVE' && next?.type === 'CREATE') {\n const [, currPath, currMethod] = current.path\n const [, nextPath, nextMethod] = next.path\n const nestedPrefix = ['paths', nextPath].filter((p) => typeof p === 'string')\n\n // Handle path rename\n if (currPath !== nextPath) {\n combined.push({\n type: 'CHANGE',\n path: ['paths', 'path'],\n oldValue: currPath,\n value: nextPath,\n })\n }\n\n // Handle method rename\n if (currMethod && typeof nextMethod === 'string' && currMethod !== nextMethod && nextPath) {\n combined.push({\n type: 'CHANGE',\n path: ['paths', nextPath, 'method'],\n oldValue: currMethod,\n value: nextMethod,\n })\n nestedPrefix.push(nextMethod)\n }\n\n // Only go one level deep\n if (pathPrefix.length === 0) {\n // Handle other changes within the renamed path or method\n const innerDiff = microdiff(current.oldValue, next.value)\n if (innerDiff.length) {\n const innerCombined = combineRenameDiffs(innerDiff, nestedPrefix)\n combined.push(...innerCombined)\n }\n }\n\n skipNext = true\n }\n // If adding anthing other than a path, method, or array we can just change instead\n else if (current.type === 'CREATE' && current.path.length > 3 && typeof current.path.at(-1) !== 'number') {\n combined.push({ ...current, type: 'CHANGE', oldValue: undefined })\n }\n // If deleting anthing other than a path, method, or array we can also do a change\n else if (current.type === 'REMOVE' && current.path.length > 3 && typeof current.path.at(-1) !== 'number') {\n combined.push({ ...current, type: 'CHANGE', value: undefined })\n }\n // Just regular things\n else {\n combined.push(current)\n }\n }\n\n return combined\n}\n\n/** Like array.find but returns the resource instead of the uid */\nexport const findResource = <T>(\n arr: string[],\n resources: Record<string, T>,\n condition: (resource: T) => boolean,\n): T | null => {\n for (const uid of arr) {\n const resource = resources[uid]\n if (resource && condition(resource)) {\n return resource\n }\n }\n return null\n}\n\n/** Helper function to unwrap optional and default schemas */\nconst unwrapSchema = (schema: ZodSchema): ZodSchema => {\n if (schema instanceof z.ZodOptional) {\n const unwrapped = schema.unwrap()\n if (unwrapped instanceof z.ZodType) {\n return unwrapSchema(unwrapped)\n }\n }\n if (schema instanceof z.ZodDefault) {\n const innerType = schema._zod.def.innerType\n if (innerType instanceof z.ZodType) {\n return unwrapSchema(innerType)\n }\n }\n if (schema instanceof z.ZodCatch) {\n const innerType = schema._zod.def.innerType\n if (innerType instanceof z.ZodType) {\n return unwrapSchema(innerType)\n }\n }\n if (schema instanceof z.ZodPipe) {\n const inType = schema._zod.def.in\n if (inType instanceof z.ZodType) {\n return unwrapSchema(inType)\n }\n }\n return schema\n}\n\n/**\n * Traverses a zod schema based on the path and returns the schema at the end of the path\n * or null if the path doesn't exist. Handles optional unwrapping, records, and arrays\n */\nexport const traverseZodSchema = (schema: ZodSchema, path: (string | number)[]): ZodSchema | null => {\n let currentSchema: ZodSchema = schema\n\n for (const key of path) {\n // Unwrap optional and default schemas\n currentSchema = unwrapSchema(currentSchema)\n\n // If we encounter a ZodAny, return it for any nested path\n if (currentSchema instanceof z.ZodAny) {\n return currentSchema\n }\n\n // Traverse an object\n if (currentSchema instanceof z.ZodObject && typeof key === 'string' && key in currentSchema.shape) {\n const shapeValue = currentSchema.shape[key]\n if (shapeValue instanceof z.ZodType) {\n currentSchema = shapeValue\n } else {\n return null\n }\n }\n // Traverse into an array\n else if (currentSchema instanceof z.ZodArray) {\n if (typeof key === 'number') {\n // If the key is a number, we're accessing an array element\n if (currentSchema.element instanceof z.ZodType) {\n currentSchema = currentSchema.element\n } else {\n return null\n }\n } else if (typeof key === 'string') {\n // If the key is a string, we're accessing a property of the array elements\n if (currentSchema.element instanceof z.ZodType) {\n currentSchema = currentSchema.element\n } else {\n return null\n }\n if (currentSchema instanceof z.ZodObject && key in currentSchema.shape) {\n const shapeValue = currentSchema.shape[key]\n if (shapeValue instanceof z.ZodType) {\n currentSchema = shapeValue\n } else {\n return null\n }\n } else {\n return null\n }\n } else {\n return null\n }\n }\n // Traverse into a record\n else if (currentSchema instanceof z.ZodRecord) {\n const valueSchema = currentSchema._zod.def.valueType\n if (!valueSchema || !(valueSchema instanceof z.ZodType)) {\n return null\n }\n if (typeof key === 'string') {\n // For string keys, we're accessing a value in the record\n currentSchema = valueSchema\n // Unwrap optional/default wrappers around the value schema\n currentSchema = unwrapSchema(currentSchema)\n } else if (typeof key === 'number') {\n // For number keys, we're accessing an element of an array within the record value\n currentSchema = valueSchema\n // Unwrap optional/default wrappers around the array\n currentSchema = unwrapSchema(currentSchema)\n // If the value schema is an array, get the element type\n if (currentSchema instanceof z.ZodArray) {\n if (currentSchema.element instanceof z.ZodType) {\n currentSchema = currentSchema.element\n } else {\n return null\n }\n }\n } else {\n // For other keys, just return the value schema\n currentSchema = valueSchema\n }\n } else {\n // Path doesn't exist in the schema\n return null\n }\n\n // Unwrap again after traversing\n currentSchema = unwrapSchema(currentSchema)\n }\n\n return currentSchema\n}\n\n/**\n * Takes in diff, uses the path to get to the nested schema then parse the value\n * If there is a sub schema and it successfully parses, both the path and new value are valid and returned as such\n *\n * We return a tuple to make it easier to pass into the mutators\n */\nexport const parseDiff = <T>(\n schema: ZodSchema<T, any>,\n diff: Difference,\n): {\n /** Typed path as it has been checked agains the schema */\n path: Path<T>\n /** Path without the last item, used for getting the whole array instead of an item of the array */\n pathMinusOne: Path<T>\n /** Typed value which has been parsed against the schema */\n value: PathValue<T, Path<T>> | undefined\n} | null => {\n const parsedSchema = traverseZodSchema(schema, diff.path)\n if (!parsedSchema) {\n return null\n }\n\n const path = diff.path.join('.') as Path<T>\n const pathMinusOne = diff.path.slice(0, -1).join('.') as Path<T>\n\n // If we are removing, value is undefined\n if (diff.type === 'REMOVE') {\n return {\n path,\n pathMinusOne,\n value: undefined,\n }\n }\n\n // Safe parse the value as well\n const parsedValue = schemaModel(diff.value, parsedSchema, false)\n if (typeof parsedValue === 'undefined' || parsedValue === null) {\n return null\n }\n\n return {\n path,\n pathMinusOne,\n value: parsedValue as PathValue<T, Path<T>>,\n }\n}\n\n/**\n * Transforms the diff into a payload for the collection mutator then executes that mutation\n *\n * @returns true if it succeeds, and false for a failure\n */\nexport const mutateCollectionDiff = (\n diff: Difference,\n { activeCollection }: ActiveEntitiesStore,\n { collectionMutators }: WorkspaceStore,\n): boolean => {\n if (!activeCollection.value) {\n return false\n }\n\n // We need to handle a special case for arrays, it only adds or removes the last element,\n // the rest are a series of changes\n if (typeof diff.path[diff.path.length - 1] === 'number' && (diff.type === 'CREATE' || diff.type === 'REMOVE')) {\n const parsed = parseDiff(collectionSchema, {\n ...diff,\n path: diff.path,\n })\n if (!parsed) {\n return false\n }\n\n const oldValue = [...getNestedValue(activeCollection.value, parsed.pathMinusOne)]\n if (diff.type === 'CREATE') {\n oldValue.push(parsed.value)\n } else if (diff.type === 'REMOVE') {\n oldValue.pop()\n }\n collectionMutators.edit(activeCollection.value.uid, parsed.pathMinusOne, oldValue)\n }\n // Non array + array change\n else {\n const parsed = parseDiff(collectionSchema, diff)\n if (!parsed) {\n return false\n }\n\n collectionMutators.edit(activeCollection.value.uid, parsed.path, parsed.value)\n }\n\n return true\n}\n\n/**\n * Currently we just generate new examples\n *\n * TODO: diff the changes in the examples and just update what we need to\n */\nconst updateRequestExamples = (requestUid: string, store: WorkspaceStore) => {\n const { requests, requestExamples, requestExampleMutators } = store\n const request = requests[requestUid]\n\n request?.examples.forEach((exampleUid) => {\n const newExample = createExampleFromRequest(request, requestExamples[exampleUid]?.name ?? 'Default')\n if (newExample) {\n requestExampleMutators.set({\n ...newExample,\n uid: exampleUid,\n })\n }\n })\n}\n\n/**\n * Generates an array of payloads for the request mutator from the request diff, also executes the mutation\n */\nexport const mutateRequestDiff = (\n diff: Difference,\n { activeCollection }: ActiveEntitiesStore,\n store: WorkspaceStore,\n): boolean => {\n if (!activeCollection.value) {\n return false\n }\n const { requests, requestMutators } = store\n\n const [, path, method, ...keys] = diff.path as [\n 'paths',\n Request['path'],\n Request['method'] | 'method' | undefined,\n ...string[],\n ]\n\n // Path has changed\n if (path === 'path' && diff.type === 'CHANGE') {\n activeCollection.value.requests.forEach((uid) => {\n if (requests[uid]?.path === diff.oldValue) {\n requestMutators.edit(uid, 'path', diff.value)\n }\n })\n }\n // Method has changed\n else if (method === 'method' && diff.type === 'CHANGE') {\n activeCollection.value.requests.forEach((uid) => {\n if (requests[uid]?.method === diff.oldValue && requests[uid]?.path === path) {\n requestMutators.edit(uid, 'method', diff.value)\n }\n })\n }\n // Adding or removing to the end of an array - special case\n else if (diff.type !== 'CHANGE' && typeof keys.at(-1) === 'number') {\n const request = findResource<Request>(\n activeCollection.value.requests,\n requests,\n (r) => r.path === path && r.method === method,\n )\n const parsed = parseDiff(requestSchema, {\n ...diff,\n path: diff.path.slice(3),\n })\n if (!request || !parsed) {\n return false\n }\n\n // Chop off the path, method and array index\n const oldValue = [...getNestedValue(request, parsed.pathMinusOne)]\n\n if (diff.type === 'CREATE') {\n oldValue.push(parsed.value)\n } else if (diff.type === 'REMOVE') {\n oldValue.pop()\n }\n\n requestMutators.edit(request.uid, parsed.pathMinusOne, oldValue)\n\n // Generate new examples\n if (diff.path[3] === 'parameters' || diff.path[3] === 'requestBody') {\n updateRequestExamples(request.uid, store)\n }\n }\n\n // Add\n else if (diff.type === 'CREATE') {\n // In some cases value goes { method: operation }\n const [firstEntry] = Object.entries(diff.value ?? {})\n const [_method, _operation] = firstEntry ?? []\n\n const operation: OpenAPIV3_1.OperationObject<{\n tags?: string[]\n security?: OpenAPIV3_1.SecurityRequirementObject[]\n }> = method ? diff.value : _operation\n const newMethod = method || _method\n\n // TODO: match servers up and add if we don't have\n const operationServers = serverSchema.array().parse(operation.servers ?? [])\n\n // Remove security here and add it correctly below\n const { security: operationSecurity, ...operationWithoutSecurity } = operation\n\n const requestPayload: RequestPayload = {\n ...operationWithoutSecurity,\n method: isHttpMethod(newMethod) ? newMethod : 'get',\n path,\n parameters: (operation.parameters ?? []) as RequestParameterPayload[],\n servers: operationServers.map((s) => s.uid),\n }\n\n // Add list of UIDs to associate security schemes\n // As per the spec if there is operation level security we ignore the top level requirements\n if (operationSecurity?.length) {\n requestPayload.security = operationSecurity.map((s) => {\n const _keys = Object.keys(s)\n\n // Handle the case of {} for optional\n if (_keys.length) {\n const [key] = Object.keys(s)\n if (!key) {\n return s\n }\n\n return {\n [key]: s[key],\n }\n }\n return s\n })\n }\n\n // Save parse the request\n const request = schemaModel(requestPayload, requestSchema, false)\n if (!request) {\n return false\n }\n\n requestMutators.add(request, activeCollection.value.uid)\n }\n // Delete\n else if (diff.type === 'REMOVE') {\n const request = findResource<Request>(\n activeCollection.value.requests,\n requests,\n (_request) => _request.path === path && _request.method === method,\n )\n if (!request) {\n return false\n }\n\n requestMutators.delete(request, activeCollection.value.uid)\n }\n // Edit\n else if (diff.type === 'CHANGE') {\n const request = findResource<Request>(\n activeCollection.value.requests,\n requests,\n (r) => r.path === path && r.method === method,\n )\n\n const parsed = parseDiff(requestSchema, { ...diff, path: keys })\n if (!request || !parsed) {\n return false\n }\n\n requestMutators.edit(request.uid, parsed.path, parsed.value)\n\n // Update the examples\n if (diff.path[3] === 'parameters' || diff.path[3] === 'requestBody') {\n updateRequestExamples(request.uid, store)\n }\n }\n\n return true\n}\n\n/** Generates a payload for the server mutator from the server diff including the mutator method */\nexport const mutateServerDiff = (\n diff: Difference,\n { activeCollection }: ActiveEntitiesStore,\n { servers, serverMutators }: WorkspaceStore,\n): boolean => {\n if (!activeCollection.value) {\n return false\n }\n\n const [, index, ...keys] = diff.path as ['servers', number, keyof Server]\n\n // Edit: update properties\n if (keys?.length) {\n const serverUid = activeCollection.value.servers[index]\n if (!serverUid) {\n return false\n }\n\n const server = servers[serverUid]\n const parsed = parseDiff(serverSchema, { ...diff, path: keys })\n\n if (!server || !parsed) {\n return false\n }\n\n const removeVariables = diff.type === 'REMOVE' && keys[keys.length - 1] === 'variables'\n const value = removeVariables ? {} : parsed.value\n\n serverMutators.edit(serverUid, parsed.path, value)\n }\n // Delete whole object\n else if (diff.type === 'REMOVE') {\n if (!activeCollection.value.servers[index]) {\n return false\n }\n\n serverMutators.delete(activeCollection.value.servers[index], activeCollection.value.uid)\n }\n // Add whole object\n else if (diff.type === 'CREATE') {\n const parsed = schemaModel(diff.value, serverSchema, false)\n if (!parsed) {\n return false\n }\n\n serverMutators.add(parsed, activeCollection.value.uid)\n }\n return true\n}\n\n/** Generates a payload for the tag mutator from the tag diff */\nexport const mutateTagDiff = (\n diff: Difference,\n { activeCollection }: ActiveEntitiesStore,\n { tags, tagMutators }: WorkspaceStore,\n): boolean => {\n if (!activeCollection.value) {\n return false\n }\n\n const [, index, ...keys] = diff.path as ['tags', number, ...string[]]\n\n if (keys?.length) {\n const tagUid = activeCollection.value.tags[index]\n if (!tagUid) {\n return false\n }\n\n const tag = tags[tagUid]\n const parsed = parseDiff(tagSchema, { ...diff, path: keys })\n\n if (!tag || !parsed) {\n return false\n }\n\n tagMutators.edit(tagUid, parsed.path, parsed.value)\n }\n // Delete whole object\n else if (diff.type === 'REMOVE') {\n const tagUid = activeCollection.value.tags[index]\n if (!tagUid) {\n return false\n }\n\n const tag = tags[tagUid]\n if (!tag) {\n return false\n }\n\n tagMutators.delete(tag, activeCollection.value.uid)\n }\n // Add whole object\n else if (diff.type === 'CREATE') {\n const parsed = schemaModel(diff.value, tagSchema, false)\n if (!parsed) {\n return false\n }\n\n tagMutators.add(parsed, activeCollection.value.uid)\n }\n\n return true\n}\n\n/** Narrows down a zod union schema */\nexport const narrowUnionSchema = (schema: ZodSchema, key: string, value: string): ZodSchema | null => {\n const _schema = unwrapSchema(schema)\n\n if (_schema instanceof z.ZodUnion || _schema instanceof z.ZodDiscriminatedUnion) {\n for (const option of _schema.options) {\n if (!(option instanceof z.ZodType)) {\n continue\n }\n const unwrappedOption = unwrapSchema(option)\n if (unwrappedOption instanceof z.ZodObject && key in unwrappedOption.shape) {\n const fieldSchema = unwrapSchema(unwrappedOption.shape[key])\n // Handle both ZodLiteral and wrapped ZodLiteral (e.g., ZodDefault, ZodOptional)\n if (fieldSchema instanceof z.ZodLiteral && fieldSchema.value === value) {\n return unwrappedOption\n }\n // Also check if the field schema is wrapped and contains a literal\n if (\n fieldSchema instanceof z.ZodDefault &&\n fieldSchema._zod.def.innerType instanceof z.ZodLiteral &&\n fieldSchema._zod.def.innerType.value === value\n ) {\n return unwrappedOption\n }\n if (\n fieldSchema instanceof z.ZodOptional &&\n fieldSchema._zod.def.innerType instanceof z.ZodLiteral &&\n fieldSchema._zod.def.innerType.value === value\n ) {\n return unwrappedOption\n }\n // Handle deeply nested wrapping - check if the inner type is also wrapped\n if (\n fieldSchema instanceof z.ZodDefault &&\n fieldSchema._zod.def.innerType instanceof z.ZodOptional &&\n fieldSchema._zod.def.innerType._zod.def.innerType instanceof z.ZodLiteral &&\n fieldSchema._zod.def.innerType._zod.def.innerType.value === value\n ) {\n return unwrappedOption\n }\n }\n }\n }\n return null\n}\n\n/**\n * Generates a payload for the security scheme mutator from the security scheme diff, then executes that mutation\n *\n * Note: for edit we cannot use parseDiff here as it can't do unions, so we handle the unions first\n *\n * @returns true if it succeeds, and false for a failure\n */\nexport const mutateSecuritySchemeDiff = (\n diff: Difference,\n { activeCollection }: ActiveEntitiesStore,\n { securitySchemes, securitySchemeMutators }: WorkspaceStore,\n): boolean => {\n if (!activeCollection.value) {\n return false\n }\n\n const [, , schemeName, ...keys] = diff.path as ['components', 'securitySchemes', string, ...string[]]\n\n const scheme =\n securitySchemes[schemeName] ??\n findResource<SecurityScheme>(\n activeCollection.value.securitySchemes,\n securitySchemes,\n (s) => s.nameKey === schemeName,\n )\n\n // Edit update properties\n if (keys?.length) {\n // Narrows the schema and path based on type of security scheme\n const schema = narrowUnionSchema(securitySchemeSchema, 'type', scheme?.type ?? '')\n if (!schema || !scheme) {\n return false\n }\n const parsed = parseDiff(schema, { ...diff, path: keys })\n if (!parsed) {\n return false\n }\n\n const path = parsed.path as Path<SecurityScheme>\n securitySchemeMutators.edit(scheme.uid, path, parsed.value)\n }\n // Delete whole object\n else if (diff.type === 'REMOVE') {\n if (!scheme) {\n return false\n }\n securitySchemeMutators.delete(scheme.uid)\n }\n // Add whole object\n else if (diff.type === 'CREATE') {\n securitySchemeMutators.add(securitySchemeSchema.parse(diff.value), activeCollection.value.uid)\n }\n\n return true\n}\n"],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA"}
|
|
File without changes
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { Collection, Request, RequestExample, RequestMethod, Tag } from '@scalar/oas-utils/entities/spec';
|
|
2
|
-
import type { RouteLocationRaw } from 'vue-router';
|
|
3
|
-
export type SidebarItem = {
|
|
4
|
-
title: string;
|
|
5
|
-
entity: Collection | Tag | Request | RequestExample | {
|
|
6
|
-
type: 'unknown';
|
|
7
|
-
uid: string;
|
|
8
|
-
};
|
|
9
|
-
resourceTitle: string;
|
|
10
|
-
children: string[];
|
|
11
|
-
method?: RequestMethod | undefined;
|
|
12
|
-
to?: RouteLocationRaw | undefined;
|
|
13
|
-
warning?: string;
|
|
14
|
-
icon?: string;
|
|
15
|
-
edit: (name: string, icon?: string) => void;
|
|
16
|
-
delete: () => void;
|
|
17
|
-
documentUrl?: string | undefined;
|
|
18
|
-
watchMode?: boolean;
|
|
19
|
-
};
|
|
20
|
-
export type SidebarMenuItem = {
|
|
21
|
-
/** The resource which we are opening the menu for */
|
|
22
|
-
item?: SidebarItem;
|
|
23
|
-
/** Array of parentUids used when nesting in the sidemenu */
|
|
24
|
-
parentUids?: string[];
|
|
25
|
-
/** Target ref from the button which triggered the menu for positioning */
|
|
26
|
-
targetRef?: HTMLButtonElement;
|
|
27
|
-
/** Controls wether the menu is open or not */
|
|
28
|
-
open: boolean;
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=sidebar-item.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar-item.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/types/sidebar-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAA;AAC9G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,UAAU,GAAG,GAAG,GAAG,OAAO,GAAG,cAAc,GAAG;QAAE,IAAI,EAAE,SAAS,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAA;IACtF,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,MAAM,CAAC,EAAE,aAAa,GAAG,SAAS,CAAA;IAClC,EAAE,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAA;IACjC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,qDAAqD;IACrD,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAC7B,8CAA8C;IAC9C,IAAI,EAAE,OAAO,CAAA;CACd,CAAA"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type DefineComponent } from 'vue';
|
|
2
|
-
declare const __VLS_export: DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3
|
-
declare const _default: typeof __VLS_export;
|
|
4
|
-
export default _default;
|
|
5
|
-
//# sourceMappingURL=Settings.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Settings.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Settings/Settings.vue"],"names":[],"mappings":"AAkCA,OAAO,EAAO,KAAK,eAAe,EAAE,MAAM,KAAK,CAAA;AAwE/C,QAAA,MAAM,YAAY,iQAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import Settings_vue_vue_type_script_setup_true_lang_default from "./Settings.vue.script.js";
|
|
2
|
-
//#region src/views/Settings/Settings.vue
|
|
3
|
-
var Settings_default = Settings_vue_vue_type_script_setup_true_lang_default;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { Settings_default as default };
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=Settings.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Settings.vue.js","names":[],"sources":["../../../src/views/Settings/Settings.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ref, type DefineComponent } from 'vue'\n\nimport ViewLayout from '@/components/ViewLayout/ViewLayout.vue'\nimport ViewLayoutContent from '@/components/ViewLayout/ViewLayoutContent.vue'\n\nimport SettingsGeneral from './SettingsGeneral.vue'\n\ntype SettingsGroup = {\n component: DefineComponent<any, any, any>\n title: string\n}\n\nconst settings: Record<string, SettingsGroup> = {\n general: {\n component: SettingsGeneral,\n title: 'general',\n },\n}\n\nconst activeSetting = ref('general')\n</script>\n<template>\n <ViewLayout>\n <ViewLayoutContent class=\"flex-1\">\n <component\n :is=\"settings[activeSetting]!.component\"\n v-if=\"settings[activeSetting]\" />\n </ViewLayoutContent>\n </ViewLayout>\n</template>\n"],"mappings":""}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import ViewLayout_default from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
2
|
-
import ViewLayoutContent_default from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
3
|
-
import SettingsGeneral_default from "./SettingsGeneral.vue.js";
|
|
4
|
-
import { createBlock, createCommentVNode, createVNode, defineComponent, openBlock, ref, resolveDynamicComponent, withCtx } from "vue";
|
|
5
|
-
//#region src/views/Settings/Settings.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var Settings_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "Settings",
|
|
8
|
-
setup(__props) {
|
|
9
|
-
const settings = { general: {
|
|
10
|
-
component: SettingsGeneral_default,
|
|
11
|
-
title: "general"
|
|
12
|
-
} };
|
|
13
|
-
const activeSetting = ref("general");
|
|
14
|
-
return (_ctx, _cache) => {
|
|
15
|
-
return openBlock(), createBlock(ViewLayout_default, null, {
|
|
16
|
-
default: withCtx(() => [createVNode(ViewLayoutContent_default, { class: "flex-1" }, {
|
|
17
|
-
default: withCtx(() => [settings[activeSetting.value] ? (openBlock(), createBlock(resolveDynamicComponent(settings[activeSetting.value].component), { key: 0 })) : createCommentVNode("", true)]),
|
|
18
|
-
_: 1
|
|
19
|
-
})]),
|
|
20
|
-
_: 1
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
//#endregion
|
|
26
|
-
export { Settings_vue_vue_type_script_setup_true_lang_default as default };
|
|
27
|
-
|
|
28
|
-
//# sourceMappingURL=Settings.vue.script.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Settings.vue.script.js","names":[],"sources":["../../../src/views/Settings/Settings.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ref, type DefineComponent } from 'vue'\n\nimport ViewLayout from '@/components/ViewLayout/ViewLayout.vue'\nimport ViewLayoutContent from '@/components/ViewLayout/ViewLayoutContent.vue'\n\nimport SettingsGeneral from './SettingsGeneral.vue'\n\ntype SettingsGroup = {\n component: DefineComponent<any, any, any>\n title: string\n}\n\nconst settings: Record<string, SettingsGroup> = {\n general: {\n component: SettingsGeneral,\n title: 'general',\n },\n}\n\nconst activeSetting = ref('general')\n</script>\n<template>\n <ViewLayout>\n <ViewLayoutContent class=\"flex-1\">\n <component\n :is=\"settings[activeSetting]!.component\"\n v-if=\"settings[activeSetting]\" />\n </ViewLayoutContent>\n </ViewLayout>\n</template>\n"],"mappings":";;;;;;;;EAaA,MAAM,WAA0C,EAC9C,SAAS;GACP,WAAW;GACX,OAAO;GACR,EACH;EAEA,MAAM,gBAAgB,IAAI,UAAS;;uBAGjC,YAMa,oBAAA,MAAA;2BADS,CAJpB,YAIoB,2BAAA,EAJD,OAAM,UAAQ,EAAA;4BAGI,CAA3B,SAAS,cAAA,UAAA,WAAA,EAFjB,YAEmC,wBAD5B,SAAS,cAAA,OAAgB,UAAS,EAAA,EAAA,KAAA,GAAA,CAAA,IAAA,mBAAA,IAAA,KAAA,CAAA,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
4
|
-
//# sourceMappingURL=SettingsGeneral.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsGeneral.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Settings/SettingsGeneral.vue"],"names":[],"mappings":"AAy9BA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import SettingsGeneral_vue_vue_type_script_setup_true_lang_default from "./SettingsGeneral.vue.script.js";
|
|
2
|
-
//#region src/views/Settings/SettingsGeneral.vue
|
|
3
|
-
var SettingsGeneral_default = SettingsGeneral_vue_vue_type_script_setup_true_lang_default;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { SettingsGeneral_default as default };
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=SettingsGeneral.vue.js.map
|