@scalar/api-client 2.9.0 → 2.10.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 +37 -0
- package/README.md +2 -2
- package/dist/components/CommandPalette/CommandActionForm.vue.js +9 -9
- package/dist/libs/send-request/build-request-security.d.ts.map +1 -1
- package/dist/libs/send-request/build-request-security.js +1 -1
- package/dist/libs/send-request/create-fetch-query-params.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +89 -0
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js +129 -0
- package/dist/v2/blocks/operation-block/OperationBlock.vue2.js +4 -0
- package/dist/v2/{features/operation → blocks/operation-block}/components/Header.vue.d.ts +8 -27
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/components/Header.vue.js +7 -0
- package/dist/v2/blocks/operation-block/components/Header.vue2.js +93 -0
- package/dist/v2/blocks/operation-block/index.d.ts +2 -0
- package/dist/v2/blocks/operation-block/index.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/index.js +4 -0
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +8 -24
- 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 +60 -59
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +7 -28
- 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 +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +97 -87
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +7 -17
- 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 +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue2.js +46 -41
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +4 -5
- 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 +47 -45
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts +5 -5
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +7 -7
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +6 -9
- 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 +255 -206
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts +30 -25
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +2 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +140 -97
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +31 -29
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.js +2 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue2.js +32 -29
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +56 -51
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +2 -4
- 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 +39 -38
- package/dist/v2/components/code-input/CodeInput.vue.d.ts +140 -0
- package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -0
- package/dist/v2/components/code-input/CodeInput.vue.js +8 -0
- package/dist/v2/components/code-input/CodeInput.vue2.js +202 -0
- package/dist/v2/components/code-input/code-variable-widget.d.ts +21 -0
- package/dist/v2/components/code-input/code-variable-widget.d.ts.map +1 -0
- package/dist/v2/components/code-input/code-variable-widget.js +106 -0
- package/dist/v2/components/code-input/index.d.ts +2 -0
- package/dist/v2/components/code-input/index.d.ts.map +1 -0
- package/dist/v2/components/code-input/index.js +4 -0
- package/dist/v2/components/data-table/DataTable.vue.d.ts +22 -0
- package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTable.vue.js +38 -0
- package/dist/v2/components/data-table/DataTable.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableCell.vue.d.ts +19 -0
- package/dist/v2/components/data-table/DataTableCell.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableCell.vue.js +26 -0
- package/dist/v2/components/data-table/DataTableCell.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts +14 -0
- package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableCheckbox.vue.js +53 -0
- package/dist/v2/components/data-table/DataTableCheckbox.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableHeader.vue.d.ts +13 -0
- package/dist/v2/components/data-table/DataTableHeader.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableHeader.vue.js +18 -0
- package/dist/v2/components/data-table/DataTableHeader.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts +53 -0
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableInput.vue.js +7 -0
- package/dist/v2/components/data-table/DataTableInput.vue2.js +117 -0
- package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +16 -0
- package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableInputSelect.vue.js +146 -0
- package/dist/v2/components/data-table/DataTableInputSelect.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableRow.vue.d.ts +13 -0
- package/dist/v2/components/data-table/DataTableRow.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableRow.vue.js +12 -0
- package/dist/v2/components/data-table/DataTableText.vue.d.ts +16 -0
- package/dist/v2/components/data-table/DataTableText.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableText.vue.js +23 -0
- package/dist/v2/components/data-table/DataTableText.vue2.js +4 -0
- package/dist/v2/components/data-table/index.d.ts +9 -0
- package/dist/v2/components/data-table/index.d.ts.map +1 -0
- package/dist/v2/components/data-table/index.js +18 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +43 -42
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +72 -44
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +2 -2
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +3 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.js +8 -7
- package/dist/v2/features/app/components/DesktopTabs.vue2.js +6 -0
- package/dist/v2/features/app/helpers/routes.d.ts +17 -10
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/routes.js +1 -7
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/DocumentCollection.vue2.js +61 -45
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue2.js +19 -14
- package/dist/v2/features/collection/components/Authentication.vue.d.ts +4 -25
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Authentication.vue.js +1 -1
- package/dist/v2/features/collection/components/Authentication.vue2.js +27 -28
- package/dist/v2/features/collection/components/Environment.vue.d.ts +13 -87
- package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Environment.vue2.js +23 -25
- package/dist/v2/features/collection/components/Overview.vue.d.ts +13 -12
- package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Overview.vue.js +5 -2
- package/dist/v2/features/collection/components/Overview.vue2.js +68 -67
- package/dist/v2/features/collection/components/Tabs.vue.js +8 -8
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +6 -95
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/EnvironmentsList.vue.js +50 -98
- package/dist/v2/features/environments/components/Environment.vue.d.ts +9 -63
- package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/Environment.vue.js +41 -92
- package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentColors.vue.js +105 -81
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +7 -14
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +61 -39
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +1 -1
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +3 -3
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts +21 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js +109 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +7 -20
- 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/environments/components/EnvironmentVariablesTable.vue2.js +85 -71
- package/dist/v2/features/environments/index.d.ts +0 -3
- package/dist/v2/features/environments/index.d.ts.map +1 -1
- package/dist/v2/features/environments/index.js +2 -4
- package/dist/v2/features/operation/Operation.vue.d.ts +10 -77
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js +56 -114
- package/dist/v2/helpers/test-utils.d.ts +4 -0
- package/dist/v2/helpers/test-utils.d.ts.map +1 -0
- package/dist/v2/hooks/use-workspace-client-events.d.ts +2 -1
- package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -1
- package/dist/v2/hooks/use-workspace-client-events.js +137 -10
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +8 -6
- package/package.json +16 -16
- package/dist/components/CodeInput/CodeInput.test.d.ts +0 -2
- package/dist/components/CodeInput/CodeInput.test.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/get-openapi-version.test.d.ts +0 -2
- package/dist/components/ImportCollection/utils/get-openapi-version.test.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/is-document.test.d.ts +0 -2
- package/dist/components/ImportCollection/utils/is-document.test.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/is-url.test.d.ts +0 -2
- package/dist/components/ImportCollection/utils/is-url.test.d.ts.map +0 -1
- package/dist/components/Search/useSearch.test.d.ts +0 -2
- package/dist/components/Search/useSearch.test.d.ts.map +0 -1
- package/dist/components/Server/ServerDropdown.test.d.ts +0 -2
- package/dist/components/Server/ServerDropdown.test.d.ts.map +0 -1
- package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts +0 -2
- package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts.map +0 -1
- package/dist/hooks/useResponseBody.test.d.ts +0 -2
- package/dist/hooks/useResponseBody.test.d.ts.map +0 -1
- package/dist/hooks/useSidebar.test.d.ts +0 -2
- package/dist/hooks/useSidebar.test.d.ts.map +0 -1
- package/dist/layouts/App/create-api-client-app.test.d.ts +0 -2
- package/dist/layouts/App/create-api-client-app.test.d.ts.map +0 -1
- package/dist/layouts/Modal/create-api-client-modal.test.d.ts +0 -2
- package/dist/layouts/Modal/create-api-client-modal.test.d.ts.map +0 -1
- package/dist/layouts/Web/create-api-client-web.test.d.ts +0 -2
- package/dist/layouts/Web/create-api-client-web.test.d.ts.map +0 -1
- package/dist/libs/create-client.test.d.ts +0 -2
- package/dist/libs/create-client.test.d.ts.map +0 -1
- package/dist/libs/env-helpers.test.d.ts +0 -2
- package/dist/libs/env-helpers.test.d.ts.map +0 -1
- package/dist/libs/event-bus.test.d.ts +0 -2
- package/dist/libs/event-bus.test.d.ts.map +0 -1
- package/dist/libs/extractAttachmentFilename.test.d.ts +0 -2
- package/dist/libs/extractAttachmentFilename.test.d.ts.map +0 -1
- package/dist/libs/find-request.test.d.ts +0 -2
- package/dist/libs/find-request.test.d.ts.map +0 -1
- package/dist/libs/get-request-uid-by-path-method.test.d.ts +0 -2
- package/dist/libs/get-request-uid-by-path-method.test.d.ts.map +0 -1
- package/dist/libs/hot-keys.test.d.ts +0 -2
- package/dist/libs/hot-keys.test.d.ts.map +0 -1
- package/dist/libs/importers/curl.test.d.ts +0 -2
- package/dist/libs/importers/curl.test.d.ts.map +0 -1
- package/dist/libs/normalize-headers.test.d.ts +0 -2
- package/dist/libs/normalize-headers.test.d.ts.map +0 -1
- package/dist/libs/parse-curl.test.d.ts +0 -2
- package/dist/libs/parse-curl.test.d.ts.map +0 -1
- package/dist/libs/send-request/build-request-security.test.d.ts +0 -2
- package/dist/libs/send-request/build-request-security.test.d.ts.map +0 -1
- package/dist/libs/send-request/create-fetch-auth.test.d.ts +0 -2
- package/dist/libs/send-request/create-fetch-auth.test.d.ts.map +0 -1
- package/dist/libs/send-request/create-fetch-body.test.d.ts +0 -2
- package/dist/libs/send-request/create-fetch-body.test.d.ts.map +0 -1
- package/dist/libs/send-request/create-fetch-headers.test.d.ts +0 -2
- package/dist/libs/send-request/create-fetch-headers.test.d.ts.map +0 -1
- package/dist/libs/send-request/create-fetch-query-params.test.d.ts +0 -2
- package/dist/libs/send-request/create-fetch-query-params.test.d.ts.map +0 -1
- package/dist/libs/send-request/create-request-operation.test.d.ts +0 -191
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +0 -1
- package/dist/libs/send-request/decode-buffer.test.d.ts +0 -2
- package/dist/libs/send-request/decode-buffer.test.d.ts.map +0 -1
- package/dist/libs/send-request/set-request-cookies.test.d.ts +0 -2
- package/dist/libs/send-request/set-request-cookies.test.d.ts.map +0 -1
- package/dist/libs/string-template.test.d.ts +0 -2
- package/dist/libs/string-template.test.d.ts.map +0 -1
- package/dist/libs/validate-parameters.test.d.ts +0 -2
- package/dist/libs/validate-parameters.test.d.ts.map +0 -1
- package/dist/plugins/plugin-manager.test.d.ts +0 -2
- package/dist/plugins/plugin-manager.test.d.ts.map +0 -1
- package/dist/routes.test.d.ts +0 -2
- package/dist/routes.test.d.ts.map +0 -1
- package/dist/store/collections.test.d.ts +0 -2
- package/dist/store/collections.test.d.ts.map +0 -1
- package/dist/store/request.test.d.ts +0 -2
- package/dist/store/request.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/components/HttpMethod.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/components/HttpMethod.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/find-client.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/find-client.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/get-example-value.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/get-example-value.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-server-url.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-server-url.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts.map +0 -1
- package/dist/v2/components/server/ServerDropdown.test.d.ts +0 -2
- package/dist/v2/components/server/ServerDropdown.test.d.ts.map +0 -1
- package/dist/v2/components/server/ServerDropdownItem.test.d.ts +0 -2
- package/dist/v2/components/server/ServerDropdownItem.test.d.ts.map +0 -1
- package/dist/v2/features/collection/DocumentCollection.test.d.ts +0 -2
- package/dist/v2/features/collection/DocumentCollection.test.d.ts.map +0 -1
- package/dist/v2/features/collection/WorkspaceCollection.test.d.ts +0 -2
- package/dist/v2/features/collection/WorkspaceCollection.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Authentication.test.d.ts +0 -2
- package/dist/v2/features/collection/components/Authentication.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Environment.test.d.ts +0 -2
- package/dist/v2/features/collection/components/Environment.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/LabelInput.test.d.ts +0 -2
- package/dist/v2/features/collection/components/LabelInput.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Overview.test.d.ts +0 -2
- package/dist/v2/features/collection/components/Overview.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Servers.test.d.ts +0 -2
- package/dist/v2/features/collection/components/Servers.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Settings.test.d.ts +0 -2
- package/dist/v2/features/collection/components/Settings.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Tabs.test.d.ts +0 -2
- package/dist/v2/features/collection/components/Tabs.test.d.ts.map +0 -1
- package/dist/v2/features/environments/Environments.test.d.ts +0 -2
- package/dist/v2/features/environments/Environments.test.d.ts.map +0 -1
- package/dist/v2/features/environments/Environments.vue.d.ts +0 -31
- package/dist/v2/features/environments/Environments.vue.d.ts.map +0 -1
- package/dist/v2/features/environments/Environments.vue.js +0 -65
- package/dist/v2/features/environments/Environments.vue2.js +0 -4
- package/dist/v2/features/environments/EnvironmentsList.test.d.ts +0 -2
- package/dist/v2/features/environments/EnvironmentsList.test.d.ts.map +0 -1
- package/dist/v2/features/environments/components/Environment.test.d.ts +0 -2
- package/dist/v2/features/environments/components/Environment.test.d.ts.map +0 -1
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts +0 -20
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts.map +0 -1
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.js +0 -48
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue2.js +0 -4
- package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts +0 -2
- package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts.map +0 -1
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts +0 -18
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts.map +0 -1
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.js +0 -35
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue2.js +0 -4
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts +0 -2
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts.map +0 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts +0 -2
- package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts.map +0 -1
- package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts +0 -2
- package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts.map +0 -1
- package/dist/v2/features/operation/Operation.test.d.ts +0 -2
- package/dist/v2/features/operation/Operation.test.d.ts.map +0 -1
- package/dist/v2/features/operation/components/Header.test.d.ts +0 -2
- package/dist/v2/features/operation/components/Header.test.d.ts.map +0 -1
- package/dist/v2/features/operation/components/Header.vue.d.ts.map +0 -1
- package/dist/v2/features/operation/components/Header.vue.js +0 -7
- package/dist/v2/features/operation/components/Header.vue2.js +0 -97
- package/dist/v2/features/settings/Settings.test.d.ts +0 -2
- package/dist/v2/features/settings/Settings.test.d.ts.map +0 -1
- package/dist/v2/hooks/use-document-watcher.test.d.ts +0 -2
- package/dist/v2/hooks/use-document-watcher.test.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts +0 -2
- package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts +0 -2
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts +0 -2
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts +0 -2
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts.map +0 -1
- package/dist/views/Request/RequestRoot.test.d.ts +0 -2
- package/dist/views/Request/RequestRoot.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestBody.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/RequestBody.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/RequestCodeExample.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestSection.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/RequestSection.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/helpers/update-scheme.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/helpers/update-scheme.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSubpageHeader.test.d.ts +0 -2
- package/dist/views/Request/RequestSubpageHeader.test.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts +0 -2
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts +0 -2
- package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts.map +0 -1
- package/dist/views/Request/consts/mediaTypes.test.d.ts +0 -2
- package/dist/views/Request/consts/mediaTypes.test.d.ts.map +0 -1
- package/dist/views/Request/libs/auth.test.d.ts +0 -2
- package/dist/views/Request/libs/auth.test.d.ts.map +0 -1
- package/dist/views/Request/libs/oauth2.test.d.ts +0 -2
- package/dist/views/Request/libs/oauth2.test.d.ts.map +0 -1
- package/dist/views/Request/libs/request.test.d.ts +0 -2
- package/dist/views/Request/libs/request.test.d.ts.map +0 -1
- package/dist/views/Request/libs/watch-mode.test.d.ts +0 -2
- package/dist/views/Request/libs/watch-mode.test.d.ts.map +0 -1
- package/dist/vitest.setup.d.ts +0 -34
- package/dist/vitest.setup.d.ts.map +0 -1
|
@@ -1,79 +1,12 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
import type { ClientPlugin } from '../../../v2/plugins';
|
|
12
|
-
type __VLS_Props = {
|
|
13
|
-
/** Application version */
|
|
14
|
-
appVersion: string;
|
|
15
|
-
/** Current request path */
|
|
16
|
-
path: string;
|
|
17
|
-
/** Current request method */
|
|
18
|
-
method: HttpMethodType;
|
|
19
|
-
/** Client layout */
|
|
20
|
-
layout: ClientLayout;
|
|
21
|
-
/** Currently selected server */
|
|
22
|
-
server: ServerObject | undefined;
|
|
23
|
-
/** Server list available for operation/document */
|
|
24
|
-
servers: ServerObject[];
|
|
25
|
-
/** List of request history */
|
|
26
|
-
history: History[];
|
|
27
|
-
/**
|
|
28
|
-
* When the request is sent from the modal, this indicates the progress percentage
|
|
29
|
-
* of the request being sent.
|
|
30
|
-
*
|
|
31
|
-
* The amount remaining to load from 100 -> 0
|
|
32
|
-
*/
|
|
33
|
-
requestLoadingPercentage?: number;
|
|
34
|
-
/** Preprocessed response */
|
|
35
|
-
response?: ResponseInstance;
|
|
36
|
-
/** Original request instance */
|
|
37
|
-
request?: Request;
|
|
38
|
-
/** Total number of performed requests */
|
|
39
|
-
totalPerformedRequests: number;
|
|
40
|
-
/** Sidebar open state */
|
|
41
|
-
isSidebarOpen?: boolean;
|
|
42
|
-
/** Controls sidebar visibility */
|
|
43
|
-
showSidebar?: boolean;
|
|
44
|
-
/** Hides the client button on the header */
|
|
45
|
-
hideClientButton?: boolean;
|
|
46
|
-
/** Client integration */
|
|
47
|
-
integration?: string | null;
|
|
48
|
-
/** Openapi document url for `modal` mode to open the client app */
|
|
49
|
-
documentUrl?: string;
|
|
50
|
-
/** Client source */
|
|
51
|
-
source?: 'gitbook' | 'api-reference';
|
|
52
|
-
/** Operation object */
|
|
53
|
-
operation: OperationObject;
|
|
54
|
-
/** Currently selected example key for the current operation */
|
|
55
|
-
exampleKey: string;
|
|
56
|
-
/** Currently selected content type for the current operation example */
|
|
57
|
-
selectedContentType?: string;
|
|
58
|
-
/** Document defined security schemes */
|
|
59
|
-
securitySchemes: NonNullable<OpenApiDocument['components']>['securitySchemes'];
|
|
60
|
-
/** Currently selected security for the current operation */
|
|
61
|
-
selectedSecurity: OpenApiDocument['x-scalar-selected-security'];
|
|
62
|
-
/** Required security for the operation/document */
|
|
63
|
-
security: OpenApiDocument['security'];
|
|
64
|
-
/** Event bus */
|
|
65
|
-
events: ReturnType<typeof createStoreEvents>;
|
|
66
|
-
plugins?: ClientPlugin[];
|
|
67
|
-
/** TODO: to be removed once we fully migrate to the new store */
|
|
68
|
-
environment: Environment;
|
|
69
|
-
envVariables: EnvVariable[];
|
|
70
|
-
};
|
|
71
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
|
-
[x: string]: any;
|
|
73
|
-
} & {
|
|
74
|
-
[x: string]: any;
|
|
75
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
76
|
-
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
77
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1
|
+
import type { RouteProps } from '../../../v2/features/app/helpers/routes.js';
|
|
2
|
+
/**
|
|
3
|
+
* Operation example page
|
|
4
|
+
*
|
|
5
|
+
* Displays an operation with a specific example selected
|
|
6
|
+
* - View example request data
|
|
7
|
+
* - Modify example request data
|
|
8
|
+
* - Send example request
|
|
9
|
+
*/
|
|
10
|
+
declare const _default: import("vue").DefineComponent<RouteProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RouteProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
78
11
|
export default _default;
|
|
79
12
|
//# sourceMappingURL=Operation.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/Operation.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/operation/Operation.vue"],"names":[],"mappings":"AA0HA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAGlE;;;;;;;GAOG;;AACH,wBA4KC"}
|
|
@@ -1,124 +1,66 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { defineComponent as v, computed as u, createBlock as y, createElementBlock as h, openBlock as s, unref as r, createElementVNode as f } from "vue";
|
|
2
|
+
import { getResolvedRef as p } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
3
|
+
import { createStoreEvents as S } from "../../../store/events.js";
|
|
4
|
+
import B from "../../blocks/operation-block/OperationBlock.vue.js";
|
|
5
|
+
const N = {
|
|
6
|
+
key: 1,
|
|
7
|
+
class: "flex h-full w-full items-center justify-center"
|
|
8
|
+
}, g = {}, R = /* @__PURE__ */ v({
|
|
9
|
+
...g,
|
|
8
10
|
__name: "Operation",
|
|
9
11
|
props: {
|
|
10
|
-
|
|
12
|
+
document: {},
|
|
13
|
+
eventBus: {},
|
|
14
|
+
layout: {},
|
|
11
15
|
path: {},
|
|
12
16
|
method: {},
|
|
13
|
-
|
|
14
|
-
server: {},
|
|
15
|
-
servers: {},
|
|
16
|
-
history: {},
|
|
17
|
-
requestLoadingPercentage: {},
|
|
18
|
-
response: {},
|
|
19
|
-
request: {},
|
|
20
|
-
totalPerformedRequests: {},
|
|
21
|
-
isSidebarOpen: { type: Boolean },
|
|
22
|
-
showSidebar: { type: Boolean },
|
|
23
|
-
hideClientButton: { type: Boolean },
|
|
24
|
-
integration: {},
|
|
25
|
-
documentUrl: {},
|
|
26
|
-
source: {},
|
|
27
|
-
operation: {},
|
|
28
|
-
exampleKey: {},
|
|
29
|
-
selectedContentType: {},
|
|
30
|
-
securitySchemes: {},
|
|
31
|
-
selectedSecurity: {},
|
|
32
|
-
security: {},
|
|
33
|
-
events: {},
|
|
34
|
-
plugins: {},
|
|
17
|
+
exampleName: {},
|
|
35
18
|
environment: {},
|
|
36
|
-
|
|
19
|
+
workspaceStore: {}
|
|
37
20
|
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
method: r.method,
|
|
80
|
-
operation: r.operation,
|
|
81
|
-
path: r.path,
|
|
82
|
-
security: r.security,
|
|
83
|
-
securitySchemes: r.securitySchemes,
|
|
84
|
-
selectedContentType: r.selectedContentType,
|
|
85
|
-
selectedSecurity: r.selectedSecurity,
|
|
86
|
-
"onAuth:delete": e[8] || (e[8] = (t) => s("auth:delete", t)),
|
|
87
|
-
"onAuth:update:securityScheme": e[9] || (e[9] = (t) => s("auth:update:securityScheme", t)),
|
|
88
|
-
"onAuth:update:selectedScopes": e[10] || (e[10] = (t) => s("auth:update:selectedScopes", t)),
|
|
89
|
-
"onAuth:update:selectedSecurity": e[11] || (e[11] = (t) => s("auth:update:selectedSecurity", t)),
|
|
90
|
-
"onOperation:update:requestName": e[12] || (e[12] = (t) => s("operation:update:requestName", t)),
|
|
91
|
-
"onParameters:add": e[13] || (e[13] = (t) => s("parameters:add", t)),
|
|
92
|
-
"onParameters:delete": e[14] || (e[14] = (t) => s("parameters:delete", t)),
|
|
93
|
-
"onParameters:deleteAll": e[15] || (e[15] = (t) => s("parameters:deleteAll", t)),
|
|
94
|
-
"onParameters:update": e[16] || (e[16] = (t) => s("parameters:update", t)),
|
|
95
|
-
"onRequestBody:add:formRow": e[17] || (e[17] = (t) => s("requestBody:add:formRow", t)),
|
|
96
|
-
"onRequestBody:update:contentType": e[18] || (e[18] = (t) => s("requestBody:update:contentType", t)),
|
|
97
|
-
"onRequestBody:update:formRow": e[19] || (e[19] = (t) => s("requestBody:update:formRow", t)),
|
|
98
|
-
"onRequestBody:update:value": e[20] || (e[20] = (t) => s("requestBody:update:value", t)),
|
|
99
|
-
plugins: r.plugins
|
|
100
|
-
}, null, 8, ["envVariables", "environment", "exampleKey", "layout", "method", "operation", "path", "security", "securitySchemes", "selectedContentType", "selectedSecurity", "plugins"]),
|
|
101
|
-
o(a(f), {
|
|
102
|
-
appVersion: r.appVersion,
|
|
103
|
-
events: r.events,
|
|
104
|
-
layout: r.layout,
|
|
105
|
-
request: r.request,
|
|
106
|
-
response: r.response,
|
|
107
|
-
plugins: r.plugins,
|
|
108
|
-
totalPerformedRequests: r.totalPerformedRequests,
|
|
109
|
-
onAddRequest: e[21] || (e[21] = (t) => s("response:addRequest")),
|
|
110
|
-
onOpenCommandPalette: e[22] || (e[22] = (t) => s("response:openCommandPalette")),
|
|
111
|
-
onSendRequest: e[23] || (e[23] = (t) => s("response:sendRequest"))
|
|
112
|
-
}, null, 8, ["appVersion", "events", "layout", "request", "response", "plugins", "totalPerformedRequests"])
|
|
113
|
-
]),
|
|
114
|
-
_: 1
|
|
115
|
-
})
|
|
116
|
-
]),
|
|
117
|
-
_: 1
|
|
118
|
-
})
|
|
119
|
-
]));
|
|
21
|
+
setup(e) {
|
|
22
|
+
const a = u(
|
|
23
|
+
() => e.path && e.method ? p(e.document?.paths?.[e.path]?.[e.method]) : void 0
|
|
24
|
+
), n = u(
|
|
25
|
+
() => (a.value?.security?.length ?? 0) > 0 && JSON.stringify(a.value?.security) !== "[{}]"
|
|
26
|
+
), i = u(() => !a.value || !e.document ? [] : n.value ? a.value.security ?? [] : JSON.stringify(a.value?.security) === "[{}]" ? [...e.document.security ?? [], {}] : e.document.security ?? []), l = u(() => n.value ? a.value?.["x-scalar-selected-security"] : e.document?.["x-scalar-selected-security"]), c = u(() => n.value ? {
|
|
27
|
+
type: "operation",
|
|
28
|
+
path: e.path ?? "",
|
|
29
|
+
method: e.method ?? "get"
|
|
30
|
+
} : {
|
|
31
|
+
type: "document"
|
|
32
|
+
}), m = "2.10.0", d = {
|
|
33
|
+
uid: "",
|
|
34
|
+
name: "",
|
|
35
|
+
color: "",
|
|
36
|
+
value: ""
|
|
37
|
+
};
|
|
38
|
+
return (t, o) => t.path && t.method && t.exampleName && a.value ? (s(), y(r(B), {
|
|
39
|
+
key: 0,
|
|
40
|
+
path: t.path,
|
|
41
|
+
method: t.method,
|
|
42
|
+
appVersion: r(m),
|
|
43
|
+
environment: d,
|
|
44
|
+
envVariables: [],
|
|
45
|
+
eventBus: t.eventBus,
|
|
46
|
+
exampleKey: t.exampleName,
|
|
47
|
+
history: [],
|
|
48
|
+
layout: t.layout,
|
|
49
|
+
plugins: [],
|
|
50
|
+
operation: a.value,
|
|
51
|
+
authMeta: c.value,
|
|
52
|
+
security: i.value,
|
|
53
|
+
securitySchemes: t.document?.components?.securitySchemes ?? {},
|
|
54
|
+
selectedSecurity: l.value,
|
|
55
|
+
server: void 0,
|
|
56
|
+
servers: [],
|
|
57
|
+
events: r(S)(),
|
|
58
|
+
totalPerformedRequests: 0
|
|
59
|
+
}, null, 8, ["path", "method", "appVersion", "eventBus", "exampleKey", "layout", "operation", "authMeta", "security", "securitySchemes", "selectedSecurity", "events"])) : (s(), h("div", N, [...o[0] || (o[0] = [
|
|
60
|
+
f("span", { class: "text-c-3" }, "Select an operation to view details", -1)
|
|
61
|
+
])]));
|
|
120
62
|
}
|
|
121
63
|
});
|
|
122
64
|
export {
|
|
123
|
-
|
|
65
|
+
R as default
|
|
124
66
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../../src/v2/helpers/test-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAGvE,gDAAgD;AAChD,eAAO,MAAM,YAAY,EAIT,iBAAiB,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
1
2
|
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
3
|
import type { WorkspaceDocument } from '@scalar/workspace-store/schemas/workspace';
|
|
3
4
|
import type { ComputedRef } from 'vue';
|
|
4
5
|
/**
|
|
5
6
|
* Top level state mutation handling for the workspace store in the client
|
|
6
7
|
*/
|
|
7
|
-
export declare const useWorkspaceClientEvents: (eventBus: WorkspaceEventBus, document: ComputedRef<WorkspaceDocument | null
|
|
8
|
+
export declare const useWorkspaceClientEvents: (eventBus: WorkspaceEventBus, document: ComputedRef<WorkspaceDocument | null>, workspaceStore: WorkspaceStore) => void;
|
|
8
9
|
//# sourceMappingURL=use-workspace-client-events.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-workspace-client-events.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-workspace-client-events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;
|
|
1
|
+
{"version":3,"file":"use-workspace-client-events.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-workspace-client-events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAuBvF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAEtC;;GAEG;AACH,eAAO,MAAM,wBAAwB,GACnC,UAAU,iBAAiB,EAC3B,UAAU,WAAW,CAAC,iBAAiB,GAAG,IAAI,CAAC,EAC/C,gBAAgB,cAAc,SA6L/B,CAAA"}
|
|
@@ -1,13 +1,140 @@
|
|
|
1
|
-
import { mergeObjects as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { mergeObjects as l } from "@scalar/workspace-store/helpers/merge-object";
|
|
2
|
+
import { upsertEnvironment as d, upsertEnvironmentVariable as u, deleteSecurityScheme as m, updateSelectedScopes as c, updateSelectedSecuritySchemes as s, updateSecurityScheme as v, updateSelectedAuthTab as y, updateOperationMethod as h, updateOperationPath as O, updateOperationSummary as R, addOperationParameter as q, updateOperationParameter as S, deleteOperationParameter as f, deleteAllOperationParameters as w, updateOperationRequestBodyContentType as b, updateOperationRequestBodyExample as x, addOperationRequestBodyFormRow as P, updateOperationRequestBodyFormRow as E, deleteOperationRequestBodyFormRow as T } from "@scalar/workspace-store/mutators";
|
|
3
|
+
const F = (t, o, i) => {
|
|
4
|
+
const p = (e, a) => a === "document" ? e.value : i.workspace;
|
|
5
|
+
t.on(
|
|
6
|
+
"document:update:icon",
|
|
7
|
+
(e) => o.value && (o.value["x-scalar-client-config-icon"] = e)
|
|
8
|
+
), t.on(
|
|
9
|
+
"document:update:info",
|
|
10
|
+
(e) => o.value && (o.value.info = l(o.value.info, e))
|
|
11
|
+
), t.on(
|
|
12
|
+
"environment:upsert:environment",
|
|
13
|
+
(e) => d(o.value, i.workspace, e)
|
|
14
|
+
), t.on(
|
|
15
|
+
"environment:delete:environment",
|
|
16
|
+
({ environmentName: e, collectionType: a }) => delete p(o, a)?.["x-scalar-environments"]?.[e]
|
|
17
|
+
), t.on(
|
|
18
|
+
"environment:upsert:environment-variable",
|
|
19
|
+
(e) => u(p(o, e.collectionType), e)
|
|
20
|
+
), t.on(
|
|
21
|
+
"environment:delete:environment-variable",
|
|
22
|
+
({ environmentName: e, index: a, collectionType: r }) => p(o, r)?.["x-scalar-environments"]?.[e]?.variables?.splice(a, 1)
|
|
23
|
+
), t.on("auth:delete:security-scheme", ({ names: e }) => {
|
|
24
|
+
m({
|
|
25
|
+
document: o.value,
|
|
26
|
+
names: e
|
|
27
|
+
});
|
|
28
|
+
}), t.on("auth:update:selected-scopes", ({ id: e, name: a, scopes: r, meta: n }) => {
|
|
29
|
+
c({
|
|
30
|
+
document: o.value,
|
|
31
|
+
id: e,
|
|
32
|
+
name: a,
|
|
33
|
+
scopes: r,
|
|
34
|
+
meta: n
|
|
35
|
+
});
|
|
36
|
+
}), t.on("auth:update:selected-security-schemes", ({ newSchemes: e, selectedRequirements: a, meta: r }) => {
|
|
37
|
+
s({
|
|
38
|
+
document: o.value,
|
|
39
|
+
newSchemes: e,
|
|
40
|
+
selectedRequirements: a,
|
|
41
|
+
meta: r
|
|
42
|
+
});
|
|
43
|
+
}), t.on("auth:update:security-scheme", ({ data: e, name: a }) => {
|
|
44
|
+
v({
|
|
45
|
+
document: o.value,
|
|
46
|
+
data: e,
|
|
47
|
+
name: a
|
|
48
|
+
});
|
|
49
|
+
}), t.on("auth:update:active-index", ({ index: e, meta: a }) => {
|
|
50
|
+
y({
|
|
51
|
+
document: o.value,
|
|
52
|
+
index: e,
|
|
53
|
+
meta: a
|
|
54
|
+
});
|
|
55
|
+
}), t.on("operation:update:method", ({ payload: e, meta: a }) => {
|
|
56
|
+
h({
|
|
57
|
+
document: o.value,
|
|
58
|
+
meta: a,
|
|
59
|
+
payload: e
|
|
60
|
+
});
|
|
61
|
+
}), t.on("operation:update:path", ({ meta: e, payload: a }) => {
|
|
62
|
+
O({
|
|
63
|
+
document: o.value,
|
|
64
|
+
meta: e,
|
|
65
|
+
payload: a
|
|
66
|
+
});
|
|
67
|
+
}), t.on("operation:update:summary", ({ payload: e, meta: a }) => {
|
|
68
|
+
R({
|
|
69
|
+
document: o.value,
|
|
70
|
+
meta: a,
|
|
71
|
+
payload: e
|
|
72
|
+
});
|
|
73
|
+
}), t.on("operation:add:parameter", ({ type: e, meta: a, payload: r }) => {
|
|
74
|
+
q({
|
|
75
|
+
document: o.value,
|
|
76
|
+
meta: a,
|
|
77
|
+
payload: r,
|
|
78
|
+
type: e
|
|
79
|
+
});
|
|
80
|
+
}), t.on("operation:update:parameter", ({ meta: e, payload: a, index: r, type: n }) => {
|
|
81
|
+
S({
|
|
82
|
+
document: o.value,
|
|
83
|
+
meta: e,
|
|
84
|
+
payload: a,
|
|
85
|
+
index: r,
|
|
86
|
+
type: n
|
|
87
|
+
});
|
|
88
|
+
}), t.on("operation:delete:parameter", ({ index: e, meta: a, type: r }) => {
|
|
89
|
+
f({
|
|
90
|
+
document: o.value,
|
|
91
|
+
meta: a,
|
|
92
|
+
index: e,
|
|
93
|
+
type: r
|
|
94
|
+
});
|
|
95
|
+
}), t.on("operation:delete-all:parameters", ({ meta: e, type: a }) => {
|
|
96
|
+
w({
|
|
97
|
+
document: o.value,
|
|
98
|
+
meta: e,
|
|
99
|
+
type: a
|
|
100
|
+
});
|
|
101
|
+
}), t.on("operation:update:requestBody:contentType", ({ payload: e, meta: a }) => {
|
|
102
|
+
b({
|
|
103
|
+
document: o.value,
|
|
104
|
+
meta: a,
|
|
105
|
+
payload: e
|
|
106
|
+
});
|
|
107
|
+
}), t.on("operation:update:requestBody:value", ({ contentType: e, payload: a, meta: r }) => {
|
|
108
|
+
x({
|
|
109
|
+
document: o.value,
|
|
110
|
+
meta: r,
|
|
111
|
+
payload: a,
|
|
112
|
+
contentType: e
|
|
113
|
+
});
|
|
114
|
+
}), t.on("operation:add:requestBody:formRow", ({ payload: e, contentType: a, meta: r }) => {
|
|
115
|
+
P({
|
|
116
|
+
document: o.value,
|
|
117
|
+
meta: r,
|
|
118
|
+
payload: e,
|
|
119
|
+
contentType: a
|
|
120
|
+
});
|
|
121
|
+
}), t.on("operation:update:requestBody:formRow", ({ index: e, payload: a, contentType: r, meta: n }) => {
|
|
122
|
+
E({
|
|
123
|
+
document: o.value,
|
|
124
|
+
meta: n,
|
|
125
|
+
index: e,
|
|
126
|
+
payload: a,
|
|
127
|
+
contentType: r
|
|
128
|
+
});
|
|
129
|
+
}), t.on("operation:delete:requestBody:formRow", ({ index: e, contentType: a, meta: r }) => {
|
|
130
|
+
T({
|
|
131
|
+
document: o.value,
|
|
132
|
+
meta: r,
|
|
133
|
+
index: e,
|
|
134
|
+
contentType: a
|
|
135
|
+
});
|
|
136
|
+
});
|
|
10
137
|
};
|
|
11
138
|
export {
|
|
12
|
-
|
|
139
|
+
F as useWorkspaceClientEvents
|
|
13
140
|
};
|
|
@@ -33,7 +33,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
33
33
|
}));
|
|
34
34
|
}, f = (o) => {
|
|
35
35
|
o?.createNew && g.name === "request" && d();
|
|
36
|
-
}, v = "2.
|
|
36
|
+
}, v = "2.10.0";
|
|
37
37
|
return q(() => a.hotKeys.on(f)), R(() => a.hotKeys.off(f)), (o, e) => (i(), l("div", W, [
|
|
38
38
|
s("div", {
|
|
39
39
|
class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/oauth2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAIzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAElD,qDAAqD;AACrD,KAAK,eAAe,GAAG,OAAO,CAAC,UAAU,EAAE;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAA;AAEhE,KAAK,SAAS,GAAG;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,mBAAmB,EAAE,MAAM,CAAA;CAC5B,CAAA;AAgBD;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAU,UAAU,MAAM,EAAE,UAAU,SAAS,GAAG,OAAO,KAAG,OAAO,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"oauth2.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/oauth2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAIzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAElD,qDAAqD;AACrD,KAAK,eAAe,GAAG,OAAO,CAAC,UAAU,EAAE;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAA;AAEhE,KAAK,SAAS,GAAG;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,mBAAmB,EAAE,MAAM,CAAA;CAC5B,CAAA;AAgBD;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAU,UAAU,MAAM,EAAE,UAAU,SAAS,GAAG,OAAO,KAAG,OAAO,CAAC,MAAM,CAkB3G,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAC1B,MAAM,UAAU;AAChB,wEAAwE;AACxE,cAAc,MAAM;AACpB,kCAAkC;AAClC,WAAW,MAAM,KAChB,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CA+J/B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAC3B,MAAM,eAAe,EACrB,QAAQ,MAAM,EACd,4BAIG;IACD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACzB,KACL,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CA0F/B,CAAA"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { shouldUseProxy as S } from "@scalar/oas-utils/helpers";
|
|
2
2
|
import { fromUint8Array as P, encode as k } from "js-base64";
|
|
3
|
-
const
|
|
3
|
+
const w = () => {
|
|
4
4
|
const e = new Uint8Array(32);
|
|
5
5
|
return crypto.getRandomValues(e), P(e, !0);
|
|
6
|
-
},
|
|
6
|
+
}, U = async (e, l) => {
|
|
7
7
|
if (l === "plain")
|
|
8
8
|
return e;
|
|
9
|
+
if (typeof crypto?.subtle?.digest != "function")
|
|
10
|
+
return console.warn("SHA-256 is only supported when using https, using a plain text code challenge instead."), e;
|
|
9
11
|
const n = new TextEncoder().encode(e), c = await crypto.subtle.digest("SHA-256", n);
|
|
10
12
|
return P(new Uint8Array(c), !0);
|
|
11
|
-
},
|
|
13
|
+
}, b = async (e, l, u) => {
|
|
12
14
|
try {
|
|
13
15
|
if (!e)
|
|
14
16
|
return [new Error("Flow not found"), null];
|
|
@@ -22,7 +24,7 @@ const U = () => {
|
|
|
22
24
|
if (e.type === "implicit")
|
|
23
25
|
t.searchParams.set("response_type", "token");
|
|
24
26
|
else if (e.type === "authorizationCode" && (t.searchParams.set("response_type", "code"), e["x-usePkce"] !== "no")) {
|
|
25
|
-
const r =
|
|
27
|
+
const r = w(), s = await U(r, e["x-usePkce"]);
|
|
26
28
|
m = {
|
|
27
29
|
codeVerifier: r,
|
|
28
30
|
codeChallenge: s,
|
|
@@ -92,7 +94,7 @@ const U = () => {
|
|
|
92
94
|
}
|
|
93
95
|
};
|
|
94
96
|
export {
|
|
95
|
-
|
|
97
|
+
b as authorizeOauth2,
|
|
96
98
|
x as authorizeServers,
|
|
97
|
-
|
|
99
|
+
U as generateCodeChallenge
|
|
98
100
|
};
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.
|
|
21
|
+
"version": "2.10.0",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=20"
|
|
24
24
|
},
|
|
@@ -232,25 +232,25 @@
|
|
|
232
232
|
"yaml": "2.8.0",
|
|
233
233
|
"zod": "4.1.11",
|
|
234
234
|
"@scalar/analytics-client": "1.0.0",
|
|
235
|
+
"@scalar/components": "0.16.2",
|
|
235
236
|
"@scalar/draggable": "0.3.0",
|
|
236
|
-
"@scalar/
|
|
237
|
-
"@scalar/helpers": "0.0.13",
|
|
238
|
-
"@scalar/import": "0.4.32",
|
|
239
|
-
"@scalar/json-magic": "0.7.0",
|
|
237
|
+
"@scalar/helpers": "0.1.0",
|
|
240
238
|
"@scalar/icons": "0.5.0",
|
|
241
|
-
"@scalar/
|
|
242
|
-
"@scalar/
|
|
239
|
+
"@scalar/import": "0.4.33",
|
|
240
|
+
"@scalar/oas-utils": "0.6.2",
|
|
241
|
+
"@scalar/json-magic": "0.8.0",
|
|
242
|
+
"@scalar/object-utils": "1.2.10",
|
|
243
|
+
"@scalar/openapi-parser": "0.23.1",
|
|
243
244
|
"@scalar/openapi-types": "0.5.1",
|
|
244
|
-
"@scalar/openapi
|
|
245
|
-
"@scalar/
|
|
246
|
-
"@scalar/sidebar": "0.2.0",
|
|
247
|
-
"@scalar/themes": "0.13.23",
|
|
245
|
+
"@scalar/postman-to-openapi": "0.3.43",
|
|
246
|
+
"@scalar/sidebar": "0.2.2",
|
|
248
247
|
"@scalar/types": "0.4.0",
|
|
249
|
-
"@scalar/
|
|
250
|
-
"@scalar/use-hooks": "0.3.0",
|
|
251
|
-
"@scalar/use-toasts": "0.9.0",
|
|
248
|
+
"@scalar/themes": "0.13.23",
|
|
252
249
|
"@scalar/snippetz": "0.5.2",
|
|
253
|
-
"@scalar/
|
|
250
|
+
"@scalar/use-hooks": "0.3.0",
|
|
251
|
+
"@scalar/use-codemirror": "0.12.46",
|
|
252
|
+
"@scalar/workspace-store": "0.19.0",
|
|
253
|
+
"@scalar/use-toasts": "0.9.0"
|
|
254
254
|
},
|
|
255
255
|
"devDependencies": {
|
|
256
256
|
"@tailwindcss/vite": "^4.1.7",
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
"vite-svg-loader": "5.1.0",
|
|
266
266
|
"vitest": "3.2.4",
|
|
267
267
|
"@scalar/build-tooling": "0.2.8",
|
|
268
|
-
"@scalar/galaxy": "0.5.
|
|
268
|
+
"@scalar/galaxy": "0.5.10"
|
|
269
269
|
},
|
|
270
270
|
"scripts": {
|
|
271
271
|
"build": "scalar-build-vite",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CodeInput.test.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-openapi-version.test.d.ts","sourceRoot":"","sources":["../../../../src/components/ImportCollection/utils/get-openapi-version.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-document.test.d.ts","sourceRoot":"","sources":["../../../../src/components/ImportCollection/utils/is-document.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-url.test.d.ts","sourceRoot":"","sources":["../../../../src/components/ImportCollection/utils/is-url.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSearch.test.d.ts","sourceRoot":"","sources":["../../../src/components/Search/useSearch.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServerDropdown.test.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdown.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ViewLayoutSection.test.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.test.ts"],"names":[],"mappings":""}
|