@scalar/api-client 2.8.0 → 2.9.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 +90 -0
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +9 -10
- package/dist/components/CodeInput/CodeInput.vue2.js +5 -5
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionForm.vue.js +2 -2
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +3 -3
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +3 -3
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +18 -20
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +2 -2
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +13 -14
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +3 -3
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +3 -3
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +4 -4
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +22 -24
- package/dist/components/CommandPalette/WatchModeToggle.vue.js +1 -1
- package/dist/components/DataTable/DataTableInput.vue2.js +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +8 -9
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +8 -10
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/IconSelector.vue.js +1 -1
- package/dist/components/ImportCollection/DropEventListener.vue.js +12 -12
- package/dist/components/ImportCollection/ImportCollectionListener.vue.js +8 -8
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +14 -16
- package/dist/components/ImportCollection/PasteEventListener.vue.js +1 -1
- package/dist/components/ImportCollection/PrefetchError.vue.js +2 -2
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +5 -7
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +1 -1
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +3 -3
- package/dist/components/OpenApiClientButton.vue2.js +1 -1
- package/dist/components/Server/ServerSelector.vue.js +1 -2
- package/dist/components/SideNav/SideHelp.vue.js +13 -19
- package/dist/components/SideNav/SideNav.vue.js +4 -5
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +4 -5
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
- package/dist/components/TopNav/TopNav.vue.js +8 -10
- package/dist/components/TopNav/TopNavItem.vue2.js +8 -12
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +9 -11
- package/dist/hooks/useClientConfig.d.ts +9 -6
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -15
- package/dist/layouts/App/create-api-client-app.d.ts +3644 -3643
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +24 -18
- package/dist/layouts/Modal/create-api-client-modal.d.ts +5 -8089
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.js +28 -46
- package/dist/layouts/Modal/index.d.ts +2 -2
- package/dist/layouts/Modal/index.d.ts.map +1 -1
- package/dist/layouts/Modal/index.js +2 -5
- package/dist/layouts/Web/create-api-client-web.d.ts +20 -20
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.js +15 -12
- package/dist/libs/create-client.d.ts +25 -25
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +23 -23
- package/dist/libs/find-request.d.ts +2 -2
- package/dist/libs/postman.d.ts +1 -1
- package/dist/libs/postman.d.ts.map +1 -1
- package/dist/libs/postman.js +12 -12
- package/dist/libs/send-request/create-request-operation.js +8 -8
- package/dist/libs/send-request/create-request-operation.test.d.ts +2 -2
- package/dist/libs/validate-parameters.d.ts +10 -2
- package/dist/libs/validate-parameters.d.ts.map +1 -1
- package/dist/libs/validate-parameters.js +13 -6
- package/dist/plugins/plugin-manager.d.ts +1 -1
- package/dist/routes.d.ts +3 -184
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +6 -6
- package/dist/store/active-entities.d.ts +3 -3
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +2 -2
- package/dist/store/requests.d.ts +22 -22
- package/dist/store/router-params.d.ts.map +1 -1
- package/dist/store/store.d.ts +20 -20
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +1 -1
- package/dist/v2/blocks/operation-code-sample/index.d.ts +1 -0
- package/dist/v2/blocks/operation-code-sample/index.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/index.js +8 -6
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +5 -5
- 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 +2 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +3 -3
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +3 -4
- package/dist/v2/blocks/scalar-address-bar-block/index.d.ts +1 -0
- package/dist/v2/blocks/scalar-address-bar-block/index.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +7 -8
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +44 -55
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +16 -18
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +41 -46
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +3 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +2 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +201 -187
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +2 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +8 -10
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +2 -3
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +2 -4
- package/dist/v2/blocks/scalar-response-block/components/Headers.vue.js +14 -16
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +3 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +3 -3
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +87 -85
- package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue2.js +10 -11
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue2.js +4 -5
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.js +1 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.js +3 -3
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.js +1 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue2.js +5 -5
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue2.js +9 -10
- package/dist/v2/components/TempReplaceMe.vue.d.ts +3 -0
- package/dist/v2/components/TempReplaceMe.vue.d.ts.map +1 -0
- package/dist/v2/components/TempReplaceMe.vue.js +12 -0
- package/dist/v2/components/resize/Resize.vue.d.ts +20 -0
- package/dist/v2/components/resize/Resize.vue.d.ts.map +1 -0
- package/dist/v2/components/resize/Resize.vue.js +8 -0
- package/dist/v2/components/resize/Resize.vue2.js +36 -0
- package/dist/v2/components/resize/index.d.ts +3 -0
- package/dist/v2/components/resize/index.d.ts.map +1 -0
- package/dist/v2/components/resize/index.js +4 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +39 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -0
- package/dist/v2/components/sidebar/Sidebar.vue.js +95 -0
- package/dist/v2/components/sidebar/Sidebar.vue2.js +4 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +13 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.js +63 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue2.js +4 -0
- package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts +10 -0
- package/dist/v2/components/sidebar/SidebarToggle.vue.d.ts.map +1 -0
- package/dist/v2/components/sidebar/SidebarToggle.vue.js +52 -0
- package/dist/v2/components/sidebar/SidebarToggle.vue2.js +4 -0
- package/dist/v2/components/sidebar/index.d.ts +4 -0
- package/dist/v2/components/sidebar/index.d.ts.map +1 -0
- package/dist/v2/components/sidebar/index.js +8 -0
- package/dist/v2/features/app/App.vue.d.ts +16 -0
- package/dist/v2/features/app/App.vue.d.ts.map +1 -0
- package/dist/v2/features/app/App.vue.js +72 -0
- package/dist/v2/features/app/App.vue3.js +5 -0
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts +30 -0
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/AppSidebar.vue.js +7 -0
- package/dist/v2/features/app/components/AppSidebar.vue2.js +117 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +3 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.js +14 -0
- package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts +3 -0
- package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/DownloadAppButton.vue.js +7 -0
- package/dist/v2/features/app/components/DownloadAppButton.vue2.js +19 -0
- package/dist/v2/features/app/components/WebTopNav.vue.d.ts +16 -0
- package/dist/v2/features/app/components/WebTopNav.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/WebTopNav.vue.js +28 -0
- package/dist/v2/features/app/components/WebTopNav.vue2.js +4 -0
- package/dist/v2/features/app/components/index.d.ts +2 -0
- package/dist/v2/features/app/components/index.d.ts.map +1 -0
- package/dist/v2/features/app/components/index.js +5 -0
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts +25 -0
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -0
- package/dist/v2/features/app/helpers/create-api-client-app.js +21 -0
- package/dist/v2/features/app/helpers/routes.d.ts +103 -0
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -0
- package/dist/v2/features/app/helpers/routes.js +115 -0
- package/dist/v2/features/app/index.d.ts +2 -0
- package/dist/v2/features/app/index.d.ts.map +1 -0
- package/dist/v2/features/app/index.js +4 -0
- package/dist/v2/features/collection/DocumentCollection.test.d.ts +2 -0
- package/dist/v2/features/collection/DocumentCollection.test.d.ts.map +1 -0
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts +12 -0
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/DocumentCollection.vue.js +4 -0
- package/dist/v2/features/collection/DocumentCollection.vue2.js +82 -0
- package/dist/v2/features/collection/WorkspaceCollection.test.d.ts +2 -0
- package/dist/v2/features/collection/WorkspaceCollection.test.d.ts.map +1 -0
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +10 -0
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/WorkspaceCollection.vue.js +4 -0
- package/dist/v2/features/collection/WorkspaceCollection.vue2.js +38 -0
- package/dist/v2/features/collection/components/Authentication.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Authentication.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Authentication.vue.d.ts +48 -0
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Authentication.vue.js +7 -0
- package/dist/v2/features/collection/components/Authentication.vue2.js +50 -0
- package/dist/v2/features/collection/components/Cookies.vue.d.ts +3 -0
- package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Cookies.vue.js +9 -0
- package/dist/v2/features/collection/components/Environment.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Environment.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Environment.vue.d.ts +89 -0
- package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Environment.vue.js +4 -0
- package/dist/v2/features/collection/components/Environment.vue2.js +34 -0
- package/dist/v2/features/collection/components/Form.vue.d.ts +29 -0
- package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Form.vue.js +83 -0
- package/dist/v2/features/collection/components/Form.vue2.js +4 -0
- package/dist/v2/features/collection/components/LabelInput.test.d.ts +2 -0
- package/dist/v2/features/collection/components/LabelInput.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts +10 -0
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/LabelInput.vue.js +7 -0
- package/dist/v2/features/collection/components/LabelInput.vue2.js +29 -0
- package/dist/v2/features/collection/components/Overview.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Overview.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Overview.vue.d.ts +14 -0
- package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Overview.vue.js +4 -0
- package/dist/v2/features/collection/components/Overview.vue2.js +91 -0
- package/dist/v2/features/collection/components/Servers.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Servers.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Servers.vue.d.ts +33 -0
- package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Servers.vue.js +4 -0
- package/dist/v2/features/collection/components/Servers.vue2.js +120 -0
- package/dist/v2/features/collection/components/Settings.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Settings.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Settings.vue.d.ts +17 -0
- package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Settings.vue.js +7 -0
- package/dist/v2/features/collection/components/Settings.vue2.js +100 -0
- package/dist/v2/features/collection/components/Tabs.test.d.ts +2 -0
- package/dist/v2/features/collection/components/Tabs.test.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Tabs.vue.d.ts +6 -0
- package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -0
- package/dist/v2/features/collection/components/Tabs.vue.js +46 -0
- package/dist/v2/features/collection/components/Tabs.vue2.js +4 -0
- package/dist/v2/features/environments/Environments.test.d.ts +2 -0
- package/dist/v2/features/environments/Environments.test.d.ts.map +1 -0
- package/dist/v2/features/environments/Environments.vue.d.ts +31 -0
- package/dist/v2/features/environments/Environments.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/Environments.vue.js +65 -0
- package/dist/v2/features/environments/Environments.vue2.js +4 -0
- package/dist/v2/features/environments/EnvironmentsList.test.d.ts +2 -0
- package/dist/v2/features/environments/EnvironmentsList.test.d.ts.map +1 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +98 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/EnvironmentsList.vue.js +114 -0
- package/dist/v2/features/environments/EnvironmentsList.vue2.js +4 -0
- package/dist/v2/features/environments/components/Environment.test.d.ts +2 -0
- package/dist/v2/features/environments/components/Environment.test.d.ts.map +1 -0
- package/dist/v2/features/environments/components/Environment.vue.d.ts +70 -0
- package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/Environment.vue.js +104 -0
- package/dist/v2/features/environments/components/Environment.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts +20 -0
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.js +48 -0
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts +2 -0
- package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts +10 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue.js +97 -0
- package/dist/v2/features/environments/components/EnvironmentColors.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +19 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +63 -0
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +14 -0
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +53 -0
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts +18 -0
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.js +35 -0
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts +2 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +23 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +7 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue2.js +122 -0
- package/dist/v2/features/environments/index.d.ts +5 -0
- package/dist/v2/features/environments/index.d.ts.map +1 -0
- package/dist/v2/features/environments/index.js +6 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts +2 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +25 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +7 -0
- package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +156 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts +2 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts +32 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue.js +7 -0
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue2.js +58 -0
- package/dist/v2/features/global-cookies/index.d.ts +2 -0
- package/dist/v2/features/global-cookies/index.d.ts.map +1 -0
- package/dist/v2/features/global-cookies/index.js +4 -0
- package/dist/v2/features/modal/Modal.vue.d.ts +16 -0
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -0
- package/dist/v2/features/modal/Modal.vue.js +7 -0
- package/dist/v2/features/modal/Modal.vue2.js +81 -0
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +53 -0
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -0
- package/dist/v2/features/modal/helpers/create-api-client-modal.js +46 -0
- package/dist/v2/features/modal/index.d.ts +2 -0
- package/dist/v2/features/modal/index.d.ts.map +1 -0
- package/dist/v2/features/modal/index.js +4 -0
- package/dist/v2/features/operation/Operation.test.d.ts +2 -0
- package/dist/v2/features/operation/Operation.test.d.ts.map +1 -0
- package/dist/v2/features/operation/Operation.vue.d.ts +79 -0
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -0
- package/dist/v2/features/operation/Operation.vue.js +124 -0
- package/dist/v2/features/operation/Operation.vue2.js +4 -0
- package/dist/v2/features/operation/components/Header.test.d.ts +2 -0
- package/dist/v2/features/operation/components/Header.test.d.ts.map +1 -0
- package/dist/v2/features/operation/components/Header.vue.d.ts +85 -0
- package/dist/v2/features/operation/components/Header.vue.d.ts.map +1 -0
- package/dist/v2/features/operation/components/Header.vue.js +7 -0
- package/dist/v2/features/operation/components/Header.vue2.js +97 -0
- package/dist/v2/features/operation/index.d.ts +3 -0
- package/dist/v2/features/operation/index.d.ts.map +1 -0
- package/dist/v2/features/operation/index.js +4 -0
- package/dist/v2/features/settings/Settings.test.d.ts +2 -0
- package/dist/v2/features/settings/Settings.test.d.ts.map +1 -0
- package/dist/v2/features/settings/Settings.vue.d.ts +22 -0
- package/dist/v2/features/settings/Settings.vue.d.ts.map +1 -0
- package/dist/v2/features/settings/Settings.vue.js +268 -0
- package/dist/v2/features/settings/Settings.vue2.js +4 -0
- package/dist/v2/features/settings/components/Appearance.vue.d.ts +10 -0
- package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +1 -0
- package/dist/v2/features/settings/components/Appearance.vue.js +88 -0
- package/dist/v2/features/settings/components/Appearance.vue2.js +4 -0
- package/dist/v2/features/settings/components/Section.vue.d.ts +14 -0
- package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -0
- package/dist/v2/features/settings/components/Section.vue.js +24 -0
- package/dist/v2/features/settings/components/Section.vue2.js +4 -0
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +9 -0
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +1 -0
- package/dist/v2/features/settings/helpers/get-theme-colors.js +17 -0
- package/dist/v2/features/settings/index.d.ts +2 -0
- package/dist/v2/features/settings/index.d.ts.map +1 -0
- package/dist/v2/features/settings/index.js +4 -0
- package/dist/v2/hooks/use-document-watcher.d.ts +28 -0
- package/dist/v2/hooks/use-document-watcher.d.ts.map +1 -0
- package/dist/v2/hooks/use-document-watcher.test.d.ts +2 -0
- package/dist/v2/hooks/use-document-watcher.test.d.ts.map +1 -0
- package/dist/v2/hooks/use-workspace-client-events.d.ts +8 -0
- package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -0
- package/dist/v2/hooks/use-workspace-client-events.js +13 -0
- package/dist/v2/plugins.d.ts +44 -0
- package/dist/v2/plugins.d.ts.map +1 -0
- package/dist/v2/types/layout.d.ts +10 -0
- package/dist/v2/types/layout.d.ts.map +1 -0
- package/dist/views/Collection/Collection.vue2.js +6 -6
- package/dist/views/Collection/CollectionCookies.vue2.js +3 -3
- package/dist/views/Collection/CollectionEnvironment.vue2.js +12 -13
- package/dist/views/Collection/CollectionScripts.vue2.js +3 -3
- package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServerForm.vue.js +42 -62
- package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServers.vue2.js +43 -50
- package/dist/views/Collection/CollectionSettings.vue.js +2 -2
- package/dist/views/Collection/CollectionSettings.vue2.js +5 -6
- package/dist/views/Collection/CollectionSync.vue2.js +3 -3
- package/dist/views/Collection/components/EnvironmentForm.vue2.js +10 -12
- package/dist/views/Collection/components/MarkdownInput.vue2.js +2 -4
- package/dist/views/Cookies/CookieModal.vue2.js +6 -6
- package/dist/views/Cookies/Cookies.vue2.js +6 -6
- package/dist/views/Environment/Environment.vue2.js +5 -6
- package/dist/views/Environment/EnvironmentModal.vue.js +13 -14
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +8 -9
- package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestRoot.vue.js +2 -2
- package/dist/views/Request/RequestRoot.vue2.js +79 -80
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +10 -11
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +44 -55
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +10 -12
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +39 -44
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +96 -78
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +3 -3
- package/dist/views/Request/RequestSection/RequestParams.vue.js +2 -3
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +55 -55
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +15 -17
- package/dist/views/Request/RequestSidebar.vue2.js +7 -8
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +31 -32
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +13 -16
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +11 -13
- package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +4 -5
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +4 -5
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +4 -4
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +11 -13
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +7 -8
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +11 -14
- package/dist/views/Request/libs/oauth2.d.ts +1 -1
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.js +40 -42
- package/dist/views/Settings/components/SettingsAppearance.vue.js +8 -11
- package/package.json +52 -27
- package/dist/hooks/useKeyMap.d.ts +0 -2
- package/dist/hooks/useKeyMap.d.ts.map +0 -1
- package/dist/hooks/useKeyMap.js +0 -9
- package/dist/router.d.ts +0 -8
- package/dist/router.d.ts.map +0 -1
- package/dist/router.js +0 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,95 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#6997](https://github.com/scalar/scalar/pull/6997) [`d34f31e`](https://github.com/scalar/scalar/commit/d34f31ee9e3ff360869c52f383b14431af520201) Thanks [@DemonHa](https://github.com/DemonHa)! - feat: implement global cookies feature
|
|
8
|
+
|
|
9
|
+
- [#7185](https://github.com/scalar/scalar/pull/7185) [`6ca835e`](https://github.com/scalar/scalar/commit/6ca835e5afd3e8c603e073e7c83f2cdd961a0f69) Thanks [@DemonHa](https://github.com/DemonHa)! - feat: add support for watch mode
|
|
10
|
+
|
|
11
|
+
- [#7068](https://github.com/scalar/scalar/pull/7068) [`7cda4c5`](https://github.com/scalar/scalar/commit/7cda4c5ecf237e17193391e223f9503c9f37f574) Thanks [@DemonHa](https://github.com/DemonHa)! - feat: settings feature
|
|
12
|
+
|
|
13
|
+
- [#7140](https://github.com/scalar/scalar/pull/7140) [`573c5a6`](https://github.com/scalar/scalar/commit/573c5a6c5d71ecfda262532aa32dad382f9f71e4) Thanks [@DemonHa](https://github.com/DemonHa)! - feat(api-client): request feature
|
|
14
|
+
|
|
15
|
+
- [#7173](https://github.com/scalar/scalar/pull/7173) [`7c1e09e`](https://github.com/scalar/scalar/commit/7c1e09e86ce128adeefd209284a2ba49917adf2c) Thanks [@DemonHa](https://github.com/DemonHa)! - feat: new plugin interface for v2
|
|
16
|
+
|
|
17
|
+
- [#7199](https://github.com/scalar/scalar/pull/7199) [`0d9c945`](https://github.com/scalar/scalar/commit/0d9c945a696ea8b826d86f7b48ec6de4d85e64f0) Thanks [@marcalexiei](https://github.com/marcalexiei)! - feat: update vue to 3.5.21
|
|
18
|
+
|
|
19
|
+
- [#7120](https://github.com/scalar/scalar/pull/7120) [`f612140`](https://github.com/scalar/scalar/commit/f612140491d4e5088757ea5a3fef65ccd2785f08) Thanks [@DemonHa](https://github.com/DemonHa)! - feat: document page feature
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- [#7133](https://github.com/scalar/scalar/pull/7133) [`0319b8a`](https://github.com/scalar/scalar/commit/0319b8a8652a50667776b2e9fd27c3e15b34f765) Thanks [@marcalexiei](https://github.com/marcalexiei)! - fix(api-client): use request content type "other" when api supports `text/*` content types
|
|
24
|
+
|
|
25
|
+
- [#7111](https://github.com/scalar/scalar/pull/7111) [`729ad06`](https://github.com/scalar/scalar/commit/729ad06027c91abcc39866f39319f053d286b995) Thanks [@marcalexiei](https://github.com/marcalexiei)! - fix(api-client): remove `async` from `convertPostmanToOpenApi`
|
|
26
|
+
|
|
27
|
+
- [#7159](https://github.com/scalar/scalar/pull/7159) [`c22fc4e`](https://github.com/scalar/scalar/commit/c22fc4e5acb49d648014a6100c724a5b33c59cde) Thanks [@amritk](https://github.com/amritk)! - feat: added new layouts for client v2
|
|
28
|
+
|
|
29
|
+
- [#7186](https://github.com/scalar/scalar/pull/7186) [`c162bb6`](https://github.com/scalar/scalar/commit/c162bb64b86e698427c1fce36f6d8a2b789e094a) Thanks [@amritk](https://github.com/amritk)! - feat: hooking up event bus to the store
|
|
30
|
+
|
|
31
|
+
- [#7227](https://github.com/scalar/scalar/pull/7227) [`704fa30`](https://github.com/scalar/scalar/commit/704fa302b2cdbb17b19ca2d742537ca163d58c1c) Thanks [@hwkr](https://github.com/hwkr)! - feat(sidebar): cleanup structure and improve text wrapping
|
|
32
|
+
|
|
33
|
+
- [#7191](https://github.com/scalar/scalar/pull/7191) [`0865e66`](https://github.com/scalar/scalar/commit/0865e662092f8521bf69b69d82486ec0cc6030dd) Thanks [@amritk](https://github.com/amritk)! - fix: remove old custom event emitting
|
|
34
|
+
|
|
35
|
+
- [#7094](https://github.com/scalar/scalar/pull/7094) [`eba18d0`](https://github.com/scalar/scalar/commit/eba18d06267a163a8f91396a66f817100ee59461) Thanks [@geoffgscott](https://github.com/geoffgscott)! - Migrate to workspace store as primary source of truth.
|
|
36
|
+
|
|
37
|
+
- [#7146](https://github.com/scalar/scalar/pull/7146) [`d386ae2`](https://github.com/scalar/scalar/commit/d386ae2a7c9288c8e5c4750ab57920ab955cae06) Thanks [@hanspagel](https://github.com/hanspagel)! - feat: block requests with empty path parameters
|
|
38
|
+
|
|
39
|
+
- Updated dependencies [[`eb022f2`](https://github.com/scalar/scalar/commit/eb022f2c8f93c84a04c0093fefe8a1e05d6ec80d), [`913607c`](https://github.com/scalar/scalar/commit/913607c7d67236f08f5369408f304440c6c42b22), [`348f8f6`](https://github.com/scalar/scalar/commit/348f8f6292ef41844fda1fdd3089a55d97adbc0e), [`17817ad`](https://github.com/scalar/scalar/commit/17817addbca916c8d625a03335ae58be3a1c4e4b), [`c22fc4e`](https://github.com/scalar/scalar/commit/c22fc4e5acb49d648014a6100c724a5b33c59cde), [`2239843`](https://github.com/scalar/scalar/commit/2239843150ed16d1ca35b0b1f8e90cd3e35be7ce), [`6ec8c29`](https://github.com/scalar/scalar/commit/6ec8c299d912111b029e8058979d00968b70691a), [`9661e81`](https://github.com/scalar/scalar/commit/9661e81907d1a9b74ba30f270f2d6c8e49834cd5), [`c162bb6`](https://github.com/scalar/scalar/commit/c162bb64b86e698427c1fce36f6d8a2b789e094a), [`b64265b`](https://github.com/scalar/scalar/commit/b64265b3e8b447a4d1c6dafaca8135ef69545d98), [`6ca835e`](https://github.com/scalar/scalar/commit/6ca835e5afd3e8c603e073e7c83f2cdd961a0f69), [`134ff5f`](https://github.com/scalar/scalar/commit/134ff5f32aa6842696bf146c7e0817b1662905eb), [`6aa06b0`](https://github.com/scalar/scalar/commit/6aa06b0f843ae3d8e6771e3c02ac11ee0043a4b1), [`81b0a7a`](https://github.com/scalar/scalar/commit/81b0a7a4245619f03161eae639dc5834b77432b6), [`8a5a6a0`](https://github.com/scalar/scalar/commit/8a5a6a052cc05b0902b05052c80cc429ebc5a730), [`6ec8c29`](https://github.com/scalar/scalar/commit/6ec8c299d912111b029e8058979d00968b70691a), [`704fa30`](https://github.com/scalar/scalar/commit/704fa302b2cdbb17b19ca2d742537ca163d58c1c), [`c84b7c5`](https://github.com/scalar/scalar/commit/c84b7c5e81be83dacbdfcbf9cb1e558dfdc3faa1), [`0319b8a`](https://github.com/scalar/scalar/commit/0319b8a8652a50667776b2e9fd27c3e15b34f765), [`da7ab2f`](https://github.com/scalar/scalar/commit/da7ab2fb2e422b9cec2de5faba58ea83dd774808), [`a26ced6`](https://github.com/scalar/scalar/commit/a26ced6f2897074f0c102d5ccbff55c6fd520e12), [`134ff5f`](https://github.com/scalar/scalar/commit/134ff5f32aa6842696bf146c7e0817b1662905eb), [`33edbf2`](https://github.com/scalar/scalar/commit/33edbf2a2648eb72ae49e36dfd289d4d57dc18e0), [`6a090a2`](https://github.com/scalar/scalar/commit/6a090a2e07ef961c56041c85ee9786180437593a), [`4fe1643`](https://github.com/scalar/scalar/commit/4fe1643be51f76a8ebdfd75f5675337b8d43418e), [`5db92db`](https://github.com/scalar/scalar/commit/5db92db78e5b11bb052307bc10c1be4eb7a3f164), [`592533f`](https://github.com/scalar/scalar/commit/592533faf60b6a5ba27909a4ca0847ca9f04a96d), [`75ad74c`](https://github.com/scalar/scalar/commit/75ad74c0eee10103b966ce4707e4823d819456a8), [`eba18d0`](https://github.com/scalar/scalar/commit/eba18d06267a163a8f91396a66f817100ee59461), [`a821986`](https://github.com/scalar/scalar/commit/a821986332141e69d26885b2d2b32eb0c49f416c), [`c72a2c5`](https://github.com/scalar/scalar/commit/c72a2c59eb80e1f5e216c687229ff90bea88f554), [`0d9c945`](https://github.com/scalar/scalar/commit/0d9c945a696ea8b826d86f7b48ec6de4d85e64f0), [`43bc5e8`](https://github.com/scalar/scalar/commit/43bc5e8b90dc0edf7176d0ddfc64bf3212494458), [`e23229d`](https://github.com/scalar/scalar/commit/e23229dfbd9613b5047b28b57901f2fc5a6e33e6)]:
|
|
40
|
+
- @scalar/types@0.4.0
|
|
41
|
+
- @scalar/workspace-store@0.18.0
|
|
42
|
+
- @scalar/components@0.16.0
|
|
43
|
+
- @scalar/sidebar@0.2.0
|
|
44
|
+
- @scalar/openapi-parser@0.23.0
|
|
45
|
+
- @scalar/openapi-types@0.5.1
|
|
46
|
+
- @scalar/helpers@0.0.13
|
|
47
|
+
- @scalar/oas-utils@0.6.0
|
|
48
|
+
- @scalar/json-magic@0.7.0
|
|
49
|
+
- @scalar/snippetz@0.5.2
|
|
50
|
+
- @scalar/use-hooks@0.3.0
|
|
51
|
+
- @scalar/use-toasts@0.9.0
|
|
52
|
+
- @scalar/draggable@0.3.0
|
|
53
|
+
- @scalar/icons@0.5.0
|
|
54
|
+
- @scalar/themes@0.13.23
|
|
55
|
+
- @scalar/use-codemirror@0.12.44
|
|
56
|
+
- @scalar/analytics-client@1.0.0
|
|
57
|
+
- @scalar/import@0.4.32
|
|
58
|
+
- @scalar/object-utils@1.2.9
|
|
59
|
+
- @scalar/postman-to-openapi@0.3.41
|
|
60
|
+
|
|
61
|
+
## 2.8.1
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- 577150c: fix(api-client): create-request-operation - await from pluginManager onResponseReceived executeHook
|
|
66
|
+
- f3e17d8: fix(api-client): create-request-operation - await Promise from pluginManager.executeHook
|
|
67
|
+
- 8e4c8c0: feat: export all blocks
|
|
68
|
+
- f8efecd: feat: use new schema example generation in the response
|
|
69
|
+
- Updated dependencies [f8efecd]
|
|
70
|
+
- Updated dependencies [3f6d0b9]
|
|
71
|
+
- Updated dependencies [2089748]
|
|
72
|
+
- Updated dependencies [f3e17d8]
|
|
73
|
+
- Updated dependencies [f8efecd]
|
|
74
|
+
- Updated dependencies [8a7fb2a]
|
|
75
|
+
- Updated dependencies [1335923]
|
|
76
|
+
- Updated dependencies [07397c8]
|
|
77
|
+
- Updated dependencies [f69e7cc]
|
|
78
|
+
- @scalar/components@0.15.1
|
|
79
|
+
- @scalar/helpers@0.0.12
|
|
80
|
+
- @scalar/json-magic@0.6.1
|
|
81
|
+
- @scalar/types@0.3.2
|
|
82
|
+
- @scalar/oas-utils@0.5.2
|
|
83
|
+
- @scalar/workspace-store@0.17.1
|
|
84
|
+
- @scalar/openapi-types@0.5.0
|
|
85
|
+
- @scalar/use-codemirror@0.12.43
|
|
86
|
+
- @scalar/import@0.4.31
|
|
87
|
+
- @scalar/object-utils@1.2.8
|
|
88
|
+
- @scalar/postman-to-openapi@0.3.40
|
|
89
|
+
- @scalar/openapi-parser@0.22.3
|
|
90
|
+
- @scalar/snippetz@0.5.1
|
|
91
|
+
- @scalar/themes@0.13.22
|
|
92
|
+
|
|
3
93
|
## 2.8.0
|
|
4
94
|
|
|
5
95
|
### Minor Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as k, computed as x, createBlock as n, openBlock as a, unref as e, withCtx as o, createVNode as i, createSlots as _, createCommentVNode as d, createElementVNode as s, normalizeStyle as y, createElementBlock as C, Fragment as S, renderList as b, toDisplayString as l, normalizeClass as H } from "vue";
|
|
2
2
|
import { Menu as q, MenuButton as B, MenuItems as M, MenuItem as w } from "@headlessui/vue";
|
|
3
3
|
import { ScalarFloating as z, ScalarIcon as I, ScalarFloatingBackdrop as F } from "@scalar/components";
|
|
4
4
|
import { httpStatusCodes as N } from "@scalar/oas-utils/helpers";
|
|
@@ -6,14 +6,14 @@ import { formatMs as R } from "../../libs/formatters.js";
|
|
|
6
6
|
import V from "../HttpMethod/HttpMethod.vue.js";
|
|
7
7
|
import { getStatusCodeColor as E } from "./httpStatusCodeColors.js";
|
|
8
8
|
import { useWorkspace as A } from "../../store/store.js";
|
|
9
|
-
const D = { class: "min-w-0" }, L = { class: "text-c-1 min-w-0 truncate" }, Q = /* @__PURE__ */
|
|
9
|
+
const D = { class: "min-w-0" }, L = { class: "text-c-1 min-w-0 truncate" }, Q = /* @__PURE__ */ k({
|
|
10
10
|
__name: "AddressBarHistory",
|
|
11
11
|
props: {
|
|
12
12
|
operation: {},
|
|
13
13
|
target: {}
|
|
14
14
|
},
|
|
15
15
|
setup(m) {
|
|
16
|
-
const { requestHistory: p } = A(), u =
|
|
16
|
+
const { requestHistory: p } = A(), u = x(
|
|
17
17
|
() => p.filter((r) => r.request.requestUid === m.operation.uid).slice().reverse()
|
|
18
18
|
);
|
|
19
19
|
function f(r) {
|
|
@@ -28,7 +28,7 @@ const D = { class: "min-w-0" }, L = { class: "text-c-1 min-w-0 truncate" }, Q =
|
|
|
28
28
|
offset: 0,
|
|
29
29
|
resize: "",
|
|
30
30
|
target: r.target
|
|
31
|
-
},
|
|
31
|
+
}, _({
|
|
32
32
|
default: o(() => [
|
|
33
33
|
u.value?.length ? (a(), n(e(B), {
|
|
34
34
|
key: 0,
|
|
@@ -42,8 +42,7 @@ const D = { class: "min-w-0" }, L = { class: "text-c-1 min-w-0 truncate" }, Q =
|
|
|
42
42
|
}),
|
|
43
43
|
c[0] || (c[0] = s("span", { class: "sr-only" }, "Request History", -1))
|
|
44
44
|
]),
|
|
45
|
-
_: 1
|
|
46
|
-
__: [0]
|
|
45
|
+
_: 1
|
|
47
46
|
})) : d("", !0)
|
|
48
47
|
]),
|
|
49
48
|
_: 2
|
|
@@ -57,11 +56,11 @@ const D = { class: "min-w-0" }, L = { class: "text-c-1 min-w-0 truncate" }, Q =
|
|
|
57
56
|
style: y({ width: g })
|
|
58
57
|
}, {
|
|
59
58
|
default: o(() => [
|
|
60
|
-
(a(!0), C(S, null, b(u.value, (t,
|
|
59
|
+
(a(!0), C(S, null, b(u.value, (t, v) => (a(), n(e(w), {
|
|
61
60
|
key: t.timestamp,
|
|
62
61
|
as: "button",
|
|
63
62
|
class: "font-code ui-active:*:bg-b-2 text-c-2 contents text-sm font-medium *:flex *:h-8 *:cursor-pointer *:items-center *:rounded-none *:px-1.5 *:first:rounded-l *:last:rounded-r",
|
|
64
|
-
value:
|
|
63
|
+
value: v,
|
|
65
64
|
onClick: (U) => f(t)
|
|
66
65
|
}, {
|
|
67
66
|
default: o(() => [
|
|
@@ -82,8 +81,8 @@ const D = { class: "min-w-0" }, L = { class: "text-c-1 min-w-0 truncate" }, Q =
|
|
|
82
81
|
_: 2
|
|
83
82
|
}, 1032, ["value", "onClick"]))), 128))
|
|
84
83
|
]),
|
|
85
|
-
_:
|
|
86
|
-
},
|
|
84
|
+
_: 1
|
|
85
|
+
}, 8, ["style"]),
|
|
87
86
|
i(e(F), { class: "-top-(--scalar-address-bar-height) rounded-lg" })
|
|
88
87
|
]),
|
|
89
88
|
key: "0"
|
|
@@ -176,13 +176,13 @@ const ae = { class: "whitespace-nowrap" }, re = ["id"], se = {
|
|
|
176
176
|
l[6] || (l[6] = b($((t) => m("up", t), ["stop"]), ["up"]))
|
|
177
177
|
]
|
|
178
178
|
}), [
|
|
179
|
-
e.disableTabIndent ? p("", !0) : (n(), u("div", se, l[7] || (l[7] = [
|
|
180
|
-
V(" Press "),
|
|
179
|
+
e.disableTabIndent ? p("", !0) : (n(), u("div", se, [...l[7] || (l[7] = [
|
|
180
|
+
V(" Press ", -1),
|
|
181
181
|
w("kbd", { class: "-mx-0.25 rounded border px-0.5 font-mono" }, "Esc", -1),
|
|
182
|
-
V(" then "),
|
|
182
|
+
V(" then ", -1),
|
|
183
183
|
w("kbd", { class: "-mx-0.25 rounded border px-0.5 font-mono" }, "Tab", -1),
|
|
184
|
-
V(" to exit ")
|
|
185
|
-
])))
|
|
184
|
+
V(" to exit ", -1)
|
|
185
|
+
])]))
|
|
186
186
|
], 16, re)),
|
|
187
187
|
e.$slots.warning ? (n(), u("div", ue, [
|
|
188
188
|
q(e.$slots, "warning", {}, void 0, !0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandActionForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandActionForm.vue"],"names":[],"mappings":"AA4CA,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,oBAAoB,CAAA;AAE3B,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;
|
|
1
|
+
{"version":3,"file":"CommandActionForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandActionForm.vue"],"names":[],"mappings":"AA4CA,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,oBAAoB,CAAA;AAE3B,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAwEF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAsB9C,QAAA,MAAM,eAAe;;;;;;;;kFAOnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -23,14 +23,14 @@ const v = { class: "flex gap-2" }, w = { class: "flex max-h-8 flex-1" }, h = /*
|
|
|
23
23
|
s(e.$slots, "options")
|
|
24
24
|
]),
|
|
25
25
|
u(n(g), {
|
|
26
|
-
class: "max-h-8
|
|
26
|
+
class: "max-h-8 px-3 text-xs",
|
|
27
27
|
disabled: e.disabled,
|
|
28
28
|
loading: e.loading,
|
|
29
29
|
type: "submit"
|
|
30
30
|
}, {
|
|
31
31
|
default: x(() => [
|
|
32
32
|
s(e.$slots, "submit", {}, () => [
|
|
33
|
-
o[2] || (o[2] = b("Continue"))
|
|
33
|
+
o[2] || (o[2] = b("Continue", -1))
|
|
34
34
|
])
|
|
35
35
|
]),
|
|
36
36
|
_: 3
|
|
@@ -59,9 +59,9 @@ const D = /* @__PURE__ */ p({
|
|
|
59
59
|
_: 1
|
|
60
60
|
}, 8, ["modelValue"])
|
|
61
61
|
]),
|
|
62
|
-
submit: l(() => e[3] || (e[3] = [
|
|
63
|
-
_(" Create Collection ")
|
|
64
|
-
])),
|
|
62
|
+
submit: l(() => [...e[3] || (e[3] = [
|
|
63
|
+
_(" Create Collection ", -1)
|
|
64
|
+
])]),
|
|
65
65
|
default: l(() => [
|
|
66
66
|
r(S, {
|
|
67
67
|
modelValue: o.value,
|
|
@@ -95,9 +95,9 @@ const G = { class: "flex items-center gap-2" }, J = { class: "custom-scroll max-
|
|
|
95
95
|
_: 1
|
|
96
96
|
})
|
|
97
97
|
]),
|
|
98
|
-
submit: l(() => a[3] || (a[3] = [
|
|
99
|
-
u("Create Example")
|
|
100
|
-
])),
|
|
98
|
+
submit: l(() => [...a[3] || (a[3] = [
|
|
99
|
+
u("Create Example", -1)
|
|
100
|
+
])]),
|
|
101
101
|
default: l(() => [
|
|
102
102
|
r(L, {
|
|
103
103
|
modelValue: s.value,
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { defineComponent as J, ref as L, computed as x, watch as A, createBlock as I, openBlock as l, unref as r, withCtx as p, createElementBlock as d, Fragment as v, createElementVNode as U, createCommentVNode as Y, createVNode as w, createTextVNode as c, toDisplayString as R } from "vue";
|
|
2
|
-
import { useLoadingState as q, ScalarButton as
|
|
2
|
+
import { useLoadingState as q, ScalarButton as D, ScalarCodeBlock as G, ScalarIcon as H, ScalarTooltip as K } from "@scalar/components";
|
|
3
3
|
import { useToasts as Q } from "@scalar/use-toasts";
|
|
4
4
|
import { useRouter as X } from "vue-router";
|
|
5
5
|
import { importCurlCommand as Z } from "../../libs/importers/curl.js";
|
|
6
|
+
import { PathId as O } from "../../routes.js";
|
|
6
7
|
import { useActiveEntities as ee } from "../../store/active-entities.js";
|
|
7
8
|
import te from "./CommandActionForm.vue.js";
|
|
8
9
|
import oe from "./CommandActionInput.vue.js";
|
|
9
10
|
import ae from "./WatchModeToggle.vue.js";
|
|
10
|
-
import { isPostmanCollection as P, getPostmanDocumentDetails as le, convertPostmanToOpenApi as
|
|
11
|
+
import { isPostmanCollection as P, getPostmanDocumentDetails as le, convertPostmanToOpenApi as V } from "../../libs/postman.js";
|
|
11
12
|
import { getOpenApiDocumentDetails as re } from "../../libs/getOpenApiDocumentDetails.js";
|
|
12
13
|
import { isUrl as h } from "../../libs/isUrl.js";
|
|
13
14
|
import { useFileDialog as ne } from "../../hooks/useFileDialog.js";
|
|
14
|
-
import { PathId as O } from "../../routes.js";
|
|
15
15
|
import { useWorkspace as ie } from "../../store/store.js";
|
|
16
16
|
const se = { class: "flex justify-between" }, ue = { class: "flex w-full flex-row items-center justify-between gap-3" }, Pe = /* @__PURE__ */ J({
|
|
17
17
|
__name: "CommandPaletteImport",
|
|
18
18
|
emits: ["close", "back"],
|
|
19
|
-
setup(ce, { emit:
|
|
20
|
-
const C =
|
|
19
|
+
setup(ce, { emit: T }) {
|
|
20
|
+
const C = T, _ = X(), { activeWorkspace: n, activeCollection: F } = ee(), { importSpecFile: k, importSpecFromUrl: W, events: N } = ie(), { toast: i } = Q(), s = q(), o = L(""), f = L(!0), a = x(() => P(o.value) ? le(o.value) : re(o.value)), S = x(
|
|
21
21
|
() => a.value ? a.value.type : "json"
|
|
22
22
|
);
|
|
23
23
|
function g(e) {
|
|
24
|
-
e &&
|
|
24
|
+
e && _.push({
|
|
25
25
|
name: "collection",
|
|
26
26
|
params: {
|
|
27
27
|
[O.Workspace]: n.value?.uid,
|
|
@@ -30,7 +30,7 @@ const se = { class: "flex justify-between" }, ue = { class: "flex w-full flex-ro
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
const y = x(() => h(o.value)), $ = x(() => !!a.value), { open: B } = ne({
|
|
33
|
-
onChange:
|
|
33
|
+
onChange: (e) => {
|
|
34
34
|
const t = e?.[0];
|
|
35
35
|
if (t) {
|
|
36
36
|
const u = new FileReader();
|
|
@@ -39,7 +39,7 @@ const se = { class: "flex justify-between" }, ue = { class: "flex w-full flex-ro
|
|
|
39
39
|
try {
|
|
40
40
|
if (P(b)) {
|
|
41
41
|
const m = await k(
|
|
42
|
-
|
|
42
|
+
V(b),
|
|
43
43
|
n.value?.uid ?? ""
|
|
44
44
|
);
|
|
45
45
|
g(m?.collection);
|
|
@@ -91,7 +91,7 @@ const se = { class: "flex justify-between" }, ue = { class: "flex w-full flex-ro
|
|
|
91
91
|
} else if ($.value)
|
|
92
92
|
if (P(o.value)) {
|
|
93
93
|
const e = await k(
|
|
94
|
-
|
|
94
|
+
V(o.value),
|
|
95
95
|
n.value?.uid ?? ""
|
|
96
96
|
);
|
|
97
97
|
g(e?.collection), i("Successfully converted Postman collection", "info");
|
|
@@ -134,21 +134,20 @@ const se = { class: "flex justify-between" }, ue = { class: "flex w-full flex-ro
|
|
|
134
134
|
}, {
|
|
135
135
|
options: p(() => [
|
|
136
136
|
U("div", ue, [
|
|
137
|
-
w(r(
|
|
137
|
+
w(r(D), {
|
|
138
138
|
class: "hover:bg-b-2 relative max-h-8 gap-1.5 p-2 text-xs",
|
|
139
139
|
variant: "outlined",
|
|
140
140
|
onClick: r(B)
|
|
141
141
|
}, {
|
|
142
142
|
default: p(() => [
|
|
143
|
-
t[5] || (t[5] = c(" JSON, or YAML File ")),
|
|
143
|
+
t[5] || (t[5] = c(" JSON, or YAML File ", -1)),
|
|
144
144
|
w(r(H), {
|
|
145
145
|
class: "text-c-3",
|
|
146
146
|
icon: "Upload",
|
|
147
147
|
size: "md"
|
|
148
148
|
})
|
|
149
149
|
]),
|
|
150
|
-
_: 1
|
|
151
|
-
__: [5]
|
|
150
|
+
_: 1
|
|
152
151
|
}, 8, ["onClick"]),
|
|
153
152
|
w(r(K), {
|
|
154
153
|
content: y.value ? "Watch mode automatically updates the API client when the OpenAPI URL content changes, ensuring your client remains up-to-date." : "Watch mode is only available for URL imports. When enabled it automatically updates the API client when the OpenAPI URL content changes.",
|
|
@@ -166,7 +165,7 @@ const se = { class: "flex justify-between" }, ue = { class: "flex w-full flex-ro
|
|
|
166
165
|
])
|
|
167
166
|
]),
|
|
168
167
|
submit: p(() => [
|
|
169
|
-
t[6] || (t[6] = c(" Import ")),
|
|
168
|
+
t[6] || (t[6] = c(" Import ", -1)),
|
|
170
169
|
y.value ? (l(), d(v, { key: 0 }, [
|
|
171
170
|
c(" from URL ")
|
|
172
171
|
], 64)) : a.value && S.value ? (l(), d(v, { key: 1 }, [
|
|
@@ -189,16 +188,15 @@ const se = { class: "flex justify-between" }, ue = { class: "flex w-full flex-ro
|
|
|
189
188
|
}, null, 8, ["modelValue"])) : (l(), d(v, { key: 1 }, [
|
|
190
189
|
U("div", se, [
|
|
191
190
|
t[4] || (t[4] = U("div", { class: "text-c-2 min-h-8 w-full py-2 pl-12 text-center text-xs" }, " Preview ", -1)),
|
|
192
|
-
w(r(
|
|
191
|
+
w(r(D), {
|
|
193
192
|
class: "hover:bg-b-2 relative ml-auto max-h-8 gap-1.5 p-2 text-xs",
|
|
194
193
|
variant: "ghost",
|
|
195
194
|
onClick: t[1] || (t[1] = (u) => o.value = "")
|
|
196
195
|
}, {
|
|
197
|
-
default: p(() => t[3] || (t[3] = [
|
|
198
|
-
c(" Clear ")
|
|
199
|
-
])),
|
|
200
|
-
_: 1
|
|
201
|
-
__: [3]
|
|
196
|
+
default: p(() => [...t[3] || (t[3] = [
|
|
197
|
+
c(" Clear ", -1)
|
|
198
|
+
])]),
|
|
199
|
+
_: 1
|
|
202
200
|
})
|
|
203
201
|
]),
|
|
204
202
|
a.value && !r(h)(o.value) ? (l(), I(r(G), {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./CommandPaletteImportCurl.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e0578855"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -5,8 +5,8 @@ import { emitCustomEvent as N } from "@scalar/workspace-store/events";
|
|
|
5
5
|
import { useRouter as T } from "vue-router";
|
|
6
6
|
import $ from "./CommandActionForm.vue.js";
|
|
7
7
|
import A from "../HttpMethod/HttpMethod.vue.js";
|
|
8
|
-
import { useActiveEntities as G } from "../../store/active-entities.js";
|
|
9
8
|
import { PathId as p } from "../../routes.js";
|
|
9
|
+
import { useActiveEntities as G } from "../../store/active-entities.js";
|
|
10
10
|
import { useWorkspace as H } from "../../store/store.js";
|
|
11
11
|
const X = { class: "flex h-9 flex-row items-center gap-2 rounded border p-[3px] text-sm" }, J = { class: "flex h-full" }, K = { class: "scroll-timeline-x whitespace-nowrap" }, Q = { class: "flex" }, ie = /* @__PURE__ */ I({
|
|
12
12
|
__name: "CommandPaletteImportCurl",
|
|
@@ -3,10 +3,10 @@ import { ScalarListbox as $, ScalarButton as b, ScalarIcon as j } from "@scalar/
|
|
|
3
3
|
import { useToasts as z } from "@scalar/use-toasts";
|
|
4
4
|
import { emitCustomEvent as I } from "@scalar/workspace-store/events";
|
|
5
5
|
import { useRouter as L } from "vue-router";
|
|
6
|
+
import { PathId as C } from "../../routes.js";
|
|
6
7
|
import { useActiveEntities as O } from "../../store/active-entities.js";
|
|
7
8
|
import W from "./CommandActionForm.vue.js";
|
|
8
9
|
import A from "./CommandActionInput.vue.js";
|
|
9
|
-
import { PathId as C } from "../../routes.js";
|
|
10
10
|
import { useWorkspace as q } from "../../store/store.js";
|
|
11
11
|
const te = /* @__PURE__ */ T({
|
|
12
12
|
__name: "CommandPaletteServer",
|
|
@@ -19,7 +19,7 @@ const te = /* @__PURE__ */ T({
|
|
|
19
19
|
collectionMutators: g,
|
|
20
20
|
serverMutators: D,
|
|
21
21
|
events: U,
|
|
22
|
-
collections:
|
|
22
|
+
collections: y
|
|
23
23
|
} = q(), a = v(""), i = h(
|
|
24
24
|
() => V.value.flatMap(
|
|
25
25
|
(e) => e.info?.title === "Drafts" ? [] : {
|
|
@@ -33,12 +33,12 @@ const te = /* @__PURE__ */ T({
|
|
|
33
33
|
) : i.value.find(
|
|
34
34
|
(e) => e.id === w.value?.uid
|
|
35
35
|
)
|
|
36
|
-
),
|
|
36
|
+
), P = () => {
|
|
37
37
|
if (!a.value.trim()) {
|
|
38
38
|
p("Please enter a valid url before creating a server.", "error");
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
-
const e =
|
|
41
|
+
const e = y[o.value?.id ?? ""];
|
|
42
42
|
if (!e) {
|
|
43
43
|
p("Please select a collection before creating a server.", "error");
|
|
44
44
|
return;
|
|
@@ -56,13 +56,13 @@ const te = /* @__PURE__ */ T({
|
|
|
56
56
|
[C.Servers]: t.uid
|
|
57
57
|
}
|
|
58
58
|
}), c("close");
|
|
59
|
-
},
|
|
59
|
+
}, _ = () => {
|
|
60
60
|
U.commandPalette.emit({ commandName: "Create Collection" });
|
|
61
61
|
}, N = B("wrapper-ref");
|
|
62
62
|
return (e, t) => (m(), u(W, {
|
|
63
63
|
ref: "wrapper-ref",
|
|
64
64
|
disabled: !a.value.trim() || !o.value,
|
|
65
|
-
onSubmit:
|
|
65
|
+
onSubmit: P
|
|
66
66
|
}, {
|
|
67
67
|
options: l(() => [
|
|
68
68
|
d(s($), {
|
|
@@ -91,21 +91,20 @@ const te = /* @__PURE__ */ T({
|
|
|
91
91
|
key: 1,
|
|
92
92
|
class: "hover:bg-b-2 max-h-8 w-fit justify-between gap-1 p-2 text-xs",
|
|
93
93
|
variant: "outlined",
|
|
94
|
-
onClick:
|
|
94
|
+
onClick: _
|
|
95
95
|
}, {
|
|
96
|
-
default: l(() => t[3] || (t[3] = [
|
|
96
|
+
default: l(() => [...t[3] || (t[3] = [
|
|
97
97
|
f("span", { class: "text-c-1" }, "Create Collection", -1)
|
|
98
|
-
])),
|
|
99
|
-
_: 1
|
|
100
|
-
__: [3]
|
|
98
|
+
])]),
|
|
99
|
+
_: 1
|
|
101
100
|
}))
|
|
102
101
|
]),
|
|
103
102
|
_: 1
|
|
104
103
|
}, 8, ["modelValue", "options"])
|
|
105
104
|
]),
|
|
106
|
-
submit: l(() => t[4] || (t[4] = [
|
|
107
|
-
E(" Create Server ")
|
|
108
|
-
])),
|
|
105
|
+
submit: l(() => [...t[4] || (t[4] = [
|
|
106
|
+
E(" Create Server ", -1)
|
|
107
|
+
])]),
|
|
109
108
|
default: l(() => [
|
|
110
109
|
d(A, {
|
|
111
110
|
modelValue: a.value,
|
|
@@ -63,9 +63,9 @@ const O = /* @__PURE__ */ g({
|
|
|
63
63
|
_: 1
|
|
64
64
|
}, 8, ["modelValue", "options"])
|
|
65
65
|
]),
|
|
66
|
-
submit: n(() => e[3] || (e[3] = [
|
|
67
|
-
S(" Create Tag ")
|
|
68
|
-
])),
|
|
66
|
+
submit: n(() => [...e[3] || (e[3] = [
|
|
67
|
+
S(" Create Tag ", -1)
|
|
68
|
+
])]),
|
|
69
69
|
default: n(() => [
|
|
70
70
|
i(E, {
|
|
71
71
|
modelValue: a.value,
|
|
@@ -27,9 +27,9 @@ const $ = /* @__PURE__ */ c({
|
|
|
27
27
|
disabled: !o.value.trim(),
|
|
28
28
|
onSubmit: u
|
|
29
29
|
}, {
|
|
30
|
-
submit: s(() => e[2] || (e[2] = [
|
|
31
|
-
b("Create Workspace")
|
|
32
|
-
])),
|
|
30
|
+
submit: s(() => [...e[2] || (e[2] = [
|
|
31
|
+
b("Create Workspace", -1)
|
|
32
|
+
])]),
|
|
33
33
|
default: s(() => [
|
|
34
34
|
k(N, {
|
|
35
35
|
modelValue: o.value,
|
|
@@ -91,7 +91,7 @@ export declare const PaletteComponents: {
|
|
|
91
91
|
deprecated?: boolean | undefined;
|
|
92
92
|
schema?: unknown;
|
|
93
93
|
content?: unknown;
|
|
94
|
-
style?: "matrix" | "
|
|
94
|
+
style?: "matrix" | "label" | "form" | "simple" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
95
95
|
explode?: boolean | undefined;
|
|
96
96
|
example?: unknown;
|
|
97
97
|
examples?: Record<string, {
|
|
@@ -121,7 +121,7 @@ export declare const PaletteComponents: {
|
|
|
121
121
|
type?: "request" | undefined;
|
|
122
122
|
uid?: string | undefined;
|
|
123
123
|
path?: string | undefined;
|
|
124
|
-
method?: "delete" | "get" | "
|
|
124
|
+
method?: "delete" | "get" | "head" | "options" | "patch" | "post" | "put" | "trace" | undefined;
|
|
125
125
|
servers?: string[] | undefined;
|
|
126
126
|
selectedServerUid?: string | null | undefined;
|
|
127
127
|
examples?: string[] | undefined;
|
|
@@ -159,7 +159,7 @@ export declare const PaletteComponents: {
|
|
|
159
159
|
deprecated?: boolean | undefined;
|
|
160
160
|
schema?: unknown;
|
|
161
161
|
content?: unknown;
|
|
162
|
-
style?: "matrix" | "
|
|
162
|
+
style?: "matrix" | "label" | "form" | "simple" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
163
163
|
explode?: boolean | undefined;
|
|
164
164
|
example?: unknown;
|
|
165
165
|
examples?: Record<string, {
|
|
@@ -189,7 +189,7 @@ export declare const PaletteComponents: {
|
|
|
189
189
|
type?: "request" | undefined;
|
|
190
190
|
uid?: string | undefined;
|
|
191
191
|
path?: string | undefined;
|
|
192
|
-
method?: "delete" | "get" | "
|
|
192
|
+
method?: "delete" | "get" | "head" | "options" | "patch" | "post" | "put" | "trace" | undefined;
|
|
193
193
|
servers?: string[] | undefined;
|
|
194
194
|
selectedServerUid?: string | null | undefined;
|
|
195
195
|
examples?: string[] | undefined;
|