@scalar/api-client 2.10.0 → 2.12.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 +69 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +1 -1
- package/dist/components/AddressBar/AddressBar.vue2.js +35 -29
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +2 -2
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.js +1 -0
- package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesForm.vue.js +6 -6
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +14 -13
- package/dist/hooks/useClientConfig.d.ts +6 -3
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +18 -18
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +18 -18
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +19 -19
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/errors.d.ts +1 -0
- package/dist/libs/errors.d.ts.map +1 -1
- package/dist/libs/errors.js +2 -1
- package/dist/libs/find-request.d.ts +1 -1
- package/dist/libs/send-request/create-request-operation.d.ts +4 -4
- package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.js +60 -51
- package/dist/store/active-entities.d.ts +1 -1
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/requests.d.ts +11 -11
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/store.d.ts +11 -11
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +82 -26
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js +65 -65
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +5 -8
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js +3 -3
- package/dist/v2/blocks/operation-block/components/Header.vue2.js +33 -36
- package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.js +11 -10
- package/dist/v2/blocks/{scalar-operation-block/components/OperationBlock.vue.d.ts → request-block/RequestBlock.vue.d.ts} +5 -19
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +7 -0
- package/dist/v2/blocks/request-block/RequestBlock.vue2.js +223 -0
- package/dist/v2/blocks/{scalar-operation-block/components/OperationBody.vue.d.ts → request-block/components/RequestBody.vue.d.ts} +4 -6
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js +7 -0
- package/dist/v2/blocks/{scalar-operation-block/components/OperationBody.vue2.js → request-block/components/RequestBody.vue2.js} +86 -90
- package/dist/v2/blocks/{scalar-operation-block/components/OperationParams.vue.d.ts → request-block/components/RequestParams.vue.d.ts} +3 -6
- package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts.map +1 -0
- package/dist/v2/blocks/{scalar-operation-block/components/OperationParams.vue.js → request-block/components/RequestParams.vue.js} +26 -28
- package/dist/v2/blocks/request-block/components/RequestParams.vue2.js +4 -0
- package/dist/v2/blocks/{scalar-operation-block/components/OperationTable.vue.d.ts → request-block/components/RequestTable.vue.d.ts} +4 -7
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/components/RequestTable.vue.js +7 -0
- package/dist/v2/blocks/request-block/components/RequestTable.vue2.js +86 -0
- package/dist/v2/blocks/{scalar-operation-block/components/OperationTableRow.vue.d.ts → request-block/components/RequestTableRow.vue.d.ts} +3 -6
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -0
- package/dist/v2/blocks/{scalar-operation-block/components/OperationTableRow.vue.js → request-block/components/RequestTableRow.vue.js} +63 -67
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue2.js +4 -0
- package/dist/v2/blocks/{scalar-operation-block/components/OperationTableTooltip.vue.d.ts → request-block/components/RequestTableTooltip.vue.d.ts} +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.js +7 -0
- package/dist/v2/blocks/{scalar-operation-block/components/OperationTableTooltip.vue2.js → request-block/components/RequestTableTooltip.vue2.js} +7 -7
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts +24 -0
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +29 -0
- package/dist/v2/blocks/request-block/helpers/files.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/helpers/get-parameter-content.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/helpers/get-parameter-example.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/helpers/get-parameter-schema.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/helpers/get-request-body-example.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/helpers/group-by.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/helpers/validate-parameter.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/index.d.ts +2 -0
- package/dist/v2/blocks/request-block/index.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/index.js +4 -0
- package/dist/v2/blocks/{scalar-response-block/components → response-block}/ResponseBlock.vue.d.ts +3 -3
- package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/ResponseBlock.vue.js +7 -0
- package/dist/v2/blocks/{scalar-response-block/components → response-block}/ResponseBlock.vue2.js +25 -25
- package/dist/v2/blocks/{scalar-response-block → response-block}/components/Headers.vue.d.ts +2 -2
- package/dist/v2/blocks/response-block/components/Headers.vue.d.ts.map +1 -0
- package/dist/v2/blocks/{scalar-response-block → response-block}/components/Headers.vue.js +9 -9
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts.map +1 -0
- package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBody.vue.js +2 -2
- package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBody.vue2.js +22 -22
- package/dist/v2/blocks/response-block/components/ResponseBodyDownload.vue.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/components/ResponseBodyInfo.vue.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -0
- package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyPreview.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts.map +1 -0
- package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyRaw.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.d.ts.map +1 -0
- package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyStreaming.vue.js +14 -14
- package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/components/ResponseBodyVirtual.vue.d.ts.map +1 -0
- package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyVirtual.vue.js +12 -12
- package/dist/v2/blocks/response-block/components/ResponseCookies.vue.d.ts.map +1 -0
- package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseCookies.vue.js +13 -13
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -0
- package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseEmpty.vue.js +2 -2
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js +7 -0
- package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseMetaInformation.vue.d.ts +0 -1
- package/dist/v2/blocks/response-block/components/ResponseMetaInformation.vue.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/helpers/extract-filename.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/helpers/get-content-length.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/helpers/media-types.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/helpers/process-response-body.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/index.d.ts +2 -0
- package/dist/v2/blocks/response-block/index.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/index.js +4 -0
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +6 -8
- 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 +68 -70
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +11 -9
- 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 +179 -5
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +2 -179
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +201 -198
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +11 -6
- 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 +82 -5
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue2.js +2 -85
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +3 -13
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +16 -18
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +133 -142
- 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 +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.d.ts +1 -0
- 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.vue2.js +29 -28
- package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTable.vue.js +4 -4
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts +5 -7
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTableInput.vue.js +2 -2
- package/dist/v2/components/data-table/DataTableInput.vue2.js +32 -36
- package/dist/v2/components/forms/ConfirmationForm.vue.d.ts +25 -0
- package/dist/v2/components/forms/ConfirmationForm.vue.d.ts.map +1 -0
- package/dist/v2/components/forms/ConfirmationForm.vue.js +7 -0
- package/dist/v2/components/forms/ConfirmationForm.vue2.js +45 -0
- package/dist/v2/components/forms/index.d.ts +2 -0
- package/dist/v2/components/forms/index.d.ts.map +1 -0
- package/dist/v2/components/forms/index.js +4 -0
- package/dist/v2/components/layout/CollapsibleSection.vue.d.ts +43 -0
- package/dist/v2/components/layout/CollapsibleSection.vue.d.ts.map +1 -0
- package/dist/v2/components/layout/CollapsibleSection.vue.js +89 -0
- package/dist/v2/components/layout/CollapsibleSection.vue2.js +4 -0
- package/dist/v2/components/layout/ValueEmitter.vue.d.ts +23 -0
- package/dist/v2/components/layout/ValueEmitter.vue.d.ts.map +1 -0
- package/dist/v2/components/layout/ValueEmitter.vue.js +21 -0
- package/dist/v2/components/layout/ValueEmitter.vue2.js +4 -0
- package/dist/v2/components/layout/index.d.ts +2 -0
- package/dist/v2/components/layout/index.d.ts.map +1 -0
- package/dist/v2/components/layout/index.js +4 -0
- package/dist/v2/components/modals/DeleteModal.vue.d.ts +15 -0
- package/dist/v2/components/modals/DeleteModal.vue.d.ts.map +1 -0
- package/dist/v2/components/modals/DeleteModal.vue.js +31 -0
- package/dist/v2/components/modals/DeleteModal.vue2.js +4 -0
- package/dist/v2/components/modals/index.d.ts +2 -0
- package/dist/v2/components/modals/index.d.ts.map +1 -0
- package/dist/v2/components/modals/index.js +4 -0
- package/dist/v2/components/resize/Resize.vue.d.ts.map +1 -1
- package/dist/v2/components/resize/Resize.vue.js +2 -2
- package/dist/v2/components/server/ServerDropdown.vue.d.ts +7 -5
- package/dist/v2/components/server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/v2/components/server/ServerDropdown.vue.js +44 -49
- package/dist/v2/components/server/ServerDropdownItem.vue.d.ts +3 -7
- package/dist/v2/components/server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/v2/components/server/ServerDropdownItem.vue.js +2 -2
- package/dist/v2/components/server/ServerDropdownItem.vue2.js +24 -26
- package/dist/v2/components/server/index.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +30 -6
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +57 -62
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +18 -9
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/SidebarMenu.vue.js +36 -43
- package/dist/v2/features/app/App.vue.d.ts +2 -5
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +134 -82
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts +42 -6
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue2.js +76 -64
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts +15 -0
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js +56 -0
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue2.js +4 -0
- package/dist/v2/{components/TempReplaceMe.vue.d.ts → features/app/components/SplashScreen.vue.d.ts} +1 -1
- package/dist/v2/features/app/components/SplashScreen.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/SplashScreen.vue.js +7 -0
- package/dist/v2/features/app/components/SplashScreen.vue2.js +18 -0
- package/dist/v2/features/app/components/WebTopNav.vue.d.ts +26 -5
- package/dist/v2/features/app/components/WebTopNav.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/WebTopNav.vue.js +18 -19
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts +1 -2
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/create-api-client-app.js +8 -8
- package/dist/v2/features/app/helpers/routes.d.ts +6 -41
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/routes.js +4 -9
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/DocumentCollection.vue2.js +69 -74
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue2.js +25 -25
- package/dist/v2/features/collection/components/Authentication.vue.d.ts +13 -25
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Authentication.vue.js +2 -2
- package/dist/v2/features/collection/components/Authentication.vue2.js +49 -35
- package/dist/v2/features/collection/components/Cookies.vue.d.ts +13 -1
- package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Cookies.vue.js +2 -7
- package/dist/v2/features/collection/components/Cookies.vue2.js +32 -0
- package/dist/v2/features/collection/components/Environment.vue2.js +2 -0
- package/dist/v2/features/collection/components/Form.vue.d.ts +3 -7
- package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Form.vue.js +28 -33
- package/dist/v2/features/collection/components/Overview.vue2.js +10 -8
- package/dist/v2/features/collection/components/Servers.vue.d.ts +13 -31
- package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Servers.vue2.js +105 -82
- package/dist/v2/features/collection/components/Settings.vue.d.ts +13 -15
- package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Settings.vue.js +2 -5
- package/dist/v2/features/collection/components/Settings.vue2.js +51 -92
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +3 -3
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +6 -22
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +3 -3
- package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +121 -88
- package/dist/v2/features/global-cookies/index.d.ts +1 -1
- package/dist/v2/features/global-cookies/index.d.ts.map +1 -1
- package/dist/v2/features/global-cookies/index.js +2 -2
- package/dist/v2/features/modal/Modal.vue.d.ts +0 -2
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js +2 -2
- package/dist/v2/features/modal/Modal.vue2.js +28 -53
- 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 +8 -9
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js +35 -34
- package/dist/v2/features/operation/helpers/get-security-requirements.d.ts +12 -0
- package/dist/v2/features/operation/helpers/get-security-requirements.d.ts.map +1 -0
- package/dist/v2/features/operation/helpers/get-security-requirements.js +4 -0
- package/dist/v2/features/search/components/SearchButton.vue.d.ts +12 -0
- package/dist/v2/features/search/components/SearchButton.vue.d.ts.map +1 -0
- package/dist/v2/features/search/components/SearchButton.vue.js +71 -0
- package/dist/v2/features/search/components/SearchButton.vue2.js +4 -0
- package/dist/v2/features/search/components/SearchModal.vue.d.ts +11 -0
- package/dist/v2/features/search/components/SearchModal.vue.d.ts.map +1 -0
- package/dist/v2/features/search/components/SearchModal.vue.js +7 -0
- package/dist/v2/features/search/components/SearchModal.vue2.js +101 -0
- package/dist/v2/features/search/components/SearchResult.vue.d.ts +10 -0
- package/dist/v2/features/search/components/SearchResult.vue.d.ts.map +1 -0
- package/dist/v2/features/search/components/SearchResult.vue.js +80 -0
- package/dist/v2/features/search/components/SearchResult.vue2.js +4 -0
- package/dist/v2/features/search/helpers/create-fuse-instance.d.ts +9 -0
- package/dist/v2/features/search/helpers/create-fuse-instance.d.ts.map +1 -0
- package/dist/v2/features/search/helpers/create-fuse-instance.js +43 -0
- package/dist/v2/features/search/helpers/create-search-index.d.ts +7 -0
- package/dist/v2/features/search/helpers/create-search-index.d.ts.map +1 -0
- package/dist/v2/features/search/helpers/create-search-index.js +63 -0
- package/dist/v2/features/search/hooks/use-search-index.d.ts +14 -0
- package/dist/v2/features/search/hooks/use-search-index.d.ts.map +1 -0
- package/dist/v2/features/search/hooks/use-search-index.js +24 -0
- package/dist/v2/features/search/index.d.ts +3 -0
- package/dist/v2/features/search/index.d.ts.map +1 -0
- package/dist/v2/features/search/index.js +6 -0
- package/dist/v2/features/search/types.d.ts +24 -0
- package/dist/v2/features/search/types.d.ts.map +1 -0
- package/dist/v2/features/settings/{Settings.vue.d.ts → CollectionSettings.vue.d.ts} +2 -2
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +1 -0
- package/dist/v2/features/settings/CollectionSettings.vue.js +266 -0
- package/dist/v2/features/settings/CollectionSettings.vue2.js +4 -0
- package/dist/v2/features/settings/DocumentSettings.vue.d.ts +19 -0
- package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +1 -0
- package/dist/v2/features/settings/DocumentSettings.vue.js +7 -0
- package/dist/v2/features/settings/DocumentSettings.vue2.js +106 -0
- package/dist/v2/features/settings/index.d.ts +2 -1
- package/dist/v2/features/settings/index.d.ts.map +1 -1
- package/dist/v2/features/settings/index.js +4 -2
- package/dist/v2/helpers/drag-handle-factory.d.ts +17 -0
- package/dist/v2/helpers/drag-handle-factory.d.ts.map +1 -0
- package/dist/v2/helpers/drag-handle-factory.js +135 -0
- package/dist/v2/helpers/handle-hotkeys.d.ts +23 -0
- package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -0
- package/dist/v2/helpers/handle-hotkeys.js +56 -0
- package/dist/v2/helpers/slugify.d.ts +9 -0
- package/dist/v2/helpers/slugify.d.ts.map +1 -0
- package/dist/v2/helpers/slugify.js +4 -0
- package/dist/v2/helpers/storage.d.ts +25 -0
- package/dist/v2/helpers/storage.d.ts.map +1 -0
- package/dist/v2/helpers/storage.js +20 -0
- package/dist/v2/hooks/use-color-mode.d.ts +20 -0
- package/dist/v2/hooks/use-color-mode.d.ts.map +1 -0
- package/dist/v2/hooks/use-color-mode.js +24 -0
- package/dist/v2/hooks/use-document-watcher.d.ts +9 -7
- package/dist/v2/hooks/use-document-watcher.d.ts.map +1 -1
- package/dist/v2/hooks/use-document-watcher.js +66 -0
- package/dist/v2/hooks/use-global-hot-keys.d.ts +10 -0
- package/dist/v2/hooks/use-global-hot-keys.d.ts.map +1 -0
- package/dist/v2/hooks/use-global-hot-keys.js +9 -0
- package/dist/v2/hooks/use-sidebar-state.d.ts +48 -0
- package/dist/v2/hooks/use-sidebar-state.d.ts.map +1 -0
- package/dist/v2/hooks/use-sidebar-state.js +128 -0
- package/dist/v2/hooks/use-workspace-client-events.d.ts +8 -2
- package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -1
- package/dist/v2/hooks/use-workspace-client-events.js +52 -135
- package/dist/v2/hooks/use-workspace-selector.d.ts +18 -0
- package/dist/v2/hooks/use-workspace-selector.d.ts.map +1 -0
- package/dist/v2/hooks/use-workspace-selector.js +87 -0
- 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 +86 -77
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
- 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 +29 -24
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +29 -28
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +0 -45
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +0 -29
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/event-types.d.ts +0 -29
- package/dist/v2/blocks/scalar-auth-selector-block/event-types.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +0 -7
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +0 -289
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +0 -7
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue2.js +0 -4
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.js +0 -7
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue2.js +0 -88
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue2.js +0 -4
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue.js +0 -7
- package/dist/v2/blocks/scalar-operation-block/helpers/files.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/get-request-body-example.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/index.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/index.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/index.js +0 -4
- package/dist/v2/blocks/scalar-response-block/components/Headers.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +0 -7
- package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyInfo.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue.js +0 -7
- package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/index.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/index.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/index.js +0 -4
- package/dist/v2/components/TempReplaceMe.vue.d.ts.map +0 -1
- package/dist/v2/components/TempReplaceMe.vue.js +0 -12
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts +0 -32
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue.d.ts.map +0 -1
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue.js +0 -7
- package/dist/v2/features/global-cookies/components/GlobalCookies.vue2.js +0 -58
- package/dist/v2/features/settings/Settings.vue.d.ts.map +0 -1
- package/dist/v2/features/settings/Settings.vue.js +0 -268
- package/dist/v2/features/settings/Settings.vue2.js +0 -4
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/files.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/files.js +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/get-parameter-content.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/get-parameter-content.js +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/get-parameter-example.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/get-parameter-example.js +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/get-parameter-schema.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/get-parameter-schema.js +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/get-request-body-example.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/get-request-body-example.js +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/group-by.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/group-by.js +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/validate-parameter.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-operation-block → request-block}/helpers/validate-parameter.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/Headers.vue2.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBody.vue.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyDownload.vue.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyDownload.vue.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyDownload.vue2.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyInfo.vue.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyInfo.vue.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyPreview.vue.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyPreview.vue2.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyRaw.vue.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyRaw.vue2.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyStreaming.vue.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyStreaming.vue2.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyToggle.vue.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyToggle.vue.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyToggle.vue2.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyVirtual.vue.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseBodyVirtual.vue3.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseCookies.vue.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseCookies.vue2.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseEmpty.vue.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseEmpty.vue2.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseLoadingOverlay.vue.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseLoadingOverlay.vue2.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseMetaInformation.vue.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/components/ResponseMetaInformation.vue2.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/helpers/extract-filename.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/helpers/extract-filename.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/helpers/get-content-length.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/helpers/get-content-length.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/helpers/media-types.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/helpers/media-types.js +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/helpers/process-response-body.d.ts +0 -0
- /package/dist/v2/blocks/{scalar-response-block → response-block}/helpers/process-response-body.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,74 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#7310](https://github.com/scalar/scalar/pull/7310) [`6e1cb89`](https://github.com/scalar/scalar/commit/6e1cb89f71770601a5059449d68b409ffc87d332) Thanks [@DemonHa](https://github.com/DemonHa)! - feat: workspace selector
|
|
8
|
+
|
|
9
|
+
- [#7366](https://github.com/scalar/scalar/pull/7366) [`1fbd809`](https://github.com/scalar/scalar/commit/1fbd809197bfaef77d7d3cb8cf7b657f397232a7) Thanks [@DemonHa](https://github.com/DemonHa)! - feat: sidebar reordering and worksapce docuements search
|
|
10
|
+
|
|
11
|
+
- [#7384](https://github.com/scalar/scalar/pull/7384) [`3ebff92`](https://github.com/scalar/scalar/commit/3ebff92f29d8d03d626d4000e8323528e794e755) Thanks [@DemonHa](https://github.com/DemonHa)! - feat: collection and document settings and cookies page
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#7329](https://github.com/scalar/scalar/pull/7329) [`4cda566`](https://github.com/scalar/scalar/commit/4cda566c2dc2cf306e4e3597e292ae1c2dadd78c) Thanks [@DemonHa](https://github.com/DemonHa)! - fix: setting nested proxies directly cases problems
|
|
16
|
+
|
|
17
|
+
- [#7311](https://github.com/scalar/scalar/pull/7311) [`a35f5cf`](https://github.com/scalar/scalar/commit/a35f5cf3bce49b0ffda758e95bd31c77109e3c5b) Thanks [@marcalexiei](https://github.com/marcalexiei)! - fix(api-client): abort request on modal close
|
|
18
|
+
|
|
19
|
+
- [#7365](https://github.com/scalar/scalar/pull/7365) [`4059e68`](https://github.com/scalar/scalar/commit/4059e68375d31ec0142a8019b385bc3ac82055fc) Thanks [@amritk](https://github.com/amritk)! - feat: added hot keys to client v2
|
|
20
|
+
|
|
21
|
+
- [#7368](https://github.com/scalar/scalar/pull/7368) [`0486728`](https://github.com/scalar/scalar/commit/04867286af9156c4d8ffb688c2d200f1b5a7d752) Thanks [@marcalexiei](https://github.com/marcalexiei)! - fix(api-client): use timeouts instead of interval in `use-document-watcher`
|
|
22
|
+
|
|
23
|
+
- [#7304](https://github.com/scalar/scalar/pull/7304) [`cc9d90b`](https://github.com/scalar/scalar/commit/cc9d90b1a268a6c294adcb32f7ae8559c1dcc77e) Thanks [@marcalexiei](https://github.com/marcalexiei)! - fix(api-client): handle `onBeforeRequest` hook error
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`d86f1d6`](https://github.com/scalar/scalar/commit/d86f1d6911ecbca70b011a2a0efb6d6e0eca59bb), [`6e1cb89`](https://github.com/scalar/scalar/commit/6e1cb89f71770601a5059449d68b409ffc87d332), [`1fbd809`](https://github.com/scalar/scalar/commit/1fbd809197bfaef77d7d3cb8cf7b657f397232a7), [`44aeef0`](https://github.com/scalar/scalar/commit/44aeef01073801165e339163462378b7b62ff68d), [`dd5c518`](https://github.com/scalar/scalar/commit/dd5c518a422dddc7948c0253861101cf741b6af0), [`0519a33`](https://github.com/scalar/scalar/commit/0519a33c7d3f3cf65b93b37392c51d3c0586cbab), [`a68b1af`](https://github.com/scalar/scalar/commit/a68b1afc54b2aa95a224fee89c3266bffed57215), [`cbedfab`](https://github.com/scalar/scalar/commit/cbedfab576502069be27ceacbea145a917214e47), [`a68b1af`](https://github.com/scalar/scalar/commit/a68b1afc54b2aa95a224fee89c3266bffed57215), [`5a108fc`](https://github.com/scalar/scalar/commit/5a108fcbc52ae7957731c23689896ba353b83d3b), [`4cda566`](https://github.com/scalar/scalar/commit/4cda566c2dc2cf306e4e3597e292ae1c2dadd78c), [`1fbd809`](https://github.com/scalar/scalar/commit/1fbd809197bfaef77d7d3cb8cf7b657f397232a7), [`cded2d6`](https://github.com/scalar/scalar/commit/cded2d6c087418c3c44731d344d0827a87b78b74), [`cbedfab`](https://github.com/scalar/scalar/commit/cbedfab576502069be27ceacbea145a917214e47), [`3ebff92`](https://github.com/scalar/scalar/commit/3ebff92f29d8d03d626d4000e8323528e794e755), [`4059e68`](https://github.com/scalar/scalar/commit/4059e68375d31ec0142a8019b385bc3ac82055fc)]:
|
|
26
|
+
- @scalar/workspace-store@0.21.0
|
|
27
|
+
- @scalar/json-magic@0.8.2
|
|
28
|
+
- @scalar/helpers@0.1.2
|
|
29
|
+
- @scalar/sidebar@0.4.0
|
|
30
|
+
- @scalar/types@0.5.0
|
|
31
|
+
- @scalar/oas-utils@0.6.4
|
|
32
|
+
- @scalar/object-utils@1.2.12
|
|
33
|
+
- @scalar/components@0.16.4
|
|
34
|
+
- @scalar/themes@0.13.24
|
|
35
|
+
- @scalar/openapi-parser@0.23.3
|
|
36
|
+
- @scalar/import@0.4.35
|
|
37
|
+
- @scalar/postman-to-openapi@0.3.45
|
|
38
|
+
- @scalar/snippetz@0.5.3
|
|
39
|
+
- @scalar/analytics-client@1.0.0
|
|
40
|
+
- @scalar/draggable@0.3.0
|
|
41
|
+
- @scalar/icons@0.5.0
|
|
42
|
+
- @scalar/openapi-types@0.5.1
|
|
43
|
+
- @scalar/use-codemirror@0.12.48
|
|
44
|
+
- @scalar/use-hooks@0.3.0
|
|
45
|
+
- @scalar/use-toasts@0.9.0
|
|
46
|
+
|
|
47
|
+
## 2.11.0
|
|
48
|
+
|
|
49
|
+
### Minor Changes
|
|
50
|
+
|
|
51
|
+
- [#7279](https://github.com/scalar/scalar/pull/7279) [`7ccd035`](https://github.com/scalar/scalar/commit/7ccd0351de104f78ef9c6e16538753d302c50d47) Thanks [@DemonHa](https://github.com/DemonHa)! - feat(api-client): integrate new sidebar with v2 routing
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- [#7305](https://github.com/scalar/scalar/pull/7305) [`c7a4690`](https://github.com/scalar/scalar/commit/c7a4690cec484ee16cee8dcba7ef5cb0fbb98133) Thanks [@amritk](https://github.com/amritk)! - chore: minor auth changes, code re-org, type safety
|
|
56
|
+
|
|
57
|
+
- [#7265](https://github.com/scalar/scalar/pull/7265) [`7859105`](https://github.com/scalar/scalar/commit/7859105f857633c8f3c945d67a21f7225844ed12) Thanks [@hwkr](https://github.com/hwkr)! - fix(api-reference): teleport example picker to avoid occlusion
|
|
58
|
+
|
|
59
|
+
- Updated dependencies [[`c7a4690`](https://github.com/scalar/scalar/commit/c7a4690cec484ee16cee8dcba7ef5cb0fbb98133), [`9c9dbba`](https://github.com/scalar/scalar/commit/9c9dbbaa940667303f0ace59469fd78c2a741937), [`4bec1ba`](https://github.com/scalar/scalar/commit/4bec1ba332e919c4ee32dcfbfb07bd8ee42c4d74), [`7ccd035`](https://github.com/scalar/scalar/commit/7ccd0351de104f78ef9c6e16538753d302c50d47)]:
|
|
60
|
+
- @scalar/workspace-store@0.20.0
|
|
61
|
+
- @scalar/helpers@0.1.1
|
|
62
|
+
- @scalar/object-utils@1.2.11
|
|
63
|
+
- @scalar/components@0.16.3
|
|
64
|
+
- @scalar/sidebar@0.3.0
|
|
65
|
+
- @scalar/oas-utils@0.6.3
|
|
66
|
+
- @scalar/import@0.4.34
|
|
67
|
+
- @scalar/json-magic@0.8.1
|
|
68
|
+
- @scalar/postman-to-openapi@0.3.44
|
|
69
|
+
- @scalar/use-codemirror@0.12.47
|
|
70
|
+
- @scalar/openapi-parser@0.23.2
|
|
71
|
+
|
|
3
72
|
## 2.10.0
|
|
4
73
|
|
|
5
74
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":"AA0XA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAOrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAK1D,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;;;;;AAqeJ,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AddressBar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cb2a35da"]]);
|
|
5
5
|
export {
|
|
6
6
|
d as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent as E, useId as I, ref as i, watch as z, createElementBlock as L, openBlock as
|
|
2
|
-
import { ScalarButton as H
|
|
3
|
-
import { REQUEST_METHODS as
|
|
1
|
+
import { defineComponent as E, useId as I, ref as i, watch as z, createElementBlock as L, openBlock as w, unref as a, createElementVNode as t, createVNode as u, normalizeStyle as U, createBlock as $, createCommentVNode as A, withCtx as M, toDisplayString as h } from "vue";
|
|
2
|
+
import { ScalarButton as H } from "@scalar/components";
|
|
3
|
+
import { REQUEST_METHODS as N } from "@scalar/helpers/http/http-info";
|
|
4
|
+
import { ScalarIconPlay as T } from "@scalar/icons";
|
|
4
5
|
import D from "../CodeInput/CodeInput.vue.js";
|
|
5
6
|
import O from "../HttpMethod/HttpMethod.vue.js";
|
|
6
7
|
import P from "./AddressBarHistory.vue.js";
|
|
@@ -10,7 +11,7 @@ import { useLayout as W } from "../../hooks/useLayout.js";
|
|
|
10
11
|
const j = ["id"], F = { class: "address-bar-bg-states text-xxs group relative order-last flex w-full max-w-[calc(100dvw-24px)] flex-1 flex-row items-stretch rounded-lg p-0.75 lg:order-none lg:max-w-[580px] lg:min-w-[580px] xl:max-w-[720px] xl:min-w-[720px]" }, G = { class: "pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border" }, J = { class: "z-context-plus flex gap-1" }, X = { class: "scroll-timeline-x scroll-timeline-x-hidden z-context-plus relative flex w-full bg-blend-normal" }, Y = {
|
|
11
12
|
"aria-hidden": "true",
|
|
12
13
|
class: "inline-flex items-center gap-1"
|
|
13
|
-
}, Z = { class: "sr-only" },
|
|
14
|
+
}, Z = { class: "sr-only" }, ue = /* @__PURE__ */ E({
|
|
14
15
|
__name: "AddressBar",
|
|
15
16
|
props: {
|
|
16
17
|
collection: {},
|
|
@@ -22,13 +23,13 @@ const j = ["id"], F = { class: "address-bar-bg-states text-xxs group relative or
|
|
|
22
23
|
},
|
|
23
24
|
emits: ["importCurl"],
|
|
24
25
|
setup(n) {
|
|
25
|
-
const
|
|
26
|
-
n.operation.path !== e &&
|
|
26
|
+
const f = I(), { requestMutators: c, events: d } = Q(), { layout: p } = W(), m = i(null), g = i(null), x = (e) => {
|
|
27
|
+
n.operation.path !== e && c.edit(n.operation.uid, "path", e);
|
|
27
28
|
};
|
|
28
29
|
z(
|
|
29
30
|
() => n.operation.path,
|
|
30
31
|
(e) => {
|
|
31
|
-
e &&
|
|
32
|
+
e && x(e);
|
|
32
33
|
}
|
|
33
34
|
);
|
|
34
35
|
const o = i(100), b = i(0), l = i(!1), s = i();
|
|
@@ -44,29 +45,34 @@ const j = ["id"], F = { class: "address-bar-bg-states text-xxs group relative or
|
|
|
44
45
|
function C() {
|
|
45
46
|
clearInterval(s.value), s.value = void 0, o.value = 100, l.value = !1;
|
|
46
47
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
d.requestStatus.on((e) => {
|
|
49
|
+
if (e === "start")
|
|
50
|
+
return B();
|
|
51
|
+
if (e === "stop")
|
|
52
|
+
return y();
|
|
53
|
+
if (e === "abort")
|
|
54
|
+
return C();
|
|
55
|
+
}), d.focusAddressBar.on(() => {
|
|
50
56
|
p === "modal" ? g.value?.$el?.focus() : m.value?.focus();
|
|
51
57
|
});
|
|
52
58
|
function R(e) {
|
|
53
|
-
|
|
59
|
+
c.edit(n.operation.uid, "method", e);
|
|
54
60
|
}
|
|
55
61
|
function q() {
|
|
56
62
|
const { method: e } = n.operation;
|
|
57
|
-
return
|
|
63
|
+
return N[e].colorVar;
|
|
58
64
|
}
|
|
59
65
|
function v() {
|
|
60
|
-
l.value || (l.value = !0,
|
|
66
|
+
l.value || (l.value = !0, d.executeRequest.emit({ requestUid: n.operation.uid }));
|
|
61
67
|
}
|
|
62
|
-
|
|
68
|
+
d.hotKeys.on((e) => {
|
|
63
69
|
e?.focusAddressBar && m.value?.focus(), e?.executeRequest && v();
|
|
64
70
|
});
|
|
65
71
|
function S(e) {
|
|
66
|
-
|
|
72
|
+
c.edit(n.operation.uid, "path", e);
|
|
67
73
|
}
|
|
68
|
-
return (e, r) => (
|
|
69
|
-
id: a(
|
|
74
|
+
return (e, r) => (w(), L("div", {
|
|
75
|
+
id: a(f),
|
|
70
76
|
class: "scalar-address-bar order-last flex h-(--scalar-address-bar-height) w-full [--scalar-address-bar-height:32px] lg:order-none lg:w-auto"
|
|
71
77
|
}, [
|
|
72
78
|
t("div", F, [
|
|
@@ -80,7 +86,7 @@ const j = ["id"], F = { class: "address-bar-bg-states text-xxs group relative or
|
|
|
80
86
|
}, null, 4)
|
|
81
87
|
]),
|
|
82
88
|
t("div", J, [
|
|
83
|
-
|
|
89
|
+
u(O, {
|
|
84
90
|
isEditable: a(p) !== "modal",
|
|
85
91
|
isSquare: "",
|
|
86
92
|
method: e.operation.method,
|
|
@@ -89,16 +95,16 @@ const j = ["id"], F = { class: "address-bar-bg-states text-xxs group relative or
|
|
|
89
95
|
}, null, 8, ["isEditable", "method"])
|
|
90
96
|
]),
|
|
91
97
|
t("div", X, [
|
|
92
|
-
e.collection.servers.length ? (
|
|
98
|
+
e.collection.servers.length ? (w(), $(a(K), {
|
|
93
99
|
key: 0,
|
|
94
100
|
collection: e.collection,
|
|
95
101
|
layout: "client",
|
|
96
102
|
operation: e.operation,
|
|
97
103
|
server: e.server,
|
|
98
|
-
target: a(
|
|
104
|
+
target: a(f)
|
|
99
105
|
}, null, 8, ["collection", "operation", "server", "target"])) : A("", !0),
|
|
100
106
|
r[1] || (r[1] = t("div", { class: "fade-left" }, null, -1)),
|
|
101
|
-
|
|
107
|
+
u(D, {
|
|
102
108
|
ref_key: "addressBarRef",
|
|
103
109
|
ref: m,
|
|
104
110
|
"aria-label": "Path",
|
|
@@ -121,11 +127,11 @@ const j = ["id"], F = { class: "address-bar-bg-states text-xxs group relative or
|
|
|
121
127
|
}, null, 8, ["disabled", "envVariables", "environment", "modelValue", "placeholder", "workspace"]),
|
|
122
128
|
r[2] || (r[2] = t("div", { class: "fade-right" }, null, -1))
|
|
123
129
|
]),
|
|
124
|
-
|
|
130
|
+
u(P, {
|
|
125
131
|
operation: e.operation,
|
|
126
|
-
target: a(
|
|
132
|
+
target: a(f)
|
|
127
133
|
}, null, 8, ["operation", "target"]),
|
|
128
|
-
|
|
134
|
+
u(a(H), {
|
|
129
135
|
ref_key: "sendButtonRef",
|
|
130
136
|
ref: g,
|
|
131
137
|
class: "z-context-plus relative h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold",
|
|
@@ -134,10 +140,10 @@ const j = ["id"], F = { class: "address-bar-bg-states text-xxs group relative or
|
|
|
134
140
|
}, {
|
|
135
141
|
default: M(() => [
|
|
136
142
|
t("span", Y, [
|
|
137
|
-
|
|
138
|
-
class: "relative shrink-0
|
|
139
|
-
|
|
140
|
-
|
|
143
|
+
u(a(T), {
|
|
144
|
+
class: "relative shrink-0",
|
|
145
|
+
size: "xs",
|
|
146
|
+
weight: "fill"
|
|
141
147
|
}),
|
|
142
148
|
r[3] || (r[3] = t("span", { class: "text-xxs hidden lg:flex" }, "Send", -1))
|
|
143
149
|
]),
|
|
@@ -150,5 +156,5 @@ const j = ["id"], F = { class: "address-bar-bg-states text-xxs group relative or
|
|
|
150
156
|
}
|
|
151
157
|
});
|
|
152
158
|
export {
|
|
153
|
-
|
|
159
|
+
ue as default
|
|
154
160
|
};
|
|
@@ -117,7 +117,7 @@ export declare const PaletteComponents: {
|
|
|
117
117
|
lang?: string | undefined;
|
|
118
118
|
label?: string | undefined;
|
|
119
119
|
}[] | undefined;
|
|
120
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
120
|
+
'x-scalar-stability'?: import("@scalar/types/legacy").XScalarStability | undefined;
|
|
121
121
|
type?: "request" | undefined;
|
|
122
122
|
uid?: string | undefined;
|
|
123
123
|
path?: string | undefined;
|
|
@@ -185,7 +185,7 @@ export declare const PaletteComponents: {
|
|
|
185
185
|
lang?: string | undefined;
|
|
186
186
|
label?: string | undefined;
|
|
187
187
|
}[] | undefined;
|
|
188
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
188
|
+
'x-scalar-stability'?: import("@scalar/types/legacy").XScalarStability | undefined;
|
|
189
189
|
type?: "request" | undefined;
|
|
190
190
|
uid?: string | undefined;
|
|
191
191
|
path?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntegrationLogo.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/IntegrationLogo.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IntegrationLogo.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/IntegrationLogo.vue"],"names":[],"mappings":"AA+DA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAAC;;AA0FF,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerVariablesForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesForm.vue"],"names":[],"mappings":"AA8EA,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACrB,MAAM,2BAA2B,CAAA;AAElC,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;IACvC,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;CAChC,CAAC;;;;;;
|
|
1
|
+
{"version":3,"file":"ServerVariablesForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerVariablesForm.vue"],"names":[],"mappings":"AA8EA,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACrB,MAAM,2BAA2B,CAAA;AAElC,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;IACvC,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;CAChC,CAAC;;;;;;AA8HF,wBAOG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, useId as v, createElementBlock as c, createCommentVNode as p, openBlock as t, Fragment as g, renderList as
|
|
1
|
+
import { defineComponent as m, useId as v, createElementBlock as c, createCommentVNode as p, openBlock as t, Fragment as g, renderList as h, normalizeClass as y, createElementVNode as k, createBlock as b, unref as a, toDisplayString as $ } from "vue";
|
|
2
2
|
import C from "./ServerVariablesSelect.vue.js";
|
|
3
3
|
import V from "./ServerVariablesTextbox.vue.js";
|
|
4
4
|
const B = ["for"], F = /* @__PURE__ */ m({
|
|
@@ -16,16 +16,16 @@ const B = ["for"], F = /* @__PURE__ */ m({
|
|
|
16
16
|
f("update:variable", e, u);
|
|
17
17
|
}
|
|
18
18
|
const i = (e) => (n.values?.[e] ?? n.variables?.[e]?.default ?? "").toString();
|
|
19
|
-
return (e, u) => e.variables && Object.keys(e.variables ?? {}).length ? (t(!0), c(g, { key: 0 },
|
|
19
|
+
return (e, u) => e.variables && Object.keys(e.variables ?? {}).length ? (t(!0), c(g, { key: 0 }, h(Object.keys(e.variables), (r) => (t(), c("div", {
|
|
20
20
|
key: r,
|
|
21
|
-
class:
|
|
22
|
-
"group/label flex w-full",
|
|
21
|
+
class: y([
|
|
22
|
+
"group/label flex h-8 w-full",
|
|
23
23
|
e.layout === "reference" && "items-center border-x border-b last:rounded-b-lg"
|
|
24
24
|
])
|
|
25
25
|
}, [
|
|
26
26
|
k("label", {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
class: "flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']",
|
|
28
|
+
for: `${a(o)}-${r}`
|
|
29
29
|
}, $(r), 9, B),
|
|
30
30
|
e.variables?.[r]?.enum?.length ? (t(), b(C, {
|
|
31
31
|
key: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarListElementForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/SidebarListElementForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarListElementForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/SidebarListElementForm.vue"],"names":[],"mappings":"AAkDA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAuGF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAsB/C,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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SidebarListElementForm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-98703c3c"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as u, createElementBlock as
|
|
2
|
-
import { ScalarButton as
|
|
1
|
+
import { defineComponent as u, createElementBlock as d, openBlock as p, withModifiers as f, renderSlot as c, createElementVNode as b, createVNode as n, unref as a, withCtx as s, createTextVNode as r, toDisplayString as v } from "vue";
|
|
2
|
+
import { ScalarButton as i } from "@scalar/components";
|
|
3
3
|
const g = { class: "flex justify-between gap-10" }, y = /* @__PURE__ */ u({
|
|
4
4
|
__name: "SidebarListElementForm",
|
|
5
5
|
props: {
|
|
@@ -7,32 +7,33 @@ const g = { class: "flex justify-between gap-10" }, y = /* @__PURE__ */ u({
|
|
|
7
7
|
label: {}
|
|
8
8
|
},
|
|
9
9
|
emits: ["cancel", "submit"],
|
|
10
|
-
setup(x, { emit:
|
|
11
|
-
const o =
|
|
12
|
-
return (t, e) => (
|
|
10
|
+
setup(x, { emit: l }) {
|
|
11
|
+
const o = l;
|
|
12
|
+
return (t, e) => (p(), d("form", {
|
|
13
13
|
class: "flex flex-col gap-4 text-base",
|
|
14
|
-
onSubmit: e[1] || (e[1] = f((
|
|
14
|
+
onSubmit: e[1] || (e[1] = f((m) => o("submit"), ["prevent"]))
|
|
15
15
|
}, [
|
|
16
16
|
c(t.$slots, "default", {}, void 0, !0),
|
|
17
17
|
b("div", g, [
|
|
18
|
-
n(a(
|
|
18
|
+
n(a(i), {
|
|
19
19
|
class: "flex h-8 cursor-pointer items-center gap-1.5 px-2.5 shadow-none focus:outline-none",
|
|
20
20
|
type: "button",
|
|
21
21
|
variant: "outlined",
|
|
22
|
-
onClick: e[0] || (e[0] = (
|
|
22
|
+
onClick: e[0] || (e[0] = (m) => o("cancel"))
|
|
23
23
|
}, {
|
|
24
|
-
default:
|
|
25
|
-
|
|
24
|
+
default: s(() => [...e[2] || (e[2] = [
|
|
25
|
+
r(" Cancel ", -1)
|
|
26
26
|
])]),
|
|
27
27
|
_: 1
|
|
28
28
|
}),
|
|
29
|
-
n(a(
|
|
29
|
+
n(a(i), {
|
|
30
30
|
class: "custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",
|
|
31
|
+
"data-testid": "sidebar-list-element-form-submit-button",
|
|
31
32
|
type: "submit",
|
|
32
33
|
variant: t.danger ? "danger" : "solid"
|
|
33
34
|
}, {
|
|
34
|
-
default:
|
|
35
|
-
|
|
35
|
+
default: s(() => [
|
|
36
|
+
r(v(t.label ?? "Save"), 1)
|
|
36
37
|
]),
|
|
37
38
|
_: 1
|
|
38
39
|
}, 8, ["variant"])
|
|
@@ -5,6 +5,7 @@ export declare const CLIENT_CONFIGURATION_SYMBOL: InjectionKey<Ref<ApiClientConf
|
|
|
5
5
|
export declare const useClientConfig: () => Ref<{
|
|
6
6
|
hideClientButton: boolean;
|
|
7
7
|
showSidebar: boolean;
|
|
8
|
+
showDeveloperTools: "never" | "always" | "localhost";
|
|
8
9
|
showToolbar: "never" | "always" | "localhost";
|
|
9
10
|
operationTitleSource: "summary" | "path";
|
|
10
11
|
theme: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none";
|
|
@@ -15,7 +16,7 @@ export declare const useClientConfig: () => Ref<{
|
|
|
15
16
|
proxyUrl?: string | undefined;
|
|
16
17
|
searchHotKey?: "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
17
18
|
servers?: any[] | undefined;
|
|
18
|
-
_integration?: "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "go" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
19
|
+
_integration?: "elysiajs" | "fastify" | "adonisjs" | "astro" | "docusaurus" | "dotnet" | "express" | "fastapi" | "go" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
19
20
|
onRequestSent?: import("zod/v4/core").$InferOuterFunctionType<import("zod").ZodTuple<readonly [import("zod").ZodString], null>, import("zod").ZodVoid> | undefined;
|
|
20
21
|
plugins?: import("zod/v4/core").$InferOuterFunctionType<import("zod").ZodTuple<readonly [], null>, import("zod").ZodObject<{
|
|
21
22
|
name: import("zod").ZodString;
|
|
@@ -53,6 +54,7 @@ export declare const useClientConfig: () => Ref<{
|
|
|
53
54
|
}, {
|
|
54
55
|
hideClientButton: boolean;
|
|
55
56
|
showSidebar: boolean;
|
|
57
|
+
showDeveloperTools: "never" | "always" | "localhost";
|
|
56
58
|
showToolbar: "never" | "always" | "localhost";
|
|
57
59
|
operationTitleSource: "summary" | "path";
|
|
58
60
|
theme: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none";
|
|
@@ -63,7 +65,7 @@ export declare const useClientConfig: () => Ref<{
|
|
|
63
65
|
proxyUrl?: string | undefined;
|
|
64
66
|
searchHotKey?: "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
65
67
|
servers?: any[] | undefined;
|
|
66
|
-
_integration?: "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "go" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
68
|
+
_integration?: "elysiajs" | "fastify" | "adonisjs" | "astro" | "docusaurus" | "dotnet" | "express" | "fastapi" | "go" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
67
69
|
onRequestSent?: import("zod/v4/core").$InferOuterFunctionType<import("zod").ZodTuple<readonly [import("zod").ZodString], null>, import("zod").ZodVoid> | undefined;
|
|
68
70
|
plugins?: import("zod/v4/core").$InferOuterFunctionType<import("zod").ZodTuple<readonly [], null>, import("zod").ZodObject<{
|
|
69
71
|
name: import("zod").ZodString;
|
|
@@ -101,6 +103,7 @@ export declare const useClientConfig: () => Ref<{
|
|
|
101
103
|
} | {
|
|
102
104
|
hideClientButton: boolean;
|
|
103
105
|
showSidebar: boolean;
|
|
106
|
+
showDeveloperTools: "never" | "always" | "localhost";
|
|
104
107
|
showToolbar: "never" | "always" | "localhost";
|
|
105
108
|
operationTitleSource: "summary" | "path";
|
|
106
109
|
theme: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none";
|
|
@@ -111,7 +114,7 @@ export declare const useClientConfig: () => Ref<{
|
|
|
111
114
|
proxyUrl?: string | undefined;
|
|
112
115
|
searchHotKey?: "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
113
116
|
servers?: any[] | undefined;
|
|
114
|
-
_integration?: "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "go" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
117
|
+
_integration?: "elysiajs" | "fastify" | "adonisjs" | "astro" | "docusaurus" | "dotnet" | "express" | "fastapi" | "go" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
115
118
|
onRequestSent?: import("zod/v4/core").$InferOuterFunctionType<import("zod").ZodTuple<readonly [import("zod").ZodString], null>, import("zod").ZodVoid> | undefined;
|
|
116
119
|
plugins?: import("zod/v4/core").$InferOuterFunctionType<import("zod").ZodTuple<readonly [], null>, import("zod").ZodObject<{
|
|
117
120
|
name: import("zod").ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useClientConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useClientConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAgC,MAAM,6BAA6B,CAAA;AACvG,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,GAAG,EAAe,MAAM,KAAK,CAAA;AAE9D,eAAO,MAAM,2BAA2B,EAAe,YAAY,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAA;AAEhG,0DAA0D;AAC1D,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"useClientConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useClientConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAgC,MAAM,6BAA6B,CAAA;AACvG,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,GAAG,EAAe,MAAM,KAAK,CAAA;AAE9D,eAAO,MAAM,2BAA2B,EAAe,YAAY,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAA;AAEhG,0DAA0D;AAC1D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyF,CAAA"}
|
|
@@ -302,7 +302,7 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
302
302
|
lang?: string | undefined;
|
|
303
303
|
label?: string | undefined;
|
|
304
304
|
}[] | undefined;
|
|
305
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
305
|
+
'x-scalar-stability'?: import("@scalar/types/legacy").XScalarStability | undefined;
|
|
306
306
|
'x-post-response'?: string | undefined;
|
|
307
307
|
}>;
|
|
308
308
|
servers: Record<string, {
|
|
@@ -429,7 +429,7 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
429
429
|
proxyUrl: string | undefined;
|
|
430
430
|
hideClientButton: boolean;
|
|
431
431
|
showSidebar: boolean;
|
|
432
|
-
integration: "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "go" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
432
|
+
integration: "elysiajs" | "fastify" | "adonisjs" | "astro" | "docusaurus" | "dotnet" | "express" | "fastapi" | "go" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
433
433
|
importSpecFile: (_spec: string | Record<string, any> | undefined, workspaceUid: string, options?: Pick<{
|
|
434
434
|
info: {
|
|
435
435
|
title: string;
|
|
@@ -490,11 +490,11 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
490
490
|
integration?: string | null | undefined;
|
|
491
491
|
useCollectionSecurity?: boolean | undefined;
|
|
492
492
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
493
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "authentication" | "baseServerURL" | "servers" | "slug"> & {
|
|
493
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "authentication" | "baseServerURL" | "servers" | "slug"> & {
|
|
494
494
|
dereferencedDocument?: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
495
495
|
useCollectionSecurity?: boolean;
|
|
496
496
|
shouldLoad?: boolean;
|
|
497
|
-
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers"> & {
|
|
497
|
+
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers"> & {
|
|
498
498
|
dereferencedDocument?: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
499
499
|
}) => Promise<{
|
|
500
500
|
error: false;
|
|
@@ -566,13 +566,13 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
566
566
|
integration?: string | null | undefined;
|
|
567
567
|
useCollectionSecurity?: boolean | undefined;
|
|
568
568
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
569
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "authentication" | "baseServerURL" | "servers" | "slug"> & {
|
|
569
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "authentication" | "baseServerURL" | "servers" | "slug"> & {
|
|
570
570
|
dereferencedDocument?: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
571
571
|
useCollectionSecurity?: boolean;
|
|
572
572
|
shouldLoad?: boolean;
|
|
573
|
-
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers"> & {
|
|
573
|
+
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers"> & {
|
|
574
574
|
dereferencedDocument?: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
575
|
-
}, "documentUrl"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs/index.js").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any> | undefined, workspaceUid: string, options?: Pick<{
|
|
575
|
+
}, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs/index.js").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any> | undefined, workspaceUid: string, options?: Pick<{
|
|
576
576
|
info: {
|
|
577
577
|
title: string;
|
|
578
578
|
version: string;
|
|
@@ -632,11 +632,11 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
632
632
|
integration?: string | null | undefined;
|
|
633
633
|
useCollectionSecurity?: boolean | undefined;
|
|
634
634
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
635
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "authentication" | "baseServerURL" | "servers" | "slug"> & {
|
|
635
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "authentication" | "baseServerURL" | "servers" | "slug"> & {
|
|
636
636
|
dereferencedDocument?: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
637
637
|
useCollectionSecurity?: boolean;
|
|
638
638
|
shouldLoad?: boolean;
|
|
639
|
-
} & Pick<import("@scalar/types").ApiReferenceConfiguration, "servers"> & {
|
|
639
|
+
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers"> & {
|
|
640
640
|
dereferencedDocument?: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
641
641
|
}) => Promise<{
|
|
642
642
|
error: false;
|
|
@@ -1374,7 +1374,7 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
1374
1374
|
lang?: string | undefined;
|
|
1375
1375
|
label?: string | undefined;
|
|
1376
1376
|
}[] | undefined;
|
|
1377
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1377
|
+
'x-scalar-stability'?: import("@scalar/types/legacy").XScalarStability | undefined;
|
|
1378
1378
|
'x-post-response'?: string | undefined;
|
|
1379
1379
|
}) => void;
|
|
1380
1380
|
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
@@ -1433,7 +1433,7 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
1433
1433
|
lang?: string | undefined;
|
|
1434
1434
|
label?: string | undefined;
|
|
1435
1435
|
}[] | undefined;
|
|
1436
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1436
|
+
'x-scalar-stability'?: import("@scalar/types/legacy").XScalarStability | undefined;
|
|
1437
1437
|
'x-post-response'?: string | undefined;
|
|
1438
1438
|
};
|
|
1439
1439
|
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
@@ -1493,7 +1493,7 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
1493
1493
|
lang?: string | undefined;
|
|
1494
1494
|
label?: string | undefined;
|
|
1495
1495
|
}[] | undefined;
|
|
1496
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1496
|
+
'x-scalar-stability'?: import("@scalar/types/legacy").XScalarStability | undefined;
|
|
1497
1497
|
'x-post-response'?: string | undefined;
|
|
1498
1498
|
}) => void;
|
|
1499
1499
|
edit: <P extends "servers" | "summary" | "path" | "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "security" | "tags" | "deprecated" | "operationId" | "requestBody" | "parameters" | "responses" | "callbacks" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "type" | "uid" | "method" | "selectedServerUid" | "examples" | "selectedSecuritySchemeUids" | "x-post-response" | `servers.${number}` | "externalDocs.url" | "externalDocs.description" | `security.${number}` | `security.${number}.${string}` | `tags.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `requestBody.${string}` | `examples.${number}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.content` | `parameters.${number}.in` | `parameters.${number}.deprecated` | `parameters.${number}.examples` | `parameters.${number}.name` | `parameters.${number}.required` | `parameters.${number}.schema` | `parameters.${number}.style` | `parameters.${number}.explode` | `parameters.${number}.example` | `parameters.${number}.examples.${string}` | `parameters.${number}.examples.${number}` | `responses.${string}` | `callbacks.${string}` | `x-codeSamples.${number}` | `x-codeSamples.${number}.lang` | `x-codeSamples.${number}.source` | `x-codeSamples.${number}.label` | `x-code-samples.${number}` | `x-code-samples.${number}.lang` | `x-code-samples.${number}.source` | `x-code-samples.${number}.label` | `x-custom-examples.${number}` | `x-custom-examples.${number}.lang` | `x-custom-examples.${number}.source` | `x-custom-examples.${number}.label`>(uid: (string & import("zod").$brand<"operation">) | null | undefined, path: P, value: P extends "servers" | "summary" | "path" | "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "security" | "tags" | "deprecated" | "operationId" | "requestBody" | "parameters" | "responses" | "callbacks" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "type" | "uid" | "method" | "selectedServerUid" | "examples" | "selectedSecuritySchemeUids" | "x-post-response" ? {
|
|
@@ -1552,7 +1552,7 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
1552
1552
|
lang?: string | undefined;
|
|
1553
1553
|
label?: string | undefined;
|
|
1554
1554
|
}[] | undefined;
|
|
1555
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1555
|
+
'x-scalar-stability'?: import("@scalar/types/legacy").XScalarStability | undefined;
|
|
1556
1556
|
'x-post-response'?: string | undefined;
|
|
1557
1557
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "summary" | "path" | "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "security" | "tags" | "deprecated" | "operationId" | "requestBody" | "parameters" | "responses" | "callbacks" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "type" | "uid" | "method" | "selectedServerUid" | "examples" | "selectedSecuritySchemeUids" | "x-post-response" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1558
1558
|
type: "request";
|
|
@@ -1610,7 +1610,7 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
1610
1610
|
lang?: string | undefined;
|
|
1611
1611
|
label?: string | undefined;
|
|
1612
1612
|
}[] | undefined;
|
|
1613
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1613
|
+
'x-scalar-stability'?: import("@scalar/types/legacy").XScalarStability | undefined;
|
|
1614
1614
|
'x-post-response'?: string | undefined;
|
|
1615
1615
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1616
1616
|
type: "request";
|
|
@@ -1668,7 +1668,7 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
1668
1668
|
lang?: string | undefined;
|
|
1669
1669
|
label?: string | undefined;
|
|
1670
1670
|
}[] | undefined;
|
|
1671
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1671
|
+
'x-scalar-stability'?: import("@scalar/types/legacy").XScalarStability | undefined;
|
|
1672
1672
|
'x-post-response'?: string | undefined;
|
|
1673
1673
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1674
1674
|
untrackedEdit: <P extends "servers" | "summary" | "path" | "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "security" | "tags" | "deprecated" | "operationId" | "requestBody" | "parameters" | "responses" | "callbacks" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "type" | "uid" | "method" | "selectedServerUid" | "examples" | "selectedSecuritySchemeUids" | "x-post-response" | `servers.${number}` | "externalDocs.url" | "externalDocs.description" | `security.${number}` | `security.${number}.${string}` | `tags.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `requestBody.${string}` | `examples.${number}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.content` | `parameters.${number}.in` | `parameters.${number}.deprecated` | `parameters.${number}.examples` | `parameters.${number}.name` | `parameters.${number}.required` | `parameters.${number}.schema` | `parameters.${number}.style` | `parameters.${number}.explode` | `parameters.${number}.example` | `parameters.${number}.examples.${string}` | `parameters.${number}.examples.${number}` | `responses.${string}` | `callbacks.${string}` | `x-codeSamples.${number}` | `x-codeSamples.${number}.lang` | `x-codeSamples.${number}.source` | `x-codeSamples.${number}.label` | `x-code-samples.${number}` | `x-code-samples.${number}.lang` | `x-code-samples.${number}.source` | `x-code-samples.${number}.label` | `x-custom-examples.${number}` | `x-custom-examples.${number}.lang` | `x-custom-examples.${number}.source` | `x-custom-examples.${number}.label`>(uid: string & import("zod").$brand<"operation">, path: P, value: P extends "servers" | "summary" | "path" | "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "security" | "tags" | "deprecated" | "operationId" | "requestBody" | "parameters" | "responses" | "callbacks" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "type" | "uid" | "method" | "selectedServerUid" | "examples" | "selectedSecuritySchemeUids" | "x-post-response" ? {
|
|
@@ -1727,7 +1727,7 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
1727
1727
|
lang?: string | undefined;
|
|
1728
1728
|
label?: string | undefined;
|
|
1729
1729
|
}[] | undefined;
|
|
1730
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1730
|
+
'x-scalar-stability'?: import("@scalar/types/legacy").XScalarStability | undefined;
|
|
1731
1731
|
'x-post-response'?: string | undefined;
|
|
1732
1732
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "summary" | "path" | "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "security" | "tags" | "deprecated" | "operationId" | "requestBody" | "parameters" | "responses" | "callbacks" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "type" | "uid" | "method" | "selectedServerUid" | "examples" | "selectedSecuritySchemeUids" | "x-post-response" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1733
1733
|
type: "request";
|
|
@@ -1785,7 +1785,7 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
1785
1785
|
lang?: string | undefined;
|
|
1786
1786
|
label?: string | undefined;
|
|
1787
1787
|
}[] | undefined;
|
|
1788
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1788
|
+
'x-scalar-stability'?: import("@scalar/types/legacy").XScalarStability | undefined;
|
|
1789
1789
|
'x-post-response'?: string | undefined;
|
|
1790
1790
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1791
1791
|
type: "request";
|
|
@@ -1843,7 +1843,7 @@ mountOnInitialize?: boolean) => Promise<{
|
|
|
1843
1843
|
lang?: string | undefined;
|
|
1844
1844
|
label?: string | undefined;
|
|
1845
1845
|
}[] | undefined;
|
|
1846
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1846
|
+
'x-scalar-stability'?: import("@scalar/types/legacy").XScalarStability | undefined;
|
|
1847
1847
|
'x-post-response'?: string | undefined;
|
|
1848
1848
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1849
1849
|
undo: (uid: string & import("zod").$brand<"operation">) => void;
|