@redocly/reference-docs 2.13.1 → 2.13.2
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/bin/cli/commands/redocly-docs-cli.min.js +28 -28
- package/bin/cli/commands/redocly-docs-cli.min.js.LICENSE.txt +1 -1
- package/dist/console.redocly-reference-docs.min.js +1 -1
- package/dist/oauth2-redirect.js +1 -1
- package/dist/redocly-reference-docs.min.js +495 -495
- package/lib/components/Endpoint/Endpoint.d.ts +2 -2
- package/lib/components/Endpoint/ServerList.d.ts +2 -2
- package/lib/components/Endpoint/Summary.d.ts +3 -3
- package/lib/components/NextSectionButton.d.ts +2 -2
- package/lib/components/Overlay.d.ts +1 -1
- package/lib/components/Panel/PanelComponent.d.ts +2 -1
- package/lib/components/ProProviders.d.ts +2 -2
- package/lib/components/RedoclyReferenceDocs.d.ts +3 -3
- package/lib/components/Samples/ExampleSwitch.d.ts +1 -1
- package/lib/components/Samples/SamplesTabs.d.ts +1 -1
- package/lib/components/Samples/use-example-key.d.ts +1 -1
- package/lib/components/Search/MenuItemProSearch.d.ts +2 -2
- package/lib/components/Search/MenuItemProSearch.js +1 -1
- package/lib/components/Search/ProSearchBox.d.ts +5 -5
- package/lib/components/Search/SearchField.d.ts +1 -1
- package/lib/components/StoreProvider.d.ts +3 -2
- package/lib/components/Tabs/CollapsingTabs/CollapsingTabs.d.ts +1 -1
- package/lib/components/Tabs/CollapsingTabs/CollapsingTabsBase.d.ts +2 -2
- package/lib/components/VersionSwitcher.d.ts +2 -2
- package/lib/components/common/CheckboxList.d.ts +3 -2
- package/lib/components/common/Dropdown/Dropdown.d.ts +1 -1
- package/lib/components/common/Dropdown/types.d.ts +1 -1
- package/lib/components/common/FileUpload/helper.d.ts +1 -1
- package/lib/components/common/TextField.d.ts +1 -1
- package/lib/components/console/ActionPanel.d.ts +2 -2
- package/lib/components/console/AuthPanel.d.ts +4 -4
- package/lib/components/console/CodemirrorInput.d.ts +1 -1
- package/lib/components/console/Console.d.ts +6 -6
- package/lib/components/console/OAuth2Flow.d.ts +4 -4
- package/lib/components/console/OAuth2TokenInput.d.ts +1 -1
- package/lib/components/console/OpenIDConnect.d.ts +3 -3
- package/lib/components/console/OperationParameters.d.ts +1 -1
- package/lib/components/console/RequestBody.d.ts +2 -2
- package/lib/components/console/RequestBodyForm.d.ts +1 -1
- package/lib/components/console/ResponseBody.d.ts +1 -1
- package/lib/components/console/ResponsePanel.d.ts +1 -1
- package/lib/components/console/ServerDropdown.d.ts +1 -1
- package/lib/components/console/utils.d.ts +1 -1
- package/lib/components/pluggable/RedocExample.d.ts +2 -2
- package/lib/components/pluggable/RedocRequestBody.d.ts +1 -1
- package/lib/components/pluggable/RedocResponse.d.ts +1 -1
- package/lib/components/pluggable/RedocSchema.d.ts +2 -2
- package/lib/components/pluggable/styled.components.d.ts +1 -1
- package/lib/components/styled.elements.d.ts +3 -2
- package/lib/models/code-sample-options.d.ts +1 -1
- package/lib/redoc-lib/src/common-elements/LinkToField.d.ts +2 -2
- package/lib/redoc-lib/src/common-elements/Tooltip.d.ts +1 -1
- package/lib/redoc-lib/src/common-elements/linkify.d.ts +3 -2
- package/lib/redoc-lib/src/common-elements/perfect-scrollbar.d.ts +3 -2
- package/lib/redoc-lib/src/components/ApiInfo/ApiInfo.d.ts +1 -1
- package/lib/redoc-lib/src/components/ApiLogo/ApiLogo.d.ts +1 -1
- package/lib/redoc-lib/src/components/ApiLogo/styled.elements.d.ts +1 -1
- package/lib/redoc-lib/src/components/CallbackSamples/CallbackReqSamples.d.ts +1 -1
- package/lib/redoc-lib/src/components/CallbackSamples/CallbackSamples.d.ts +2 -2
- package/lib/redoc-lib/src/components/Callbacks/CallbackDetails.d.ts +1 -1
- package/lib/redoc-lib/src/components/Callbacks/CallbackOperation.d.ts +1 -1
- package/lib/redoc-lib/src/components/Callbacks/CallbackSummary.d.ts +2 -2
- package/lib/redoc-lib/src/components/Callbacks/CallbacksList.d.ts +1 -1
- package/lib/redoc-lib/src/components/ContentItems/ContentItems.d.ts +3 -3
- package/lib/redoc-lib/src/components/DownloadButton/DownloadButton.d.ts +1 -1
- package/lib/redoc-lib/src/components/DropdownOrLabel/DropdownOrLabel.d.ts +1 -1
- package/lib/redoc-lib/src/components/ErrorBoundary.d.ts +2 -1
- package/lib/redoc-lib/src/components/ExternalDocumentation/ExternalDocumentation.d.ts +1 -1
- package/lib/redoc-lib/src/components/Fields/Field.d.ts +3 -3
- package/lib/redoc-lib/src/components/Fields/FieldDetails.d.ts +1 -1
- package/lib/redoc-lib/src/components/GenericChildrenSwitcher/GenericChildrenSwitcher.d.ts +1 -1
- package/lib/redoc-lib/src/components/Markdown/AdvancedMarkdown.d.ts +3 -3
- package/lib/redoc-lib/src/components/Markdown/SanitizedMdBlock.d.ts +1 -1
- package/lib/redoc-lib/src/components/Markdown/styled.elements.d.ts +1 -1
- package/lib/redoc-lib/src/components/MediaTypeSwitch/MediaTypesSwitch.d.ts +2 -2
- package/lib/redoc-lib/src/components/Operation/Operation.d.ts +1 -1
- package/lib/redoc-lib/src/components/OptionsProvider.d.ts +1 -1
- package/lib/redoc-lib/src/components/Parameters/ParametersGroup.d.ts +1 -1
- package/lib/redoc-lib/src/components/PayloadSamples/Example.d.ts +1 -1
- package/lib/redoc-lib/src/components/PayloadSamples/MediaTypeSamples.d.ts +1 -1
- package/lib/redoc-lib/src/components/PayloadSamples/PayloadSamples.d.ts +1 -1
- package/lib/redoc-lib/src/components/PayloadSamples/exernalExampleHook.d.ts +1 -1
- package/lib/redoc-lib/src/components/RequestSamples/CodeSample.d.ts +2 -2
- package/lib/redoc-lib/src/components/RequestSamples/RequestSamples.d.ts +1 -1
- package/lib/redoc-lib/src/components/RequestSamples/languageSwitchEvent.d.ts +3 -2
- package/lib/redoc-lib/src/components/RequestSamples/useCodeSamples.d.ts +1 -1
- package/lib/redoc-lib/src/components/Responses/Response.d.ts +1 -1
- package/lib/redoc-lib/src/components/Responses/ResponseDetails.d.ts +1 -1
- package/lib/redoc-lib/src/components/Responses/ResponseHeaders.d.ts +1 -1
- package/lib/redoc-lib/src/components/Responses/ResponseSummary.d.ts +2 -2
- package/lib/redoc-lib/src/components/Responses/ResponsesList.d.ts +1 -1
- package/lib/redoc-lib/src/components/Schema/ArraySchema.d.ts +1 -1
- package/lib/redoc-lib/src/components/Schema/DiscriminatorDropdown.d.ts +2 -2
- package/lib/redoc-lib/src/components/Schema/ObjectSchema.d.ts +1 -1
- package/lib/redoc-lib/src/components/Schema/OneOfSchema.d.ts +1 -1
- package/lib/redoc-lib/src/components/Schema/Schema.d.ts +1 -1
- package/lib/redoc-lib/src/components/SchemaDefinition/SchemaDefinition.d.ts +2 -2
- package/lib/redoc-lib/src/components/SearchBox/SearchBox.d.ts +3 -3
- package/lib/redoc-lib/src/components/SecurityRequirement/SecurityRequirement.d.ts +1 -1
- package/lib/redoc-lib/src/components/SecuritySchemes/SecuritySchemes.d.ts +2 -2
- package/lib/redoc-lib/src/components/SideMenu/MenuItem.d.ts +3 -3
- package/lib/redoc-lib/src/components/SideMenu/MenuItem.js +1 -1
- package/lib/redoc-lib/src/components/SideMenu/SideMenu.d.ts +3 -3
- package/lib/redoc-lib/src/components/SourceCode/SourceCode.d.ts +2 -2
- package/lib/redoc-lib/src/components/StickySidebar/StickyResponsiveSidebar.d.ts +3 -2
- package/lib/redoc-lib/src/components/StoreBuilder.d.ts +1 -1
- package/lib/redoc-lib/src/components/helper.d.ts +1 -1
- package/lib/redoc-lib/src/services/MarkdownRenderer.d.ts +3 -3
- package/lib/redoc-lib/src/services/MenuBuilder.d.ts +3 -3
- package/lib/redoc-lib/src/services/OpenAPIParser.d.ts +1 -1
- package/lib/redoc-lib/src/services/RedocNormalizedOptions.d.ts +5 -5
- package/lib/redoc-lib/src/services/ScrollService.d.ts +1 -1
- package/lib/redoc-lib/src/services/SpecStore.d.ts +3 -3
- package/lib/redoc-lib/src/services/models/ApiInfo.d.ts +2 -2
- package/lib/redoc-lib/src/services/models/Callback.d.ts +3 -3
- package/lib/redoc-lib/src/services/models/Example.d.ts +2 -2
- package/lib/redoc-lib/src/services/models/Field.d.ts +5 -4
- package/lib/redoc-lib/src/services/models/Group.model.d.ts +4 -4
- package/lib/redoc-lib/src/services/models/MediaContent.d.ts +5 -5
- package/lib/redoc-lib/src/services/models/MediaType.d.ts +5 -5
- package/lib/redoc-lib/src/services/models/Operation.d.ts +8 -8
- package/lib/redoc-lib/src/services/models/RequestBody.d.ts +4 -4
- package/lib/redoc-lib/src/services/models/Response.d.ts +4 -4
- package/lib/redoc-lib/src/services/models/Schema.d.ts +5 -5
- package/lib/redoc-lib/src/services/models/SecurityRequirement.d.ts +2 -2
- package/lib/redoc-lib/src/services/models/SecuritySchemes.d.ts +2 -2
- package/lib/redoc-lib/src/services/models/Webhook.d.ts +3 -3
- package/lib/redoc-lib/src/styled-components.d.ts +2 -2
- package/lib/redoc-lib/src/types/open-api.d.ts +2 -2
- package/lib/redoc-lib/src/utils/helpers.d.ts +3 -3
- package/lib/redoc-lib/src/utils/helpers.js +1 -1
- package/lib/redoc-lib/src/utils/loadAndBundleSpec.d.ts +1 -1
- package/lib/redoc-lib/src/utils/media-css.d.ts +1 -1
- package/lib/redoc-lib/src/utils/openapi.d.ts +3 -3
- package/lib/services/ProMenu.d.ts +2 -2
- package/lib/services/ProStore.d.ts +13 -26
- package/lib/services/ProStore.js +1 -1
- package/lib/services/SearchStore.d.ts +3 -2
- package/lib/services/VersionedSpecStore.d.ts +3 -2
- package/lib/services/code-samples/generator.d.ts +3 -3
- package/lib/services/code-samples/httpsnippet/helpers/code-helpers.d.ts +2 -2
- package/lib/services/code-samples/httpsnippet/index.d.ts +2 -2
- package/lib/services/code-samples/httpsnippet/targets/csharp/httpclient.d.ts +2 -2
- package/lib/services/code-samples/httpsnippet/targets/go/native.d.ts +2 -2
- package/lib/services/code-samples/httpsnippet/targets/java/httpclient.d.ts +2 -2
- package/lib/services/code-samples/httpsnippet/targets/java8/apachehttp.d.ts +2 -2
- package/lib/services/code-samples/httpsnippet/targets/javascript/fetch.d.ts +2 -2
- package/lib/services/code-samples/httpsnippet/targets/node/fetch.d.ts +2 -2
- package/lib/services/code-samples/httpsnippet/targets/php/curl.d.ts +2 -2
- package/lib/services/code-samples/httpsnippet/targets/php/utils.d.ts +1 -1
- package/lib/services/code-samples/httpsnippet/targets/python/requests.d.ts +2 -2
- package/lib/services/code-samples/httpsnippet/targets/ruby/native.d.ts +2 -2
- package/lib/services/code-samples/httpsnippet/targets/shell/curl.d.ts +2 -2
- package/lib/services/extendTheme.d.ts +2 -2
- package/lib/services/history/FakeHistoryService.d.ts +2 -2
- package/lib/services/history/ProHashHistoryService.d.ts +2 -2
- package/lib/services/history/PushStateHistoryService.d.ts +3 -2
- package/lib/services/history/helpers.d.ts +1 -1
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.js +1 -1
- package/lib/services/types.d.ts +24 -0
- package/lib/services/types.js +2 -0
- package/lib/services/utils.js +1 -1
- package/lib/standalone.d.ts +3 -3
- package/lib/utils.js +1 -1
- package/lib-esm/components/Endpoint/Endpoint.d.ts +2 -2
- package/lib-esm/components/Endpoint/ServerList.d.ts +2 -2
- package/lib-esm/components/Endpoint/Summary.d.ts +3 -3
- package/lib-esm/components/NextSectionButton.d.ts +2 -2
- package/lib-esm/components/Overlay.d.ts +1 -1
- package/lib-esm/components/Panel/PanelComponent.d.ts +2 -1
- package/lib-esm/components/ProProviders.d.ts +2 -2
- package/lib-esm/components/RedoclyReferenceDocs.d.ts +3 -3
- package/lib-esm/components/Samples/ExampleSwitch.d.ts +1 -1
- package/lib-esm/components/Samples/SamplesTabs.d.ts +1 -1
- package/lib-esm/components/Samples/use-example-key.d.ts +1 -1
- package/lib-esm/components/Search/MenuItemProSearch.d.ts +2 -2
- package/lib-esm/components/Search/MenuItemProSearch.js +1 -1
- package/lib-esm/components/Search/ProSearchBox.d.ts +5 -5
- package/lib-esm/components/Search/SearchField.d.ts +1 -1
- package/lib-esm/components/StoreProvider.d.ts +3 -2
- package/lib-esm/components/Tabs/CollapsingTabs/CollapsingTabs.d.ts +1 -1
- package/lib-esm/components/Tabs/CollapsingTabs/CollapsingTabsBase.d.ts +2 -2
- package/lib-esm/components/VersionSwitcher.d.ts +2 -2
- package/lib-esm/components/common/CheckboxList.d.ts +3 -2
- package/lib-esm/components/common/Dropdown/Dropdown.d.ts +1 -1
- package/lib-esm/components/common/Dropdown/types.d.ts +1 -1
- package/lib-esm/components/common/FileUpload/helper.d.ts +1 -1
- package/lib-esm/components/common/TextField.d.ts +1 -1
- package/lib-esm/components/console/ActionPanel.d.ts +2 -2
- package/lib-esm/components/console/AuthPanel.d.ts +4 -4
- package/lib-esm/components/console/CodemirrorInput.d.ts +1 -1
- package/lib-esm/components/console/Console.d.ts +6 -6
- package/lib-esm/components/console/OAuth2Flow.d.ts +4 -4
- package/lib-esm/components/console/OAuth2TokenInput.d.ts +1 -1
- package/lib-esm/components/console/OpenIDConnect.d.ts +3 -3
- package/lib-esm/components/console/OperationParameters.d.ts +1 -1
- package/lib-esm/components/console/RequestBody.d.ts +2 -2
- package/lib-esm/components/console/RequestBodyForm.d.ts +1 -1
- package/lib-esm/components/console/ResponseBody.d.ts +1 -1
- package/lib-esm/components/console/ResponsePanel.d.ts +1 -1
- package/lib-esm/components/console/ServerDropdown.d.ts +1 -1
- package/lib-esm/components/console/utils.d.ts +1 -1
- package/lib-esm/components/pluggable/RedocExample.d.ts +2 -2
- package/lib-esm/components/pluggable/RedocRequestBody.d.ts +1 -1
- package/lib-esm/components/pluggable/RedocResponse.d.ts +1 -1
- package/lib-esm/components/pluggable/RedocSchema.d.ts +2 -2
- package/lib-esm/components/pluggable/styled.components.d.ts +1 -1
- package/lib-esm/components/styled.elements.d.ts +3 -2
- package/lib-esm/models/code-sample-options.d.ts +1 -1
- package/lib-esm/redoc-lib/src/common-elements/LinkToField.d.ts +2 -2
- package/lib-esm/redoc-lib/src/common-elements/Tooltip.d.ts +1 -1
- package/lib-esm/redoc-lib/src/common-elements/linkify.d.ts +3 -2
- package/lib-esm/redoc-lib/src/common-elements/perfect-scrollbar.d.ts +3 -2
- package/lib-esm/redoc-lib/src/components/ApiInfo/ApiInfo.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/ApiLogo/ApiLogo.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/ApiLogo/styled.elements.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/CallbackSamples/CallbackReqSamples.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/CallbackSamples/CallbackSamples.d.ts +2 -2
- package/lib-esm/redoc-lib/src/components/Callbacks/CallbackDetails.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Callbacks/CallbackOperation.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Callbacks/CallbackSummary.d.ts +2 -2
- package/lib-esm/redoc-lib/src/components/Callbacks/CallbacksList.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/ContentItems/ContentItems.d.ts +3 -3
- package/lib-esm/redoc-lib/src/components/DownloadButton/DownloadButton.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/DropdownOrLabel/DropdownOrLabel.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/ErrorBoundary.d.ts +2 -1
- package/lib-esm/redoc-lib/src/components/ExternalDocumentation/ExternalDocumentation.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Fields/Field.d.ts +3 -3
- package/lib-esm/redoc-lib/src/components/Fields/FieldDetails.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/GenericChildrenSwitcher/GenericChildrenSwitcher.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Markdown/AdvancedMarkdown.d.ts +3 -3
- package/lib-esm/redoc-lib/src/components/Markdown/SanitizedMdBlock.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Markdown/styled.elements.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/MediaTypeSwitch/MediaTypesSwitch.d.ts +2 -2
- package/lib-esm/redoc-lib/src/components/Operation/Operation.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/OptionsProvider.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Parameters/ParametersGroup.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/PayloadSamples/Example.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/PayloadSamples/MediaTypeSamples.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/PayloadSamples/PayloadSamples.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/PayloadSamples/exernalExampleHook.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/RequestSamples/CodeSample.d.ts +2 -2
- package/lib-esm/redoc-lib/src/components/RequestSamples/RequestSamples.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/RequestSamples/languageSwitchEvent.d.ts +3 -2
- package/lib-esm/redoc-lib/src/components/RequestSamples/useCodeSamples.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Responses/Response.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Responses/ResponseDetails.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Responses/ResponseHeaders.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Responses/ResponseSummary.d.ts +2 -2
- package/lib-esm/redoc-lib/src/components/Responses/ResponsesList.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Schema/ArraySchema.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Schema/DiscriminatorDropdown.d.ts +2 -2
- package/lib-esm/redoc-lib/src/components/Schema/ObjectSchema.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Schema/OneOfSchema.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/Schema/Schema.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/SchemaDefinition/SchemaDefinition.d.ts +2 -2
- package/lib-esm/redoc-lib/src/components/SearchBox/SearchBox.d.ts +3 -3
- package/lib-esm/redoc-lib/src/components/SecurityRequirement/SecurityRequirement.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/SecuritySchemes/SecuritySchemes.d.ts +2 -2
- package/lib-esm/redoc-lib/src/components/SideMenu/MenuItem.d.ts +3 -3
- package/lib-esm/redoc-lib/src/components/SideMenu/MenuItem.js +1 -1
- package/lib-esm/redoc-lib/src/components/SideMenu/SideMenu.d.ts +3 -3
- package/lib-esm/redoc-lib/src/components/SourceCode/SourceCode.d.ts +2 -2
- package/lib-esm/redoc-lib/src/components/StickySidebar/StickyResponsiveSidebar.d.ts +3 -2
- package/lib-esm/redoc-lib/src/components/StoreBuilder.d.ts +1 -1
- package/lib-esm/redoc-lib/src/components/helper.d.ts +1 -1
- package/lib-esm/redoc-lib/src/services/MarkdownRenderer.d.ts +3 -3
- package/lib-esm/redoc-lib/src/services/MenuBuilder.d.ts +3 -3
- package/lib-esm/redoc-lib/src/services/OpenAPIParser.d.ts +1 -1
- package/lib-esm/redoc-lib/src/services/RedocNormalizedOptions.d.ts +5 -5
- package/lib-esm/redoc-lib/src/services/ScrollService.d.ts +1 -1
- package/lib-esm/redoc-lib/src/services/SpecStore.d.ts +3 -3
- package/lib-esm/redoc-lib/src/services/models/ApiInfo.d.ts +2 -2
- package/lib-esm/redoc-lib/src/services/models/Callback.d.ts +3 -3
- package/lib-esm/redoc-lib/src/services/models/Example.d.ts +2 -2
- package/lib-esm/redoc-lib/src/services/models/Field.d.ts +5 -4
- package/lib-esm/redoc-lib/src/services/models/Group.model.d.ts +4 -4
- package/lib-esm/redoc-lib/src/services/models/MediaContent.d.ts +5 -5
- package/lib-esm/redoc-lib/src/services/models/MediaType.d.ts +5 -5
- package/lib-esm/redoc-lib/src/services/models/Operation.d.ts +8 -8
- package/lib-esm/redoc-lib/src/services/models/RequestBody.d.ts +4 -4
- package/lib-esm/redoc-lib/src/services/models/Response.d.ts +4 -4
- package/lib-esm/redoc-lib/src/services/models/Schema.d.ts +5 -5
- package/lib-esm/redoc-lib/src/services/models/SecurityRequirement.d.ts +2 -2
- package/lib-esm/redoc-lib/src/services/models/SecuritySchemes.d.ts +2 -2
- package/lib-esm/redoc-lib/src/services/models/Webhook.d.ts +3 -3
- package/lib-esm/redoc-lib/src/styled-components.d.ts +2 -2
- package/lib-esm/redoc-lib/src/types/open-api.d.ts +2 -2
- package/lib-esm/redoc-lib/src/utils/helpers.d.ts +3 -3
- package/lib-esm/redoc-lib/src/utils/helpers.js +1 -1
- package/lib-esm/redoc-lib/src/utils/loadAndBundleSpec.d.ts +1 -1
- package/lib-esm/redoc-lib/src/utils/media-css.d.ts +1 -1
- package/lib-esm/redoc-lib/src/utils/openapi.d.ts +3 -3
- package/lib-esm/services/ProMenu.d.ts +2 -2
- package/lib-esm/services/ProStore.d.ts +13 -26
- package/lib-esm/services/ProStore.js +1 -1
- package/lib-esm/services/SearchStore.d.ts +3 -2
- package/lib-esm/services/VersionedSpecStore.d.ts +3 -2
- package/lib-esm/services/code-samples/generator.d.ts +3 -3
- package/lib-esm/services/code-samples/httpsnippet/helpers/code-helpers.d.ts +2 -2
- package/lib-esm/services/code-samples/httpsnippet/index.d.ts +2 -2
- package/lib-esm/services/code-samples/httpsnippet/targets/csharp/httpclient.d.ts +2 -2
- package/lib-esm/services/code-samples/httpsnippet/targets/go/native.d.ts +2 -2
- package/lib-esm/services/code-samples/httpsnippet/targets/java/httpclient.d.ts +2 -2
- package/lib-esm/services/code-samples/httpsnippet/targets/java8/apachehttp.d.ts +2 -2
- package/lib-esm/services/code-samples/httpsnippet/targets/javascript/fetch.d.ts +2 -2
- package/lib-esm/services/code-samples/httpsnippet/targets/node/fetch.d.ts +2 -2
- package/lib-esm/services/code-samples/httpsnippet/targets/php/curl.d.ts +2 -2
- package/lib-esm/services/code-samples/httpsnippet/targets/php/utils.d.ts +1 -1
- package/lib-esm/services/code-samples/httpsnippet/targets/python/requests.d.ts +2 -2
- package/lib-esm/services/code-samples/httpsnippet/targets/ruby/native.d.ts +2 -2
- package/lib-esm/services/code-samples/httpsnippet/targets/shell/curl.d.ts +2 -2
- package/lib-esm/services/extendTheme.d.ts +2 -2
- package/lib-esm/services/history/FakeHistoryService.d.ts +2 -2
- package/lib-esm/services/history/ProHashHistoryService.d.ts +2 -2
- package/lib-esm/services/history/PushStateHistoryService.d.ts +3 -2
- package/lib-esm/services/history/helpers.d.ts +1 -1
- package/lib-esm/services/index.d.ts +1 -0
- package/lib-esm/services/index.js +1 -1
- package/lib-esm/services/types.d.ts +24 -0
- package/lib-esm/services/types.js +2 -0
- package/lib-esm/services/utils.js +1 -1
- package/lib-esm/standalone.d.ts +3 -3
- package/lib-esm/utils.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { OperationModel } from '../../redoc-lib/src/services';
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { OperationModel } from '../../redoc-lib/src/services';
|
|
3
3
|
export interface EndpointProps {
|
|
4
4
|
operation: OperationModel;
|
|
5
5
|
hideHostname?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { OperationModel } from '../../redoc-lib/src/services';
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { OperationModel } from '../../redoc-lib/src/services';
|
|
3
3
|
export interface ServerListProps {
|
|
4
4
|
operation: OperationModel;
|
|
5
5
|
expandVariables: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { OperationModel } from '../../redoc-lib';
|
|
3
|
-
import { PanelHeaderProps } from '../Panel';
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { OperationModel } from '../../redoc-lib';
|
|
3
|
+
import type { PanelHeaderProps } from '../Panel';
|
|
4
4
|
export declare type EndpointSummaryProps = PanelHeaderProps & {
|
|
5
5
|
operation: OperationModel;
|
|
6
6
|
onToggleConsole: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ProMenu } from '../services/ProMenu';
|
|
3
|
-
import { RedocProNormalizedOptions } from '../services/ProStore';
|
|
2
|
+
import type { ProMenu } from '../services/ProMenu';
|
|
3
|
+
import type { RedocProNormalizedOptions } from '../services/ProStore';
|
|
4
4
|
export declare const NextSectionButton: import("styled-components").StyledComponent<"button", import("../services/extendTheme").ProTheme, import("./shared/Button").ButtonProps, never>;
|
|
5
5
|
export declare const NextSectionButtonLink: import("styled-components").StyledComponent<"a", import("../services/extendTheme").ProTheme, import("./shared/Button").ButtonProps, never>;
|
|
6
6
|
interface ContinueButtonProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { RedocNormalizedOptions } from '../redoc-lib';
|
|
3
|
-
import { ProStore } from '../services/ProStore';
|
|
2
|
+
import type { RedocNormalizedOptions } from '../redoc-lib';
|
|
3
|
+
import type { ProStore } from '../services/ProStore';
|
|
4
4
|
export interface ProProvidersProps {
|
|
5
5
|
store: ProStore;
|
|
6
6
|
children: React.ReactNode;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ProStore, RedocProRawOptions } from '../services/ProStore';
|
|
2
|
+
import type { ProStore, RedocProRawOptions } from '../services/ProStore';
|
|
3
3
|
import { LayoutVariant } from '../services/store-types';
|
|
4
|
-
import { SpecVersions } from '../services/VersionedSpecStore';
|
|
5
|
-
import { CodeSampleConfig } from '../services/code-samples/types';
|
|
4
|
+
import type { SpecVersions } from '../services/VersionedSpecStore';
|
|
5
|
+
import type { CodeSampleConfig } from '../services/code-samples/types';
|
|
6
6
|
export interface RedoclyReferenceDocsProps {
|
|
7
7
|
store: ProStore;
|
|
8
8
|
_forceRenderInfo?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import { SearchResultMeta } from '../../services/SearchStore';
|
|
2
|
+
import type { HistoryService, IMenuItem } from '../../redoc-lib';
|
|
3
|
+
import type { SearchResultMeta } from '../../services/SearchStore';
|
|
4
4
|
export interface MenuItemProProps {
|
|
5
5
|
result: SearchResultExtended;
|
|
6
6
|
active: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuItemPro=void 0;var templateObject_1,templateObject_2,templateObject_3,tslib_1=require("tslib"),React=(0,tslib_1.__importStar)(require("react")),redoc_lib_1=require("../../redoc-lib"),ResultMeta=redoc_lib_1.styled.div(templateObject_1||(templateObject_1=(0,tslib_1.__makeTemplateObject)(["\n font-size: 0.8em;\n ","\n"],["\n font-size: 0.8em;\n ","\n"])),(function(e){var t=e.theme;return(0,redoc_lib_1.mediaCSS)({fontFamily:t.typography.code.fontFamily})})),Place=redoc_lib_1.styled.span(templateObject_2||(templateObject_2=(0,tslib_1.__makeTemplateObject)(["\n font-weight: bold;\n"],["\n font-weight: bold;\n"]))),MarkedSpan=redoc_lib_1.styled.span(templateObject_3||(templateObject_3=(0,tslib_1.__makeTemplateObject)(["\n color: ",";\n background-color: #ffff03;\n"],["\n color: ",";\n background-color: #ffff03;\n"])),(function(e){return e.theme.sidebar.activeTextColor})),MenuItemPro=function(e){var t=e.result,a=e.active,n=e.term,r=e.onActivate,l=e.history,c=React.useContext(redoc_lib_1.OptionsContext),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuItemPro=void 0;var templateObject_1,templateObject_2,templateObject_3,tslib_1=require("tslib"),React=(0,tslib_1.__importStar)(require("react")),redoc_lib_1=require("../../redoc-lib"),services_1=require("../../services"),ResultMeta=redoc_lib_1.styled.div(templateObject_1||(templateObject_1=(0,tslib_1.__makeTemplateObject)(["\n font-size: 0.8em;\n ","\n"],["\n font-size: 0.8em;\n ","\n"])),(function(e){var t=e.theme;return(0,redoc_lib_1.mediaCSS)({fontFamily:t.typography.code.fontFamily})})),Place=redoc_lib_1.styled.span(templateObject_2||(templateObject_2=(0,tslib_1.__makeTemplateObject)(["\n font-weight: bold;\n"],["\n font-weight: bold;\n"]))),MarkedSpan=redoc_lib_1.styled.span(templateObject_3||(templateObject_3=(0,tslib_1.__makeTemplateObject)(["\n color: ",";\n background-color: #ffff03;\n"],["\n color: ",";\n background-color: #ffff03;\n"])),(function(e){return e.theme.sidebar.activeTextColor})),MenuItemPro=function(e){var t=e.result,a=e.active,n=e.term,r=e.onActivate,l=e.history,c=React.useContext(redoc_lib_1.OptionsContext),i="path-only"===c.searchMode,o=c.sideNavStyle===services_1.SideNavStyle.PathFirst;return React.createElement(redoc_lib_1.MenuItem,{item:Object.create(t.item,{active:{value:a},name:{value:i?t.item.name:""},path:{value:""},search:{value:!0}}),onActivate:function(e,a){if(a.ctrlKey){var n=l.linkForId(t.item.id);window.open(n,"_blank")}else r(t)},withoutChildren:!0,"data-role":"search:result"},(o||i)&&"operation"===t.item.type?React.createElement(React.Fragment,null,React.createElement(redoc_lib_1.MenuItemPath,{title:t.item.path},markString(t.item.path,n))):markString(t.item.name,n),t.count>1?React.createElement(ResultMeta,null,t.count," matching ",formatPlaces(t.places)):1===t.count?React.createElement(ResultMeta,null,"in ",React.createElement(Place,null,t.places[0].place)," ",formatPath(n,t.places[0].paths[0])):null)};function formatPlaces(e){return e.slice().sort(),e.map((function(e){return e.place})).join(" and ")}function formatPath(e,t){return t&&t.length&&t[t.length-1].toLowerCase().startsWith(e.toLowerCase())&&(t=t.slice(0,t.length-1)),t&&0!==t.length?" → "+t.join(" → "):""}function markString(e,t){for(var a=new RegExp("("+t.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")+")","gi"),n=e.split(a),r=1,l=n.length;r<l;r+=2)n[r]=React.createElement(MarkedSpan,{key:r},n[r]);return n}exports.MenuItemPro=MenuItemPro;
|
|
2
2
|
//# sourceMappingURL=MenuItemProSearch.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SearchResultMeta } from '../../services/SearchStore';
|
|
3
|
-
import { ProMenu } from '../../services/ProMenu';
|
|
4
|
-
import { RedocProNormalizedOptions } from '../../services/ProStore';
|
|
5
|
-
import { IMenuItem, SearchStore, MenuItem, MarkerService } from '../../redoc-lib';
|
|
6
|
-
import { SearchResultExtended } from './MenuItemProSearch';
|
|
2
|
+
import type { SearchResultMeta } from '../../services/SearchStore';
|
|
3
|
+
import type { ProMenu } from '../../services/ProMenu';
|
|
4
|
+
import type { RedocProNormalizedOptions } from '../../services/ProStore';
|
|
5
|
+
import type { IMenuItem, SearchStore, MenuItem, MarkerService } from '../../redoc-lib';
|
|
6
|
+
import type { SearchResultExtended } from './MenuItemProSearch';
|
|
7
7
|
declare type SearchResult<T = GenericObject | undefined> = {
|
|
8
8
|
score: number;
|
|
9
9
|
meta: T;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { RedocProRawOptions } from '../services/ProStore';
|
|
3
|
+
import { ProStore } from '../services/ProStore';
|
|
4
|
+
import type { CodeSampleConfig } from '../services/code-samples/types';
|
|
4
5
|
import type { SpecVersions } from '../services/VersionedSpecStore';
|
|
5
6
|
export declare const Provider: React.Provider<ProStore | undefined>, Consumer: React.Consumer<ProStore | undefined>;
|
|
6
7
|
interface StoreProviderProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TabProps as ReactTabProps } from 'react-tabs';
|
|
3
|
-
import { OperationModel } from '../../../redoc-lib';
|
|
2
|
+
import type { TabProps as ReactTabProps } from 'react-tabs';
|
|
3
|
+
import type { OperationModel } from '../../../redoc-lib';
|
|
4
4
|
export interface TabProps extends ReactTabProps {
|
|
5
5
|
title: string;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DropdownOption } from './common/Dropdown';
|
|
3
|
-
import { VersionedSpecStore } from '../services/VersionedSpecStore';
|
|
2
|
+
import type { DropdownOption } from './common/Dropdown';
|
|
3
|
+
import type { VersionedSpecStore } from '../services/VersionedSpecStore';
|
|
4
4
|
export interface VersionSwitcherProps {
|
|
5
5
|
onChange: (o: DropdownOption) => void;
|
|
6
6
|
spec: VersionedSpecStore;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import type { ChangeEvent } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { FieldContext } from 'informed';
|
|
3
4
|
declare type FieldValue = string[];
|
|
4
5
|
interface CheckboxListComponentState {
|
|
5
6
|
collapsed: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FieldProps } from 'informed';
|
|
2
|
+
import type { FieldProps } from 'informed';
|
|
3
3
|
import type { DropdownOption, DropdownProps } from './Dropdown';
|
|
4
4
|
export declare const invertedInputStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("../../services/extendTheme").ProTheme>>;
|
|
5
5
|
export declare const StyledInput: import("styled-components").StyledComponent<"input", import("../../services/extendTheme").ProTheme, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FormValues } from 'informed';
|
|
3
|
-
import { OperationModel } from '../../redoc-lib';
|
|
2
|
+
import type { FormValues } from 'informed';
|
|
3
|
+
import type { OperationModel } from '../../redoc-lib';
|
|
4
4
|
export interface ActionPanelProps {
|
|
5
5
|
execute: () => void;
|
|
6
6
|
loading: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FormApi, FormState } from 'informed';
|
|
3
|
-
import { OperationModel } from '../../redoc-lib';
|
|
4
|
-
import { SecurityDetails } from '../../utils';
|
|
5
|
-
import { DropdownOption } from '../common/Dropdown';
|
|
2
|
+
import type { FormApi, FormState } from 'informed';
|
|
3
|
+
import type { OperationModel } from '../../redoc-lib';
|
|
4
|
+
import type { SecurityDetails } from '../../utils';
|
|
5
|
+
import type { DropdownOption } from '../common/Dropdown';
|
|
6
6
|
export declare function requiredValidator(value: unknown): string | undefined;
|
|
7
7
|
export interface AuthPanelProps {
|
|
8
8
|
operation: OperationModel;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Controlled as CodeMirror } from 'react-codemirror2';
|
|
3
|
-
import { Editor } from 'codemirror';
|
|
3
|
+
import type { Editor } from 'codemirror';
|
|
4
4
|
import './codemirror-helpers';
|
|
5
5
|
export interface CodemirrorInputBase {
|
|
6
6
|
forwardedRef?: React.Ref<any>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FormApi, FormState } from 'informed';
|
|
3
|
-
import { SecurityDetails } from '../../utils';
|
|
4
|
-
import { OpenApiResponseData } from './ResponsePanel';
|
|
5
|
-
import { ProStore } from '../../services';
|
|
6
|
-
import { OperationModel, Server } from '../../redoc-lib';
|
|
7
|
-
import { PanelComponentProps } from '../Panel';
|
|
2
|
+
import type { FormApi, FormState } from 'informed';
|
|
3
|
+
import type { SecurityDetails } from '../../utils';
|
|
4
|
+
import type { OpenApiResponseData } from './ResponsePanel';
|
|
5
|
+
import type { ProStore } from '../../services';
|
|
6
|
+
import type { OperationModel, Server } from '../../redoc-lib';
|
|
7
|
+
import type { PanelComponentProps } from '../Panel';
|
|
8
8
|
export declare type RequestAndResponseType = {
|
|
9
9
|
request: Record<string, unknown>;
|
|
10
10
|
response: OpenApiResponseData;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FormApi, FormState } from 'informed';
|
|
3
|
-
import { InputActionButtonProps } from '../common/TextField';
|
|
4
|
-
import { SecurityDetails } from '../../utils';
|
|
5
|
-
import { RedocProNormalizedOptions } from '../../services';
|
|
2
|
+
import type { FormApi, FormState } from 'informed';
|
|
3
|
+
import type { InputActionButtonProps } from '../common/TextField';
|
|
4
|
+
import type { SecurityDetails } from '../../utils';
|
|
5
|
+
import type { RedocProNormalizedOptions } from '../../services';
|
|
6
6
|
export interface OAuth2FlowProps {
|
|
7
7
|
authorizationUrl: string;
|
|
8
8
|
tokenUrl?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { FormApi, FormState } from 'informed';
|
|
3
|
-
import { SecurityScheme } from '../../redoc-lib';
|
|
4
|
-
import { SecurityDetails } from '../../utils';
|
|
2
|
+
import type { FormApi, FormState } from 'informed';
|
|
3
|
+
import type { SecurityScheme } from '../../redoc-lib';
|
|
4
|
+
import type { SecurityDetails } from '../../utils';
|
|
5
5
|
export interface OpenIDConnectProps {
|
|
6
6
|
server: string;
|
|
7
7
|
authCorsProxyUrl: Maybe<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { RequestBodyModel } from '../../redoc-lib';
|
|
3
|
-
import { Console } from './Console';
|
|
2
|
+
import type { RequestBodyModel } from '../../redoc-lib';
|
|
3
|
+
import type { Console } from './Console';
|
|
4
4
|
export interface RequestBodyProps {
|
|
5
5
|
body: RequestBodyModel;
|
|
6
6
|
resolvedBody: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FileInfo } from '../../redoc-lib/src/common-elements/Download';
|
|
2
|
+
import type { FileInfo } from '../../redoc-lib/src/common-elements/Download';
|
|
3
3
|
export interface OpenApiResponseData extends FileInfo {
|
|
4
4
|
body?: GenericObject;
|
|
5
5
|
data: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { OperationModel, Server } from '../../redoc-lib';
|
|
3
|
-
import { DropdownOption } from '../common/Dropdown';
|
|
3
|
+
import type { DropdownOption } from '../common/Dropdown';
|
|
4
4
|
export interface ServerDropdownProps {
|
|
5
5
|
operation: OperationModel;
|
|
6
6
|
onChange: (server: Server) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FieldModel, OpenAPIServer, Server, ServerVariables } from '../../redoc-lib';
|
|
1
|
+
import type { FieldModel, OpenAPIServer, Server, ServerVariables } from '../../redoc-lib';
|
|
2
2
|
export declare function normalizeUrlProtocol(url: string): string;
|
|
3
3
|
export declare function updateStorage(state: GenericObject): void;
|
|
4
4
|
export declare const getParameters: (parameters: FieldModel[], type: string) => GenericObject;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { OpenAPIEncoding } from '../../redoc-lib';
|
|
3
|
-
import { ProStore } from '../../services/ProStore';
|
|
2
|
+
import type { OpenAPIEncoding } from '../../redoc-lib';
|
|
3
|
+
import type { ProStore } from '../../services/ProStore';
|
|
4
4
|
interface RedocExampleProps {
|
|
5
5
|
store: ProStore;
|
|
6
6
|
pointer: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { OpenAPISchema } from '../../redoc-lib';
|
|
3
|
-
import { ProStore } from '../../services';
|
|
2
|
+
import type { OpenAPISchema } from '../../redoc-lib';
|
|
3
|
+
import type { ProStore } from '../../services';
|
|
4
4
|
interface RedocSchemaProps {
|
|
5
5
|
store: ProStore;
|
|
6
6
|
pointer?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProTheme } from '../../services/extendTheme';
|
|
1
|
+
import type { ProTheme } from '../../services/extendTheme';
|
|
2
2
|
export declare const SamplesWrap: import("styled-components").StyledComponent<"div", ProTheme, {}, never>;
|
|
3
3
|
export declare const ExamplesWrap: import("styled-components").StyledComponent<"div", ProTheme, {}, never>;
|
|
4
4
|
export declare const FullWidthPanel: import("styled-components").StyledComponent<"div", ProTheme, {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ProTheme } from '../services/extendTheme';
|
|
3
|
-
import { ProStore
|
|
2
|
+
import type { ProTheme } from '../services/extendTheme';
|
|
3
|
+
import type { ProStore } from '../services';
|
|
4
|
+
import { LayoutVariant } from '../services';
|
|
4
5
|
export declare const StyledToggleRightPanelButton: import("styled-components").StyledComponent<"a", ProTheme, {}, never>;
|
|
5
6
|
export declare const ToggleRightPanelButton: ({ store, isVisible, }: {
|
|
6
7
|
store: ProStore;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { FlattenSimpleInterpolation } from 'styled-components';
|
|
3
4
|
export declare function userIsForcingNavigation(event: React.MouseEvent): boolean;
|
|
4
5
|
export declare const linkifyMixin: (className: string, size: string) => FlattenSimpleInterpolation;
|
|
5
6
|
export declare function Link(props: PropsWithChildren<{
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type PerfectScrollbarType from 'perfect-scrollbar';
|
|
3
4
|
export interface PerfectScrollbarProps {
|
|
4
5
|
options?: PerfectScrollbarType.Options;
|
|
5
6
|
className?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
3
3
|
export declare const LogoImgEl: import("styled-components").StyledComponent<"img", import("../../../../services/extendTheme").ProTheme, {}, never>;
|
|
4
4
|
export declare const LogoWrap: import("styled-components").StyledComponent<"div", import("../../../../services/extendTheme").ProTheme, {}, never>;
|
|
5
5
|
export declare const LinkWrap: ({ url, children }: React.PropsWithChildren<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { OperationModel } from '../../services/models';
|
|
2
|
+
import type { OperationModel } from '../../services/models';
|
|
3
3
|
import type { DropdownProps } from '../../../../components/common/Dropdown';
|
|
4
4
|
export interface PayloadSampleProps {
|
|
5
5
|
callback: OperationModel;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { RedocNormalizedOptions } from '../../services';
|
|
3
|
-
import { CallbackModel } from '../../services/models';
|
|
2
|
+
import type { RedocNormalizedOptions } from '../../services';
|
|
3
|
+
import type { CallbackModel } from '../../services/models';
|
|
4
4
|
export interface CallbackSamplesProps {
|
|
5
5
|
callbacks: CallbackModel[];
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PanelHeaderProps } from '../../../../components/Panel';
|
|
3
|
-
import { OperationModel } from '../../services';
|
|
2
|
+
import type { PanelHeaderProps } from '../../../../components/Panel';
|
|
3
|
+
import type { OperationModel } from '../../services';
|
|
4
4
|
export interface CallbackTitleProps extends PanelHeaderProps {
|
|
5
5
|
operation: OperationModel;
|
|
6
6
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ContentItemModel } from '../../services/MenuBuilder';
|
|
3
|
-
import { OperationModel } from '../../services/models';
|
|
2
|
+
import type { ContentItemModel } from '../../services/MenuBuilder';
|
|
3
|
+
import type { OperationModel } from '../../services/models';
|
|
4
4
|
import type { LayoutVariant } from '../../../../services/';
|
|
5
|
-
import { ProStore } from '../../../../services/ProStore';
|
|
5
|
+
import type { ProStore } from '../../../../services/ProStore';
|
|
6
6
|
interface ContentItemsProps {
|
|
7
7
|
items: ContentItemModel[];
|
|
8
8
|
store: ProStore;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ApiInfoProps } from '../ApiInfo/ApiInfo';
|
|
2
|
+
import type { ApiInfoProps } from '../ApiInfo/ApiInfo';
|
|
3
3
|
export declare function DownloadButtonWithLabel({ store, wrapped, }: ApiInfoProps & {
|
|
4
4
|
wrapped?: boolean;
|
|
5
5
|
}): JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DropdownProps } from '../../../../components/common/Dropdown';
|
|
2
|
+
import type { DropdownProps } from '../../../../components/common/Dropdown';
|
|
3
3
|
export interface DropdownOrLabelProps extends DropdownProps {
|
|
4
4
|
Label?: React.ComponentClass;
|
|
5
5
|
Dropdown?: React.ComponentClass;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { OpenAPIExternalDocumentation } from '../../types';
|
|
2
|
+
import type { OpenAPIExternalDocumentation } from '../../types';
|
|
3
3
|
export declare class ExternalDocumentation extends React.Component<{
|
|
4
4
|
externalDocs: OpenAPIExternalDocumentation;
|
|
5
5
|
compact?: boolean;
|