@scalar/api-reference 1.36.1 → 1.37.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 +63 -0
- package/dist/browser/standalone.js +26246 -25660
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceContent.vue.d.ts +34 -0
- package/dist/components/ApiReferenceContent.vue.d.ts.map +1 -0
- package/dist/components/ApiReferenceContent.vue.js +8 -0
- package/dist/components/ApiReferenceContent.vue2.js +148 -0
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +239 -219
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +2 -2
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/featured-clients.d.ts +1 -1
- package/dist/components/Content/ClientLibraries/featured-clients.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.d.ts +21 -3
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +132 -95
- package/dist/components/Content/Models/ClassicLayout.vue.d.ts +4 -2
- package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ClassicLayout.vue.js +2 -2
- package/dist/components/Content/Models/ClassicLayout.vue2.js +28 -28
- package/dist/components/Content/Models/Models.vue.d.ts +10 -2
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.js +25 -27
- package/dist/components/Content/Models/ModernLayout.vue.d.ts +6 -2
- package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModernLayout.vue.js +1 -1
- package/dist/components/Content/Models/ModernLayout.vue2.js +30 -29
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts +20 -6
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.js +58 -46
- package/dist/components/Content/Operations/get-current-index.d.ts +1 -1
- package/dist/components/Content/Operations/get-current-index.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.js +2 -2
- package/dist/components/Content/Schema/Schema.vue2.js +24 -24
- package/dist/components/Content/Schema/helpers/get-ref-name.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/get-ref-name.js +9 -7
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +1 -1
- package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/schema-name.js +15 -14
- package/dist/components/Content/Tags/ClassicLayout.vue.d.ts +1 -1
- package/dist/components/Content/Tags/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/ClassicLayout.vue.js +2 -2
- package/dist/components/Content/Tags/ModernLayout.vue.d.ts +3 -1
- package/dist/components/Content/Tags/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/ModernLayout.vue.js +1 -1
- package/dist/components/Content/Tags/ModernLayout.vue2.js +34 -30
- package/dist/components/Content/Tags/Tag.vue.d.ts +3 -1
- package/dist/components/Content/Tags/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/Tag.vue.js +14 -12
- package/dist/components/Content/Tags/TagSection.vue.d.ts +2 -1
- package/dist/components/Content/Tags/TagSection.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/TagSection.vue.js +49 -52
- package/dist/components/OperationsList/OperationsList.vue.d.ts +1 -1
- package/dist/components/OperationsList/OperationsList.vue.d.ts.map +1 -1
- package/dist/components/OperationsList/OperationsList.vue.js +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.d.ts +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.d.ts.map +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.js +2 -2
- package/dist/components/Section/Section.vue.js +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.js +2 -2
- package/dist/components/ShowMoreButton.vue.d.ts +1 -0
- package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue.js +2 -2
- package/dist/components/ShowMoreButton.vue2.js +12 -12
- package/dist/consts/urls.d.ts +17 -0
- package/dist/consts/urls.d.ts.map +1 -0
- package/dist/consts/urls.js +7 -0
- package/dist/features/Operation/Operation.vue.d.ts +21 -9
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js +42 -53
- package/dist/features/Operation/components/Header.vue.d.ts +2 -2
- package/dist/features/Operation/components/Header.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/Header.vue.js +9 -8
- package/dist/features/Operation/components/Headers.vue.d.ts +2 -2
- package/dist/features/Operation/components/Headers.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/Headers.vue.js +1 -1
- package/dist/features/Operation/components/Headers.vue2.js +35 -33
- package/dist/features/Operation/components/OperationParameters.vue.d.ts +4 -0
- package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.js +37 -31
- package/dist/features/Operation/components/OperationResponses.vue.d.ts +5 -1
- package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.js +16 -17
- package/dist/features/Operation/components/ParameterList.vue.d.ts +6 -2
- package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterList.vue.js +17 -19
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts +6 -2
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +3 -3
- package/dist/features/Operation/components/ParameterListItem.vue2.js +64 -65
- package/dist/features/Operation/components/RequestBody.vue.d.ts +4 -0
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +2 -2
- package/dist/features/Operation/components/RequestBody.vue2.js +65 -65
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +4 -0
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.js +2 -2
- package/dist/features/Operation/components/callbacks/Callback.vue2.js +29 -22
- package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts +6 -0
- package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.js +18 -16
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +11 -5
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +3 -3
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +99 -90
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +12 -5
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +99 -87
- package/dist/features/Search/helpers/create-search-index.d.ts +2 -1
- package/dist/features/Search/helpers/create-search-index.d.ts.map +1 -1
- package/dist/features/Search/types.d.ts +1 -1
- package/dist/features/Search/types.d.ts.map +1 -1
- package/dist/features/api-client-modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/features/api-client-modal/ApiClientModal.vue.js +23 -26
- package/dist/features/api-client-modal/useApiClient.d.ts +3032 -2888
- package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
- package/dist/features/document-source/hooks/useDocumentFetcher.d.ts.map +1 -1
- package/dist/features/document-source/hooks/useDocumentFetcher.js +13 -11
- package/dist/features/document-source/hooks/useDocumentSource.d.ts +1 -1
- package/dist/features/document-source/hooks/useDocumentSource.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.js +3 -3
- package/dist/features/example-responses/ExampleResponse.vue2.js +26 -18
- package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.js +2 -2
- package/dist/features/example-responses/ExampleResponses.vue2.js +53 -53
- package/dist/features/multiple-documents/useMultipleDocuments.d.ts +11 -6
- package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
- package/dist/features/multiple-documents/useMultipleDocuments.js +57 -48
- package/dist/features/test-request-button/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.js +2 -2
- package/dist/features/test-request-button/TestRequestButton.vue2.js +15 -21
- package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts +16 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue.js +43 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts +13 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.js +12 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts +14 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +95 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts +10 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.js +27 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts +25 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.js +123 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts +11 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.js +41 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts +26 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.js +46 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts +25 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.js +58 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +84 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +42 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +56 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue2.js +4 -0
- package/dist/{v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts → features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts} +6 -6
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.js +83 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts +3 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +51 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue2.js +4 -0
- package/dist/features/toolbar/uploadTempDocument.d.ts +3 -0
- package/dist/features/toolbar/uploadTempDocument.d.ts.map +1 -0
- package/dist/features/toolbar/uploadTempDocument.js +21 -0
- package/dist/helpers/test-utils.d.ts +3 -365
- package/dist/helpers/test-utils.d.ts.map +1 -1
- package/dist/hooks/useNavState.d.ts +4 -2
- package/dist/hooks/useNavState.d.ts.map +1 -1
- package/dist/hooks/useNavState.js +31 -27
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -19
- package/dist/style.css +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts +6 -6
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +93 -79
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts +1 -1
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +2 -2
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +11 -11
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts +2 -2
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +2 -2
- package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +10 -10
- package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts +1 -1
- package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts +3 -0
- package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.js +2 -2
- package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue2.js +32 -31
- package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts +15 -8
- package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.js +25 -20
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts +8 -7
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +1 -1
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +27 -32
- package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts +2 -22
- package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue.d.ts +8 -0
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue.js +2 -2
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue2.js +70 -65
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue.d.ts +9 -1
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue.js +2 -2
- package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue2.js +60 -57
- package/dist/v2/blocks/scalar-sidebar-block/helpers/create-sidebar.d.ts +3 -365
- package/dist/v2/blocks/scalar-sidebar-block/helpers/create-sidebar.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-sidebar-block/helpers/generate-reverse-index.d.ts +3 -183
- package/dist/v2/blocks/scalar-sidebar-block/helpers/generate-reverse-index.d.ts.map +1 -1
- package/dist/v2/helpers/map-configuration.d.ts +22 -22
- package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
- package/package.json +21 -18
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts +0 -13
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts.map +0 -1
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +0 -52
- package/dist/components/Content/Operations/TraversedEntryContainer.vue2.js +0 -4
- package/dist/components/Content/Operations/index.d.ts +0 -2
- package/dist/components/Content/Operations/index.d.ts.map +0 -1
- package/dist/hooks/useConfig.d.ts +0 -9
- package/dist/hooks/useConfig.d.ts.map +0 -1
- package/dist/hooks/useConfig.js +0 -10
- package/dist/legacy/stores/index.d.ts +0 -2
- package/dist/legacy/stores/index.d.ts.map +0 -1
- package/dist/legacy/stores/useExampleStore.d.ts +0 -5
- package/dist/legacy/stores/useExampleStore.d.ts.map +0 -1
- package/dist/legacy/stores/useExampleStore.js +0 -8
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.js +0 -4
- package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +0 -55
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts +0 -79
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +0 -7
- package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +0 -236
- package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts +0 -41
- package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.js +0 -22
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts +0 -20
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.js +0 -33
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.d.ts +0 -17
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.js +0 -26
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts +0 -4
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +0 -10
- package/dist/v2/blocks/scalar-request-example-block/index.d.ts +0 -3
- package/dist/v2/blocks/scalar-request-example-block/index.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-request-example-block/types.d.ts +0 -29
- package/dist/v2/blocks/scalar-request-example-block/types.d.ts.map +0 -1
|
@@ -1,99 +1,102 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarSidebarGroupToggle as
|
|
3
|
-
import { scrollToId as
|
|
4
|
-
import { getHttpMethodInfo as
|
|
5
|
-
import { sleep as
|
|
6
|
-
import { ScalarIconWebhooksLogo as
|
|
7
|
-
import { combineUrlAndPath as
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
const L = ["id"], M = {
|
|
1
|
+
import { defineComponent as T, createElementBlock as n, openBlock as o, createElementVNode as a, renderSlot as c, createCommentVNode as s, normalizeClass as B, createTextVNode as p, withModifiers as A, createVNode as g, unref as h, withCtx as f, toDisplayString as l, createBlock as O, normalizeStyle as $ } from "vue";
|
|
2
|
+
import { ScalarSidebarGroupToggle as E } from "@scalar/components";
|
|
3
|
+
import { scrollToId as N } from "@scalar/helpers/dom/scroll-to-id";
|
|
4
|
+
import { getHttpMethodInfo as V } from "@scalar/helpers/http/http-info";
|
|
5
|
+
import { sleep as b } from "@scalar/helpers/testing/sleep";
|
|
6
|
+
import { ScalarIconWebhooksLogo as H } from "@scalar/icons";
|
|
7
|
+
import { combineUrlAndPath as I } from "@scalar/oas-utils/helpers";
|
|
8
|
+
import { useNavState as P } from "../../../../hooks/useNavState.js";
|
|
9
|
+
import R from "./SidebarHttpBadge.vue.js";
|
|
10
|
+
const U = ["id"], D = {
|
|
12
11
|
key: 0,
|
|
13
12
|
class: "sidebar-heading-chevron"
|
|
14
|
-
},
|
|
13
|
+
}, L = ["aria-expanded"], M = ["href", "tabindex"], z = { class: "sidebar-heading-link-title" }, j = {
|
|
15
14
|
key: 0,
|
|
16
15
|
class: "hanging-indent"
|
|
17
|
-
},
|
|
16
|
+
}, F = { key: 1 }, G = {
|
|
18
17
|
key: 0,
|
|
19
18
|
class: "sidebar-heading-link-method"
|
|
20
|
-
},
|
|
19
|
+
}, W = {
|
|
21
20
|
key: 1,
|
|
22
21
|
class: "action-menu"
|
|
23
|
-
},
|
|
22
|
+
}, ee = /* @__PURE__ */ T({
|
|
24
23
|
__name: "SidebarElement",
|
|
25
24
|
props: {
|
|
26
25
|
id: {},
|
|
27
26
|
item: {},
|
|
28
27
|
isActive: { type: Boolean },
|
|
29
28
|
hasChildren: { type: Boolean },
|
|
30
|
-
open: { type: Boolean }
|
|
29
|
+
open: { type: Boolean },
|
|
30
|
+
options: {}
|
|
31
31
|
},
|
|
32
32
|
emits: ["toggleOpen"],
|
|
33
|
-
setup(
|
|
34
|
-
const t =
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
if (
|
|
38
|
-
return
|
|
33
|
+
setup(k, { emit: y }) {
|
|
34
|
+
const t = k, d = y, { getFullHash: m, isIntersectionEnabled: r, replaceUrlState: C } = P(), v = (e) => "path" in e ? e.path.replace(/\//g, "/") : e.title, u = async () => {
|
|
35
|
+
r.value = !1, t.hasChildren && d("toggleOpen"), await b(100), r.value = !0;
|
|
36
|
+
}, w = () => {
|
|
37
|
+
if (t.options.pathRouting)
|
|
38
|
+
return I(
|
|
39
|
+
t.options.pathRouting?.basePath ?? "",
|
|
40
|
+
t.item.id
|
|
41
|
+
);
|
|
39
42
|
if (typeof window < "u") {
|
|
40
43
|
const e = new URL(window.location.href);
|
|
41
|
-
return e.hash =
|
|
44
|
+
return e.hash = m(t.item.id), `${e.search}${e.hash}`;
|
|
42
45
|
}
|
|
43
|
-
return `#${
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
+
return `#${m(t.item.id)}`;
|
|
47
|
+
}, S = async (e) => {
|
|
48
|
+
t.options.onSidebarClick?.(t.item.id), t.options.pathRouting && (e.preventDefault(), t.hasChildren && d("toggleOpen"), d("toggleOpen"), r.value = !1, C(t.item.id), N(t.item.id), await b(100), r.value = !0);
|
|
46
49
|
};
|
|
47
|
-
return (e,
|
|
50
|
+
return (e, i) => (o(), n("li", {
|
|
48
51
|
id: e.id,
|
|
49
52
|
class: "sidebar-group-item"
|
|
50
53
|
}, [
|
|
51
|
-
|
|
52
|
-
class:
|
|
54
|
+
a("div", {
|
|
55
|
+
class: B(["sidebar-heading", {
|
|
53
56
|
"sidebar-group-item__folder": e.hasChildren,
|
|
54
57
|
active_page: e.isActive,
|
|
55
58
|
deprecated: e.item.type === "operation" && e.item.isDeprecated
|
|
56
59
|
}]),
|
|
57
|
-
onClick:
|
|
60
|
+
onClick: u
|
|
58
61
|
}, [
|
|
59
|
-
e.hasChildren && !
|
|
60
|
-
|
|
62
|
+
e.hasChildren && !e.options.defaultOpenAllTags ? (o(), n("p", D, [
|
|
63
|
+
a("button", {
|
|
61
64
|
"aria-expanded": e.open,
|
|
62
65
|
class: "toggle-nested-icon",
|
|
63
66
|
type: "button",
|
|
64
|
-
onClick:
|
|
67
|
+
onClick: A(u, ["stop"])
|
|
65
68
|
}, [
|
|
66
|
-
|
|
67
|
-
label:
|
|
68
|
-
|
|
69
|
+
g(h(E), { open: e.open }, {
|
|
70
|
+
label: f(() => [
|
|
71
|
+
p(l(e.open ? "Collapse" : "Expand") + " " + l(e.item.title), 1)
|
|
69
72
|
]),
|
|
70
73
|
_: 1
|
|
71
74
|
}, 8, ["open"])
|
|
72
|
-
], 8,
|
|
73
|
-
|
|
75
|
+
], 8, L),
|
|
76
|
+
i[0] || (i[0] = p(" "))
|
|
74
77
|
])) : s("", !0),
|
|
75
|
-
|
|
78
|
+
a("a", {
|
|
76
79
|
class: "sidebar-heading-link",
|
|
77
|
-
href:
|
|
80
|
+
href: w(),
|
|
78
81
|
tabindex: e.hasChildren ? -1 : 0,
|
|
79
|
-
onClick:
|
|
82
|
+
onClick: S
|
|
80
83
|
}, [
|
|
81
|
-
|
|
82
|
-
|
|
84
|
+
a("p", z, [
|
|
85
|
+
e.options.operationTitleSource === "path" ? (o(), n("span", j, l(v(e.item)), 1)) : (o(), n("span", F, l(e.item.title), 1))
|
|
83
86
|
]),
|
|
84
|
-
"method" in e.item && !e.hasChildren ? (o(),
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
87
|
+
"method" in e.item && !e.hasChildren ? (o(), n("p", G, [
|
|
88
|
+
i[1] || (i[1] = p(" ")),
|
|
89
|
+
i[2] || (i[2] = a("span", { class: "sr-only" }, "HTTP Method: ", -1)),
|
|
90
|
+
g(R, {
|
|
88
91
|
active: e.isActive,
|
|
89
92
|
class: "min-w-9.75 justify-end text-right",
|
|
90
93
|
method: e.item.method
|
|
91
94
|
}, {
|
|
92
|
-
default:
|
|
93
|
-
e.item.type === "webhook" ? (o(),
|
|
95
|
+
default: f(() => [
|
|
96
|
+
e.item.type === "webhook" ? (o(), O(h(H), {
|
|
94
97
|
key: 0,
|
|
95
|
-
style:
|
|
96
|
-
color:
|
|
98
|
+
style: $({
|
|
99
|
+
color: h(V)(e.item.method).colorVar
|
|
97
100
|
}),
|
|
98
101
|
weight: "bold"
|
|
99
102
|
}, null, 8, ["style"])) : s("", !0)
|
|
@@ -101,15 +104,15 @@ const L = ["id"], M = {
|
|
|
101
104
|
_: 1
|
|
102
105
|
}, 8, ["active", "method"])
|
|
103
106
|
])) : s("", !0)
|
|
104
|
-
], 8,
|
|
107
|
+
], 8, M)
|
|
105
108
|
], 2),
|
|
106
|
-
e.open ?
|
|
107
|
-
e.$slots["action-menu"] ? (o(),
|
|
108
|
-
|
|
109
|
+
e.open ? c(e.$slots, "default", { key: 0 }, void 0, !0) : s("", !0),
|
|
110
|
+
e.$slots["action-menu"] ? (o(), n("div", W, [
|
|
111
|
+
c(e.$slots, "action-menu", {}, void 0, !0)
|
|
109
112
|
])) : s("", !0)
|
|
110
|
-
], 8,
|
|
113
|
+
], 8, U));
|
|
111
114
|
}
|
|
112
115
|
});
|
|
113
116
|
export {
|
|
114
|
-
|
|
117
|
+
ee as default
|
|
115
118
|
};
|
|
@@ -11,371 +11,9 @@ export declare const createSidebar: (store: WorkspaceStore) => {
|
|
|
11
11
|
collapsedSidebarItems: Record<string, boolean>;
|
|
12
12
|
isSidebarOpen: import("vue").Ref<boolean, boolean>;
|
|
13
13
|
items: import("vue").ComputedRef<{
|
|
14
|
-
entries: (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} & {
|
|
18
|
-
description?: string | undefined;
|
|
19
|
-
children?: (({
|
|
20
|
-
title: string;
|
|
21
|
-
id: string;
|
|
22
|
-
} & /*elided*/ any) | ({
|
|
23
|
-
title: string;
|
|
24
|
-
id: string;
|
|
25
|
-
} & {
|
|
26
|
-
children?: (({
|
|
27
|
-
title: string;
|
|
28
|
-
id: string;
|
|
29
|
-
} & /*elided*/ any) | ({
|
|
30
|
-
title: string;
|
|
31
|
-
id: string;
|
|
32
|
-
} & /*elided*/ any) | ({
|
|
33
|
-
title: string;
|
|
34
|
-
id: string;
|
|
35
|
-
} & {
|
|
36
|
-
isDeprecated?: boolean | undefined;
|
|
37
|
-
path: string;
|
|
38
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
39
|
-
type: "operation";
|
|
40
|
-
ref: string;
|
|
41
|
-
}) | ({
|
|
42
|
-
title: string;
|
|
43
|
-
id: string;
|
|
44
|
-
} & {
|
|
45
|
-
type: "model";
|
|
46
|
-
ref: string;
|
|
47
|
-
name: string;
|
|
48
|
-
}) | ({
|
|
49
|
-
title: string;
|
|
50
|
-
id: string;
|
|
51
|
-
} & {
|
|
52
|
-
isDeprecated?: boolean | undefined;
|
|
53
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
54
|
-
type: "webhook";
|
|
55
|
-
ref: string;
|
|
56
|
-
name: string;
|
|
57
|
-
}))[] | undefined;
|
|
58
|
-
type: "text";
|
|
59
|
-
}) | ({
|
|
60
|
-
title: string;
|
|
61
|
-
id: string;
|
|
62
|
-
} & {
|
|
63
|
-
isDeprecated?: boolean | undefined;
|
|
64
|
-
path: string;
|
|
65
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
66
|
-
type: "operation";
|
|
67
|
-
ref: string;
|
|
68
|
-
}) | ({
|
|
69
|
-
title: string;
|
|
70
|
-
id: string;
|
|
71
|
-
} & {
|
|
72
|
-
type: "model";
|
|
73
|
-
ref: string;
|
|
74
|
-
name: string;
|
|
75
|
-
}) | ({
|
|
76
|
-
title: string;
|
|
77
|
-
id: string;
|
|
78
|
-
} & {
|
|
79
|
-
isDeprecated?: boolean | undefined;
|
|
80
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
81
|
-
type: "webhook";
|
|
82
|
-
ref: string;
|
|
83
|
-
name: string;
|
|
84
|
-
}))[] | undefined;
|
|
85
|
-
isWebhooks?: boolean | undefined;
|
|
86
|
-
xKeys?: {
|
|
87
|
-
[x: string]: unknown;
|
|
88
|
-
} | undefined;
|
|
89
|
-
type: "tag";
|
|
90
|
-
name: string;
|
|
91
|
-
isGroup: boolean;
|
|
92
|
-
}) | ({
|
|
93
|
-
title: string;
|
|
94
|
-
id: string;
|
|
95
|
-
} & {
|
|
96
|
-
children?: (({
|
|
97
|
-
title: string;
|
|
98
|
-
id: string;
|
|
99
|
-
} & {
|
|
100
|
-
description?: string | undefined;
|
|
101
|
-
children?: (({
|
|
102
|
-
title: string;
|
|
103
|
-
id: string;
|
|
104
|
-
} & /*elided*/ any) | ({
|
|
105
|
-
title: string;
|
|
106
|
-
id: string;
|
|
107
|
-
} & /*elided*/ any) | ({
|
|
108
|
-
title: string;
|
|
109
|
-
id: string;
|
|
110
|
-
} & {
|
|
111
|
-
isDeprecated?: boolean | undefined;
|
|
112
|
-
path: string;
|
|
113
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
114
|
-
type: "operation";
|
|
115
|
-
ref: string;
|
|
116
|
-
}) | ({
|
|
117
|
-
title: string;
|
|
118
|
-
id: string;
|
|
119
|
-
} & {
|
|
120
|
-
type: "model";
|
|
121
|
-
ref: string;
|
|
122
|
-
name: string;
|
|
123
|
-
}) | ({
|
|
124
|
-
title: string;
|
|
125
|
-
id: string;
|
|
126
|
-
} & {
|
|
127
|
-
isDeprecated?: boolean | undefined;
|
|
128
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
129
|
-
type: "webhook";
|
|
130
|
-
ref: string;
|
|
131
|
-
name: string;
|
|
132
|
-
}))[] | undefined;
|
|
133
|
-
isWebhooks?: boolean | undefined;
|
|
134
|
-
xKeys?: {
|
|
135
|
-
[x: string]: unknown;
|
|
136
|
-
} | undefined;
|
|
137
|
-
type: "tag";
|
|
138
|
-
name: string;
|
|
139
|
-
isGroup: boolean;
|
|
140
|
-
}) | ({
|
|
141
|
-
title: string;
|
|
142
|
-
id: string;
|
|
143
|
-
} & /*elided*/ any) | ({
|
|
144
|
-
title: string;
|
|
145
|
-
id: string;
|
|
146
|
-
} & {
|
|
147
|
-
isDeprecated?: boolean | undefined;
|
|
148
|
-
path: string;
|
|
149
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
150
|
-
type: "operation";
|
|
151
|
-
ref: string;
|
|
152
|
-
}) | ({
|
|
153
|
-
title: string;
|
|
154
|
-
id: string;
|
|
155
|
-
} & {
|
|
156
|
-
type: "model";
|
|
157
|
-
ref: string;
|
|
158
|
-
name: string;
|
|
159
|
-
}) | ({
|
|
160
|
-
title: string;
|
|
161
|
-
id: string;
|
|
162
|
-
} & {
|
|
163
|
-
isDeprecated?: boolean | undefined;
|
|
164
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
165
|
-
type: "webhook";
|
|
166
|
-
ref: string;
|
|
167
|
-
name: string;
|
|
168
|
-
}))[] | undefined;
|
|
169
|
-
type: "text";
|
|
170
|
-
}) | ({
|
|
171
|
-
title: string;
|
|
172
|
-
id: string;
|
|
173
|
-
} & {
|
|
174
|
-
isDeprecated?: boolean | undefined;
|
|
175
|
-
path: string;
|
|
176
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
177
|
-
type: "operation";
|
|
178
|
-
ref: string;
|
|
179
|
-
}) | ({
|
|
180
|
-
title: string;
|
|
181
|
-
id: string;
|
|
182
|
-
} & {
|
|
183
|
-
type: "model";
|
|
184
|
-
ref: string;
|
|
185
|
-
name: string;
|
|
186
|
-
}) | ({
|
|
187
|
-
title: string;
|
|
188
|
-
id: string;
|
|
189
|
-
} & {
|
|
190
|
-
isDeprecated?: boolean | undefined;
|
|
191
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
192
|
-
type: "webhook";
|
|
193
|
-
ref: string;
|
|
194
|
-
name: string;
|
|
195
|
-
}))[];
|
|
196
|
-
entities: Map<string, (({
|
|
197
|
-
title: string;
|
|
198
|
-
id: string;
|
|
199
|
-
} & {
|
|
200
|
-
description?: string | undefined;
|
|
201
|
-
children?: (({
|
|
202
|
-
title: string;
|
|
203
|
-
id: string;
|
|
204
|
-
} & /*elided*/ any) | ({
|
|
205
|
-
title: string;
|
|
206
|
-
id: string;
|
|
207
|
-
} & {
|
|
208
|
-
children?: (({
|
|
209
|
-
title: string;
|
|
210
|
-
id: string;
|
|
211
|
-
} & /*elided*/ any) | ({
|
|
212
|
-
title: string;
|
|
213
|
-
id: string;
|
|
214
|
-
} & /*elided*/ any) | ({
|
|
215
|
-
title: string;
|
|
216
|
-
id: string;
|
|
217
|
-
} & {
|
|
218
|
-
isDeprecated?: boolean | undefined;
|
|
219
|
-
path: string;
|
|
220
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
221
|
-
type: "operation";
|
|
222
|
-
ref: string;
|
|
223
|
-
}) | ({
|
|
224
|
-
title: string;
|
|
225
|
-
id: string;
|
|
226
|
-
} & {
|
|
227
|
-
type: "model";
|
|
228
|
-
ref: string;
|
|
229
|
-
name: string;
|
|
230
|
-
}) | ({
|
|
231
|
-
title: string;
|
|
232
|
-
id: string;
|
|
233
|
-
} & {
|
|
234
|
-
isDeprecated?: boolean | undefined;
|
|
235
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
236
|
-
type: "webhook";
|
|
237
|
-
ref: string;
|
|
238
|
-
name: string;
|
|
239
|
-
}))[] | undefined;
|
|
240
|
-
type: "text";
|
|
241
|
-
}) | ({
|
|
242
|
-
title: string;
|
|
243
|
-
id: string;
|
|
244
|
-
} & {
|
|
245
|
-
isDeprecated?: boolean | undefined;
|
|
246
|
-
path: string;
|
|
247
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
248
|
-
type: "operation";
|
|
249
|
-
ref: string;
|
|
250
|
-
}) | ({
|
|
251
|
-
title: string;
|
|
252
|
-
id: string;
|
|
253
|
-
} & {
|
|
254
|
-
type: "model";
|
|
255
|
-
ref: string;
|
|
256
|
-
name: string;
|
|
257
|
-
}) | ({
|
|
258
|
-
title: string;
|
|
259
|
-
id: string;
|
|
260
|
-
} & {
|
|
261
|
-
isDeprecated?: boolean | undefined;
|
|
262
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
263
|
-
type: "webhook";
|
|
264
|
-
ref: string;
|
|
265
|
-
name: string;
|
|
266
|
-
}))[] | undefined;
|
|
267
|
-
isWebhooks?: boolean | undefined;
|
|
268
|
-
xKeys?: {
|
|
269
|
-
[x: string]: unknown;
|
|
270
|
-
} | undefined;
|
|
271
|
-
type: "tag";
|
|
272
|
-
name: string;
|
|
273
|
-
isGroup: boolean;
|
|
274
|
-
}) | ({
|
|
275
|
-
title: string;
|
|
276
|
-
id: string;
|
|
277
|
-
} & {
|
|
278
|
-
children?: (({
|
|
279
|
-
title: string;
|
|
280
|
-
id: string;
|
|
281
|
-
} & {
|
|
282
|
-
description?: string | undefined;
|
|
283
|
-
children?: (({
|
|
284
|
-
title: string;
|
|
285
|
-
id: string;
|
|
286
|
-
} & /*elided*/ any) | ({
|
|
287
|
-
title: string;
|
|
288
|
-
id: string;
|
|
289
|
-
} & /*elided*/ any) | ({
|
|
290
|
-
title: string;
|
|
291
|
-
id: string;
|
|
292
|
-
} & {
|
|
293
|
-
isDeprecated?: boolean | undefined;
|
|
294
|
-
path: string;
|
|
295
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
296
|
-
type: "operation";
|
|
297
|
-
ref: string;
|
|
298
|
-
}) | ({
|
|
299
|
-
title: string;
|
|
300
|
-
id: string;
|
|
301
|
-
} & {
|
|
302
|
-
type: "model";
|
|
303
|
-
ref: string;
|
|
304
|
-
name: string;
|
|
305
|
-
}) | ({
|
|
306
|
-
title: string;
|
|
307
|
-
id: string;
|
|
308
|
-
} & {
|
|
309
|
-
isDeprecated?: boolean | undefined;
|
|
310
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
311
|
-
type: "webhook";
|
|
312
|
-
ref: string;
|
|
313
|
-
name: string;
|
|
314
|
-
}))[] | undefined;
|
|
315
|
-
isWebhooks?: boolean | undefined;
|
|
316
|
-
xKeys?: {
|
|
317
|
-
[x: string]: unknown;
|
|
318
|
-
} | undefined;
|
|
319
|
-
type: "tag";
|
|
320
|
-
name: string;
|
|
321
|
-
isGroup: boolean;
|
|
322
|
-
}) | ({
|
|
323
|
-
title: string;
|
|
324
|
-
id: string;
|
|
325
|
-
} & /*elided*/ any) | ({
|
|
326
|
-
title: string;
|
|
327
|
-
id: string;
|
|
328
|
-
} & {
|
|
329
|
-
isDeprecated?: boolean | undefined;
|
|
330
|
-
path: string;
|
|
331
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
332
|
-
type: "operation";
|
|
333
|
-
ref: string;
|
|
334
|
-
}) | ({
|
|
335
|
-
title: string;
|
|
336
|
-
id: string;
|
|
337
|
-
} & {
|
|
338
|
-
type: "model";
|
|
339
|
-
ref: string;
|
|
340
|
-
name: string;
|
|
341
|
-
}) | ({
|
|
342
|
-
title: string;
|
|
343
|
-
id: string;
|
|
344
|
-
} & {
|
|
345
|
-
isDeprecated?: boolean | undefined;
|
|
346
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
347
|
-
type: "webhook";
|
|
348
|
-
ref: string;
|
|
349
|
-
name: string;
|
|
350
|
-
}))[] | undefined;
|
|
351
|
-
type: "text";
|
|
352
|
-
}) | ({
|
|
353
|
-
title: string;
|
|
354
|
-
id: string;
|
|
355
|
-
} & {
|
|
356
|
-
isDeprecated?: boolean | undefined;
|
|
357
|
-
path: string;
|
|
358
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
359
|
-
type: "operation";
|
|
360
|
-
ref: string;
|
|
361
|
-
}) | ({
|
|
362
|
-
title: string;
|
|
363
|
-
id: string;
|
|
364
|
-
} & {
|
|
365
|
-
type: "model";
|
|
366
|
-
ref: string;
|
|
367
|
-
name: string;
|
|
368
|
-
}) | ({
|
|
369
|
-
title: string;
|
|
370
|
-
id: string;
|
|
371
|
-
} & {
|
|
372
|
-
isDeprecated?: boolean | undefined;
|
|
373
|
-
method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
|
|
374
|
-
type: "webhook";
|
|
375
|
-
ref: string;
|
|
376
|
-
name: string;
|
|
377
|
-
})) & {
|
|
378
|
-
parent?: import("@scalar/workspace-store/schemas/v3.1/strict/openapi-document").TraversedEntry;
|
|
14
|
+
entries: import("@scalar/workspace-store/schemas/navigation").TraversedEntry[];
|
|
15
|
+
entities: Map<string, import("@scalar/workspace-store/schemas/navigation").TraversedEntry & {
|
|
16
|
+
parent?: import("@scalar/workspace-store/schemas/navigation").TraversedEntry;
|
|
379
17
|
}>;
|
|
380
18
|
}>;
|
|
381
19
|
scrollToOperation: (operationId: string, focus?: boolean) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-sidebar-block/helpers/create-sidebar.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAMpE;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,cAAc
|
|
1
|
+
{"version":3,"file":"create-sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-sidebar-block/helpers/create-sidebar.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAMpE;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,cAAc;;;;;;;;;qCA4BT,MAAM,UAAU,OAAO;mCAvBzB,MAAM,SAAS,OAAO;sCADnB,MAAM;CAmDhD,CAAA"}
|