redoc 3.0.0-rc.3 → 3.0.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/bundles/redoc.d.ts +328 -31
- package/bundles/redoc.js +1078 -1349
- package/bundles/redoc.standalone.d.ts +327 -31
- package/bundles/redoc.standalone.js +1003 -1087
- package/package.json +42 -36
- package/typings/.tsbuildinfo +0 -1
- package/typings/RedocStandalone.d.ts +0 -43
- package/typings/RedoclyApiDocs.d.ts +0 -22
- package/typings/RedoclyApiDocsStandalone.d.ts +0 -22
- package/typings/adapters/asyncapi/build/context.d.ts +0 -9
- package/typings/adapters/asyncapi/build/navigation.d.ts +0 -2
- package/typings/adapters/asyncapi/build/utils.d.ts +0 -3
- package/typings/adapters/asyncapi/buildContext.d.ts +0 -2
- package/typings/adapters/asyncapi/index.d.ts +0 -13
- package/typings/adapters/asyncapi/items/channel/content.d.ts +0 -5
- package/typings/adapters/asyncapi/items/channel/item.d.ts +0 -13
- package/typings/adapters/asyncapi/items/operation/content.d.ts +0 -4
- package/typings/adapters/asyncapi/items/operation/item.d.ts +0 -15
- package/typings/adapters/asyncapi/items/overview/content.d.ts +0 -10
- package/typings/adapters/asyncapi/items/overview/item.d.ts +0 -16
- package/typings/adapters/asyncapi/panels/brokers.d.ts +0 -7
- package/typings/adapters/asyncapi/panels/download.d.ts +0 -3
- package/typings/adapters/asyncapi/panels/group.d.ts +0 -16
- package/typings/adapters/asyncapi/panels/overview.d.ts +0 -3
- package/typings/adapters/asyncapi/store.d.ts +0 -4
- package/typings/adapters/asyncapi/utils/avro-to-json-schema.d.ts +0 -4
- package/typings/adapters/asyncapi/utils/get-channel-label.d.ts +0 -3
- package/typings/adapters/asyncapi/utils/get-protocol-labels.d.ts +0 -24
- package/typings/adapters/asyncapi/utils/resolve-schema.d.ts +0 -2
- package/typings/adapters/asyncapi/utils/resolve-server-variables.d.ts +0 -3
- package/typings/adapters/asyncapi/utils/resolveInDoc.d.ts +0 -2
- package/typings/adapters/asyncapi/utils/security.d.ts +0 -12
- package/typings/adapters/build.d.ts +0 -15
- package/typings/adapters/graphql/build/context.d.ts +0 -9
- package/typings/adapters/graphql/buildContext.d.ts +0 -2
- package/typings/adapters/graphql/buildStoreFromSdl.d.ts +0 -2
- package/typings/adapters/graphql/group/custom.d.ts +0 -2
- package/typings/adapters/graphql/group/default.d.ts +0 -2
- package/typings/adapters/graphql/group/errors.d.ts +0 -1
- package/typings/adapters/graphql/group/itemBuilders.d.ts +0 -5
- package/typings/adapters/graphql/group/utils.d.ts +0 -8
- package/typings/adapters/graphql/index.d.ts +0 -9
- package/typings/adapters/graphql/items/directive/content.d.ts +0 -4
- package/typings/adapters/graphql/items/directive/item.d.ts +0 -3
- package/typings/adapters/graphql/items/enum/content.d.ts +0 -4
- package/typings/adapters/graphql/items/enum/item.d.ts +0 -3
- package/typings/adapters/graphql/items/input/content.d.ts +0 -4
- package/typings/adapters/graphql/items/input/item.d.ts +0 -3
- package/typings/adapters/graphql/items/interface/content.d.ts +0 -4
- package/typings/adapters/graphql/items/interface/item.d.ts +0 -3
- package/typings/adapters/graphql/items/mutation/content.d.ts +0 -4
- package/typings/adapters/graphql/items/mutation/item.d.ts +0 -3
- package/typings/adapters/graphql/items/object/content.d.ts +0 -4
- package/typings/adapters/graphql/items/object/item.d.ts +0 -3
- package/typings/adapters/graphql/items/operation/content.d.ts +0 -7
- package/typings/adapters/graphql/items/overview/content.d.ts +0 -11
- package/typings/adapters/graphql/items/overview/item.d.ts +0 -4
- package/typings/adapters/graphql/items/query/content.d.ts +0 -4
- package/typings/adapters/graphql/items/query/item.d.ts +0 -3
- package/typings/adapters/graphql/items/scalar/content.d.ts +0 -4
- package/typings/adapters/graphql/items/scalar/item.d.ts +0 -3
- package/typings/adapters/graphql/items/subscription/content.d.ts +0 -4
- package/typings/adapters/graphql/items/subscription/item.d.ts +0 -3
- package/typings/adapters/graphql/items/types.d.ts +0 -7
- package/typings/adapters/graphql/items/union/content.d.ts +0 -4
- package/typings/adapters/graphql/items/union/item.d.ts +0 -3
- package/typings/adapters/graphql/panels/download.d.ts +0 -3
- package/typings/adapters/graphql/panels/group-items.d.ts +0 -4
- package/typings/adapters/graphql/panels/overview.d.ts +0 -3
- package/typings/adapters/graphql/serializeType.d.ts +0 -4
- package/typings/adapters/graphql/store.d.ts +0 -3
- package/typings/adapters/graphql/utils/configMetadataRows.d.ts +0 -3
- package/typings/adapters/graphql/utils/constants.d.ts +0 -24
- package/typings/adapters/graphql/utils/createApiItem.d.ts +0 -15
- package/typings/adapters/graphql/utils/getBadges.d.ts +0 -4
- package/typings/adapters/graphql/utils/ignoreInternalItems.d.ts +0 -3
- package/typings/adapters/graphql/utils/isRootType.d.ts +0 -2
- package/typings/adapters/graphql/utils/menuSlashRegex.d.ts +0 -1
- package/typings/adapters/graphql/utils/normalizeMenu.d.ts +0 -3
- package/typings/adapters/graphql/utils/shouldIncludeItem.d.ts +0 -2
- package/typings/adapters/graphql/utils/summary.d.ts +0 -4
- package/typings/adapters/graphql/utils/validateMenuConfig.d.ts +0 -3
- package/typings/adapters/helpers.d.ts +0 -44
- package/typings/adapters/openapi/build/context.d.ts +0 -13
- package/typings/adapters/openapi/build-code-sample-source.d.ts +0 -4
- package/typings/adapters/openapi/buildContext.d.ts +0 -2
- package/typings/adapters/openapi/constants.d.ts +0 -4
- package/typings/adapters/openapi/group/content.d.ts +0 -25
- package/typings/adapters/openapi/group/item.d.ts +0 -8
- package/typings/adapters/openapi/index.d.ts +0 -11
- package/typings/adapters/openapi/items/mcp/content.d.ts +0 -5
- package/typings/adapters/openapi/items/mcp/item.d.ts +0 -9
- package/typings/adapters/openapi/items/operation/content.d.ts +0 -12
- package/typings/adapters/openapi/items/operation/item.d.ts +0 -9
- package/typings/adapters/openapi/items/overview/content.d.ts +0 -17
- package/typings/adapters/openapi/items/overview/item.d.ts +0 -3
- package/typings/adapters/openapi/items/schema/content.d.ts +0 -3
- package/typings/adapters/openapi/items/schema/item.d.ts +0 -9
- package/typings/adapters/openapi/panels/download.d.ts +0 -3
- package/typings/adapters/openapi/panels/mcp.d.ts +0 -3
- package/typings/adapters/openapi/panels/overview.d.ts +0 -3
- package/typings/adapters/openapi/panels/servers.d.ts +0 -3
- package/typings/adapters/openapi/resolve-openapi-example-value.d.ts +0 -3
- package/typings/adapters/openapi/store.d.ts +0 -4
- package/typings/adapters/openapi/utils/JsonPointer.d.ts +0 -50
- package/typings/adapters/openapi/utils/applyIgnoreNamedSchemasDeep.d.ts +0 -1
- package/typings/adapters/openapi/utils/helpers.d.ts +0 -12
- package/typings/adapters/openapi/utils/operation.d.ts +0 -24
- package/typings/adapters/openapi/utils/resolvePathItemRef.d.ts +0 -2
- package/typings/adapters/openapi/utils/url.d.ts +0 -2
- package/typings/adapters/rbac.d.ts +0 -10
- package/typings/adapters/scopedContext.d.ts +0 -5
- package/typings/adapters/utils/dompurify.d.ts +0 -5
- package/typings/adapters/utils/isPlainText.d.ts +0 -6
- package/typings/adapters/utils/markdoc.d.ts +0 -54
- package/typings/adapters/utils/parseMarkdown.d.ts +0 -8
- package/typings/adapters/utils/simplifyAstStructure.d.ts +0 -2
- package/typings/ajv-stub.d.ts +0 -4
- package/typings/components/AdmonitionItem.d.ts +0 -6
- package/typings/components/ChannelAddressItem.d.ts +0 -7
- package/typings/components/ContainerItem.d.ts +0 -9
- package/typings/components/EmptyMessageItem.d.ts +0 -6
- package/typings/components/ErrorBoundary.d.ts +0 -20
- package/typings/components/ExtensionsItem.d.ts +0 -7
- package/typings/components/ExternalDocsItem.d.ts +0 -8
- package/typings/components/Header/HeaderItem.d.ts +0 -10
- package/typings/components/Header/HeaderPageActions.d.ts +0 -4
- package/typings/components/Header/HeaderResponseCodeTabs.d.ts +0 -8
- package/typings/components/Header/PageActions.d.ts +0 -4
- package/typings/components/Header/ResponseDeepLinkAnchor.d.ts +0 -9
- package/typings/components/Header/hooks.d.ts +0 -5
- package/typings/components/InfoMetadataItem.d.ts +0 -7
- package/typings/components/ItemContent/ItemContentRenderer.d.ts +0 -8
- package/typings/components/ItemContent/SectionHeader.d.ts +0 -8
- package/typings/components/ItemContent/hooks.d.ts +0 -17
- package/typings/components/ItemContent/sections/BodyMimeTypeField.d.ts +0 -12
- package/typings/components/ItemContent/sections/BodySection.d.ts +0 -7
- package/typings/components/ItemContent/sections/CallbacksSection.d.ts +0 -5
- package/typings/components/ItemContent/sections/FieldsSection.d.ts +0 -7
- package/typings/components/ItemContent/sections/MessagesSection.d.ts +0 -5
- package/typings/components/ItemContent/sections/ParametersSection.d.ts +0 -6
- package/typings/components/ItemContent/sections/ResponsesSection.d.ts +0 -5
- package/typings/components/ItemContent/sections/ValuesSection.d.ts +0 -5
- package/typings/components/Mapper.d.ts +0 -22
- package/typings/components/MarkdownItem.d.ts +0 -6
- package/typings/components/Mcp/McpPrompt.d.ts +0 -8
- package/typings/components/Mcp/McpResource.d.ts +0 -8
- package/typings/components/Mcp/McpTool.d.ts +0 -8
- package/typings/components/Mcp/styled.d.ts +0 -22
- package/typings/components/Mcp/utils.d.ts +0 -7
- package/typings/components/MessageLinksItem.d.ts +0 -7
- package/typings/components/PrePaintColorModeScript.d.ts +0 -12
- package/typings/components/Schema/SchemaDescription.d.ts +0 -5
- package/typings/components/Schema/SchemaView.d.ts +0 -20
- package/typings/components/Schema/helpers.d.ts +0 -1
- package/typings/components/Schema/hooks/useSchemaDocument.d.ts +0 -7
- package/typings/components/Schema/hooks/useSchemaFieldDeepLink.d.ts +0 -5
- package/typings/components/Schema/hooks/useVariantIndexFromHash.d.ts +0 -1
- package/typings/components/Schema/styled.d.ts +0 -235
- package/typings/components/Schema/utils.d.ts +0 -15
- package/typings/components/Schema/views/ArrayRenderer.d.ts +0 -12
- package/typings/components/Schema/views/CollapsibleNestedFields.d.ts +0 -24
- package/typings/components/Schema/views/DefaultMappingOptionLabel.d.ts +0 -5
- package/typings/components/Schema/views/DiscriminatorPropertyRow.d.ts +0 -13
- package/typings/components/Schema/views/Examples.d.ts +0 -7
- package/typings/components/Schema/views/ExpandableExample.d.ts +0 -4
- package/typings/components/Schema/views/ObjectRenderer.d.ts +0 -13
- package/typings/components/Schema/views/Pattern.d.ts +0 -6
- package/typings/components/Schema/views/PrimitiveRenderer.d.ts +0 -5
- package/typings/components/Schema/views/PropertyFieldRow.d.ts +0 -15
- package/typings/components/Schema/views/PropertyRenderer.d.ts +0 -14
- package/typings/components/Schema/views/SchemaEnumDescriptions.d.ts +0 -9
- package/typings/components/Schema/views/SchemaEnumValues.d.ts +0 -8
- package/typings/components/Schema/views/SchemaTitleLabel.d.ts +0 -5
- package/typings/components/Schema/views/SchemaVariantSelector.d.ts +0 -11
- package/typings/components/Schema/views/SwitcherRenderer.d.ts +0 -13
- package/typings/components/Schema/views/VariantDropdown.d.ts +0 -14
- package/typings/components/Search/Search.d.ts +0 -10
- package/typings/components/Search/SearchDialog.d.ts +0 -7
- package/typings/components/Search/SearchTrigger.d.ts +0 -9
- package/typings/components/Search/index.d.ts +0 -1
- package/typings/components/Security/Divider.d.ts +0 -4
- package/typings/components/Security/RequiredScopes.d.ts +0 -4
- package/typings/components/Security/ScopeTagWithTooltip.d.ts +0 -11
- package/typings/components/Security/SecurityButtonPanel.d.ts +0 -5
- package/typings/components/Security/SecurityFlowDetail.d.ts +0 -5
- package/typings/components/Security/SecurityModal.d.ts +0 -6
- package/typings/components/Security/SecuritySection.d.ts +0 -3
- package/typings/components/Security/styled.d.ts +0 -127
- package/typings/components/Security/types.d.ts +0 -3
- package/typings/components/SideMenu/SideMenu.d.ts +0 -7
- package/typings/components/SideMenu/buildMenuItems.d.ts +0 -29
- package/typings/components/SideMenu/useMenuItems.d.ts +0 -14
- package/typings/components/StickySidebar/FloatingButton.d.ts +0 -1
- package/typings/components/StickySidebar/RedoclyAttributionLogo.d.ts +0 -5
- package/typings/components/StickySidebar/SidebarActions.d.ts +0 -2
- package/typings/components/StickySidebar/StickySidebar.d.ts +0 -7
- package/typings/components/common/Badge.d.ts +0 -32
- package/typings/components/common/Breadcrumbs.d.ts +0 -11
- package/typings/components/common/ContentWrapper.d.ts +0 -13
- package/typings/components/common/DeepLinkAnchor.d.ts +0 -20
- package/typings/components/common/ExpandAllButton.d.ts +0 -6
- package/typings/components/common/ExternalDocumentation.d.ts +0 -10
- package/typings/components/common/LazyMount.d.ts +0 -9
- package/typings/components/common/LazySection.d.ts +0 -14
- package/typings/components/common/Markdown.d.ts +0 -7
- package/typings/components/common/MoreDetailsButton.d.ts +0 -5
- package/typings/components/common/NestedToggleButton.d.ts +0 -10
- package/typings/components/common/PanelItem.d.ts +0 -27
- package/typings/components/common/ResponseCodeTabs.d.ts +0 -9
- package/typings/components/common/Tag.d.ts +0 -3
- package/typings/components/common/VendorExtensions.d.ts +0 -7
- package/typings/components/common/ViewNested.d.ts +0 -13
- package/typings/components/graphql/ArrowIcon.d.ts +0 -7
- package/typings/components/graphql/GraphQLArgumentsSection.d.ts +0 -10
- package/typings/components/graphql/GraphQLEnumEmbedded.d.ts +0 -5
- package/typings/components/graphql/GraphQLFieldView.d.ts +0 -12
- package/typings/components/graphql/GraphQLFieldsEmbedded.d.ts +0 -9
- package/typings/components/graphql/GraphQLGroupTypeList.d.ts +0 -5
- package/typings/components/graphql/GraphQLHeaderExtras.d.ts +0 -7
- package/typings/components/graphql/GraphQLReturnTypeDetails.d.ts +0 -11
- package/typings/components/graphql/GraphQLTypeView.d.ts +0 -9
- package/typings/components/graphql/GraphQLUnionEmbedded.d.ts +0 -5
- package/typings/components/graphql/RequiresScopesButton.d.ts +0 -9
- package/typings/components/graphql/RequiresScopesModal.d.ts +0 -9
- package/typings/components/graphql/ViewNested.d.ts +0 -14
- package/typings/components/graphql/renderDescription.d.ts +0 -2
- package/typings/components/graphql/sections/GraphQLArgsSection.d.ts +0 -5
- package/typings/components/graphql/sections/GraphQLFieldsSection.d.ts +0 -5
- package/typings/components/graphql/sections/ImplementedBySection.d.ts +0 -5
- package/typings/components/graphql/sections/ImplementsSection.d.ts +0 -5
- package/typings/components/graphql/sections/PossibleTypesSection.d.ts +0 -5
- package/typings/components/graphql/sections/RequiresScopesSection.d.ts +0 -5
- package/typings/components/graphql/sections/ReturnTypeSection.d.ts +0 -5
- package/typings/components/graphql/styled.d.ts +0 -55
- package/typings/components/markdoc/Heading.d.ts +0 -11
- package/typings/components/markdoc/SchemaDefinition.d.ts +0 -11
- package/typings/components/markdoc/apiDocsMarkdocComponents.d.ts +0 -6
- package/typings/components/markdoc/buildMarkdocOptions.d.ts +0 -9
- package/typings/components/markdoc/defaultMarkdocConfig.d.ts +0 -4
- package/typings/components/markdoc/html/html-jsx-attribute-mapping.d.ts +0 -5
- package/typings/components/markdoc/html/process-html-tokens.d.ts +0 -2
- package/typings/components/markdoc/markdocAdapter.d.ts +0 -12
- package/typings/components/markdoc/markdocParser.d.ts +0 -8
- package/typings/components/markdoc/markdocRenderer.d.ts +0 -8
- package/typings/components/markdoc/tags/mcp-tag-schemas.d.ts +0 -2
- package/typings/components/markdoc/tags/schema-definition-tag.d.ts +0 -2
- package/typings/components/panels/ConnectMcpButton.d.ts +0 -5
- package/typings/components/panels/DownloadPanelItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/CallbackPayloadItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/CodeSampleItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/ExamplesPanelItem.d.ts +0 -3
- package/typings/components/panels/ExampleItem/GraphQLQueryItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/GraphQLResponseItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/GraphQLTypeSampleItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/GraphQLVariablesItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/PayloadExampleItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/ResponseExampleItem.d.ts +0 -5
- package/typings/components/panels/ExampleItem/ServerDropdown.d.ts +0 -17
- package/typings/components/panels/ExampleItem/hooks.d.ts +0 -28
- package/typings/components/panels/ExampleItem/selectors.d.ts +0 -42
- package/typings/components/panels/ExampleItem/styled.d.ts +0 -98
- package/typings/components/panels/ExampleItem/types.d.ts +0 -6
- package/typings/components/panels/ExampleItem/useCodeSampleLanguages.d.ts +0 -22
- package/typings/components/panels/GroupPanelItem.d.ts +0 -5
- package/typings/components/panels/LanguageItem/LanguageDropdown.d.ts +0 -15
- package/typings/components/panels/LanguageItem/LanguageItem.d.ts +0 -11
- package/typings/components/panels/LanguageItem/styled.d.ts +0 -58
- package/typings/components/panels/LocationsPanelItem.d.ts +0 -5
- package/typings/components/panels/McpExamplePanelItem.d.ts +0 -5
- package/typings/components/panels/McpPanelItem.d.ts +0 -3
- package/typings/components/panels/OverviewPanelItem.d.ts +0 -3
- package/typings/components/panels/PanelMapper.d.ts +0 -5
- package/typings/components/panels/PanelNodeProps.d.ts +0 -4
- package/typings/components/panels/ReferencesPanelItem.d.ts +0 -5
- package/typings/components/panels/ServerItem/ServerDescriptionTooltip.d.ts +0 -4
- package/typings/components/panels/ServerItem/ServerItem.d.ts +0 -5
- package/typings/components/panels/ServerItem/ServerPanelItem.d.ts +0 -5
- package/typings/components/panels/asyncapi/BrokerItem/BrokerBindingsSection.d.ts +0 -7
- package/typings/components/panels/asyncapi/BrokerItem/BrokerModal.d.ts +0 -8
- package/typings/components/panels/asyncapi/BrokerItem/BrokerOverviewSection.d.ts +0 -6
- package/typings/components/panels/asyncapi/BrokerItem/BrokerPanel.styled.d.ts +0 -21
- package/typings/components/panels/asyncapi/BrokerItem/BrokerPanelItem.d.ts +0 -5
- package/typings/components/panels/asyncapi/ChannelBindingItem/ChannelBindingItem.d.ts +0 -5
- package/typings/components/panels/asyncapi/MessageBindingItem/MessageBindingItem.d.ts +0 -5
- package/typings/components/panels/asyncapi/MessageReferencesItem/MessageReferencesItem.d.ts +0 -5
- package/typings/components/panels/asyncapi/OperationBindingItem/OperationBindingItem.d.ts +0 -5
- package/typings/components/panels/asyncapi/common/bindingPanel.d.ts +0 -30
- package/typings/components/panels/shared-panel-styles.d.ts +0 -13
- package/typings/components/panels/styled.d.ts +0 -12
- package/typings/constants/openapi.d.ts +0 -25
- package/typings/constants/rendering.d.ts +0 -8
- package/typings/contexts/markdownAdapter.d.ts +0 -21
- package/typings/contexts/telemetry.d.ts +0 -4
- package/typings/crypto-compat.d.ts +0 -5
- package/typings/crypto-uuid-compat.d.ts +0 -1
- package/typings/empty-linkedom.d.ts +0 -1
- package/typings/empty.d.ts +0 -7
- package/typings/events/codeSampleCopy.d.ts +0 -2
- package/typings/events/creator.d.ts +0 -2
- package/typings/events/languageSwitch.d.ts +0 -2
- package/typings/events/serverSwitch.d.ts +0 -2
- package/typings/events/types.d.ts +0 -6
- package/typings/hoc/withItemId.d.ts +0 -6
- package/typings/hoc/withRouter.d.ts +0 -4
- package/typings/hoc/withStoreProvider.d.ts +0 -24
- package/typings/hooks/code-highlight-languages.d.ts +0 -6
- package/typings/hooks/deepLinkHash.d.ts +0 -7
- package/typings/hooks/useAgentTools.d.ts +0 -6
- package/typings/hooks/useApiDocsRoutes.d.ts +0 -8
- package/typings/hooks/useApiDocsScroll.d.ts +0 -9
- package/typings/hooks/useBodyScrollLock.d.ts +0 -1
- package/typings/hooks/useCodeHighlight.d.ts +0 -15
- package/typings/hooks/useCopyCodeTelemetry.d.ts +0 -14
- package/typings/hooks/useCopySpecSlice.d.ts +0 -9
- package/typings/hooks/useDeepLinkSection.d.ts +0 -16
- package/typings/hooks/useExpandableSection.d.ts +0 -4
- package/typings/hooks/useHashLinkRedirect.d.ts +0 -4
- package/typings/hooks/useInitialTelemetry.d.ts +0 -3
- package/typings/hooks/useIsExpanded.d.ts +0 -1
- package/typings/hooks/useIsHydrated.d.ts +0 -4
- package/typings/hooks/useManualScrollAnchor.d.ts +0 -19
- package/typings/hooks/useModalDismiss.d.ts +0 -2
- package/typings/hooks/useNormalizeUrl.d.ts +0 -2
- package/typings/hooks/usePageTelemetry.d.ts +0 -3
- package/typings/hooks/usePageViewTelemetry.d.ts +0 -2
- package/typings/hooks/usePerformanceMetricsTelemetry.d.ts +0 -5
- package/typings/hooks/useRouterHashBridge.d.ts +0 -24
- package/typings/hooks/useScrollSpyUrlSync.d.ts +0 -3
- package/typings/hooks/useSearchEngine.d.ts +0 -7
- package/typings/hooks/useSessionSummaryTelemetry.d.ts +0 -7
- package/typings/hooks/useTelemetry.d.ts +0 -2
- package/typings/hooks/useTranslate.d.ts +0 -5
- package/typings/hooks/useUrlHash.d.ts +0 -8
- package/typings/hooks/useUrlHashReassert.d.ts +0 -2
- package/typings/hooks/useUserScrollIntent.d.ts +0 -18
- package/typings/hooks/useVisitedChannelsTracker.d.ts +0 -6
- package/typings/icons/CSharpIcon/CSharpIcon.d.ts +0 -3
- package/typings/icons/CurlIcon/CurlIcon.d.ts +0 -13
- package/typings/icons/DefaultMappingIcon/DefaultMappingIcon.d.ts +0 -13
- package/typings/icons/GOIcon/GOIcon.d.ts +0 -3
- package/typings/icons/JavaIcon/JavaIcon.d.ts +0 -3
- package/typings/icons/JavaScriptIcon/JavaScriptIcon.d.ts +0 -3
- package/typings/icons/ListIcon/ListIcon.d.ts +0 -9
- package/typings/icons/NodeJSIcon/NodeJSIcon.d.ts +0 -3
- package/typings/icons/PHPIcon/PHPIcon.d.ts +0 -3
- package/typings/icons/PayloadIcon/PayloadIcon.d.ts +0 -3
- package/typings/icons/PlusCircleIcon/PlusCircleIcon.d.ts +0 -7
- package/typings/icons/PythonIcon/PythonIcon.d.ts +0 -3
- package/typings/icons/RIcon/RIcon.d.ts +0 -3
- package/typings/icons/RubyIcon/RubyIcon.d.ts +0 -3
- package/typings/index.d.ts +0 -9
- package/typings/jotai/app.d.ts +0 -66
- package/typings/jotai/examples.d.ts +0 -5
- package/typings/jotai/graphql.d.ts +0 -10
- package/typings/jotai/itemStore.d.ts +0 -60
- package/typings/jotai/routes.d.ts +0 -4
- package/typings/jotai/schema.d.ts +0 -3
- package/typings/jotai/store.d.ts +0 -22
- package/typings/jotai/telemetry.d.ts +0 -46
- package/typings/options/constants.d.ts +0 -10
- package/typings/options/editionOverrides.d.ts +0 -3
- package/typings/options/helpers.d.ts +0 -19
- package/typings/options/normalizeOptions.d.ts +0 -2
- package/typings/options/standaloneLayoutVars.d.ts +0 -3
- package/typings/otel-semantic-conventions.d.ts +0 -10
- package/typings/pages/EntryPage.d.ts +0 -25
- package/typings/pages/GroupPage.d.ts +0 -1
- package/typings/pages/ItemPage.d.ts +0 -1
- package/typings/pages/NotFoundPage.d.ts +0 -6
- package/typings/pages/OverviewPage.d.ts +0 -1
- package/typings/pages/TopLevelEntryView.d.ts +0 -17
- package/typings/services/agent-tools/index.d.ts +0 -10
- package/typings/services/agent-tools/operations.d.ts +0 -20
- package/typings/services/agent-tools/results.d.ts +0 -6
- package/typings/services/agent-tools/security.d.ts +0 -13
- package/typings/services/agent-tools/spec-slice-detail.d.ts +0 -12
- package/typings/services/agent-tools/types.d.ts +0 -55
- package/typings/services/agent-tools/webmcp.d.ts +0 -14
- package/typings/services/code-samples/convertSampleToString.d.ts +0 -3
- package/typings/services/code-samples/discriminator.d.ts +0 -65
- package/typings/services/code-samples/example-key.d.ts +0 -13
- package/typings/services/code-samples/index.d.ts +0 -2
- package/typings/services/code-samples/language-availability.d.ts +0 -4
- package/typings/services/code-samples/normalize-servers.d.ts +0 -3
- package/typings/services/code-samples/server-env.d.ts +0 -3
- package/typings/services/code-samples/server-variables.d.ts +0 -9
- package/typings/services/code-samples/source.d.ts +0 -81
- package/typings/services/schema/dialects/graphqlSchema.d.ts +0 -1
- package/typings/services/schema/dialects/jsonSchema.d.ts +0 -7
- package/typings/services/schema/index.d.ts +0 -1
- package/typings/services/schema/propertyBuilder.d.ts +0 -31
- package/typings/services/schema/propertyTreeBuilder.d.ts +0 -21
- package/typings/services/schema/schemaProcessor.d.ts +0 -2
- package/typings/services/schema/variant-label.d.ts +0 -6
- package/typings/services/search/engine/collapse.d.ts +0 -5
- package/typings/services/search/engine/constants.d.ts +0 -22
- package/typings/services/search/engine/flexsearch.d.ts +0 -6
- package/typings/services/search/engine/index.d.ts +0 -11
- package/typings/services/search/engine/lowered.d.ts +0 -34
- package/typings/services/search/engine/match.d.ts +0 -12
- package/typings/services/search/engine/present.d.ts +0 -5
- package/typings/services/search/engine/query.d.ts +0 -6
- package/typings/services/search/engine/score.d.ts +0 -7
- package/typings/services/search/engine/text.d.ts +0 -3
- package/typings/services/search/engine/types.d.ts +0 -19
- package/typings/services/search/highlight.d.ts +0 -3
- package/typings/services/search/indexer/context.d.ts +0 -8
- package/typings/services/search/indexer/deep-links.d.ts +0 -12
- package/typings/services/search/indexer/extractors/asyncapi.d.ts +0 -8
- package/typings/services/search/indexer/extractors/body.d.ts +0 -2
- package/typings/services/search/indexer/extractors/callbacks.d.ts +0 -4
- package/typings/services/search/indexer/extractors/context.d.ts +0 -25
- package/typings/services/search/indexer/extractors/examples.d.ts +0 -3
- package/typings/services/search/indexer/extractors/graphql.d.ts +0 -2
- package/typings/services/search/indexer/extractors/heading-sections.d.ts +0 -3
- package/typings/services/search/indexer/extractors/index.d.ts +0 -11
- package/typings/services/search/indexer/extractors/mcp.d.ts +0 -9
- package/typings/services/search/indexer/extractors/named-rows.d.ts +0 -2
- package/typings/services/search/indexer/extractors/panels.d.ts +0 -10
- package/typings/services/search/indexer/extractors/parameters.d.ts +0 -2
- package/typings/services/search/indexer/extractors/responses.d.ts +0 -2
- package/typings/services/search/indexer/extractors/schema-page.d.ts +0 -9
- package/typings/services/search/indexer/extractors/security.d.ts +0 -4
- package/typings/services/search/indexer/index.d.ts +0 -14
- package/typings/services/search/indexer/param.d.ts +0 -7
- package/typings/services/search/indexer/places.d.ts +0 -36
- package/typings/services/search/indexer/schema-walker.d.ts +0 -29
- package/typings/services/search/indexer/text.d.ts +0 -2
- package/typings/services/search/init.d.ts +0 -7
- package/typings/services/search/text-match.d.ts +0 -5
- package/typings/services/search/types.d.ts +0 -31
- package/typings/services/spec-convert/asyncapi.d.ts +0 -11
- package/typings/services/spec-convert/index.d.ts +0 -5
- package/typings/services/spec-convert/swagger/parameters.d.ts +0 -6
- package/typings/services/spec-convert/swagger/refs.d.ts +0 -34
- package/typings/services/spec-convert/swagger/responses.d.ts +0 -2
- package/typings/services/spec-convert/swagger/schema.d.ts +0 -1
- package/typings/services/spec-convert/swagger.d.ts +0 -7
- package/typings/services/spec-slice/assistant-links.d.ts +0 -9
- package/typings/services/spec-slice/asyncapi-slice.d.ts +0 -5
- package/typings/services/spec-slice/clone-strip.d.ts +0 -1
- package/typings/services/spec-slice/component-closure.d.ts +0 -6
- package/typings/services/spec-slice/graphql-slice.d.ts +0 -2
- package/typings/services/spec-slice/index.d.ts +0 -6
- package/typings/services/spec-slice/openapi-slice.d.ts +0 -6
- package/typings/services/spec-slice/resolve-scope.d.ts +0 -4
- package/typings/services/spec-slice/types.d.ts +0 -37
- package/typings/standalone.d.ts +0 -20
- package/typings/standaloneThemeConfig.d.ts +0 -3
- package/typings/telemetry/RedocTelemetry.d.ts +0 -22
- package/typings/telemetry/TypeOfUsageContext.d.ts +0 -3
- package/typings/telemetry/defaults.d.ts +0 -7
- package/typings/telemetry/events.d.ts +0 -41
- package/typings/telemetry/fields.d.ts +0 -7
- package/typings/telemetry/index.d.ts +0 -15
- package/typings/telemetry/initialPayload.d.ts +0 -56
- package/typings/telemetry/page.d.ts +0 -5
- package/typings/telemetry/reportDefinitionLoadFailed.d.ts +0 -9
- package/typings/telemetry/sanitizeError.d.ts +0 -4
- package/typings/telemetry/security.d.ts +0 -14
- package/typings/telemetry/useRedocTelemetryInstance.d.ts +0 -3
- package/typings/telemetry/useSchemaFieldTelemetry.d.ts +0 -4
- package/typings/telemetry/useSidebarItemTelemetry.d.ts +0 -11
- package/typings/types/asyncapi.d.ts +0 -314
- package/typings/types/code-samples-config.d.ts +0 -12
- package/typings/types/common.d.ts +0 -163
- package/typings/types/content.d.ts +0 -479
- package/typings/types/edition-config.d.ts +0 -6
- package/typings/types/events.d.ts +0 -48
- package/typings/types/graphql-store.d.ts +0 -60
- package/typings/types/graphql.d.ts +0 -53
- package/typings/types/openapi.d.ts +0 -515
- package/typings/types/options.d.ts +0 -90
- package/typings/types/schema.d.ts +0 -162
- package/typings/types/store.d.ts +0 -160
- package/typings/utils/calculateMaxLength.d.ts +0 -6
- package/typings/utils/compose.d.ts +0 -7
- package/typings/utils/cookies.d.ts +0 -7
- package/typings/utils/deep-link.d.ts +0 -163
- package/typings/utils/definitionLoadError.d.ts +0 -7
- package/typings/utils/environments.d.ts +0 -6
- package/typings/utils/expansion.d.ts +0 -3
- package/typings/utils/extract-extensions.d.ts +0 -4
- package/typings/utils/form-urlencoded.d.ts +0 -9
- package/typings/utils/graphql-directive-utils.d.ts +0 -6
- package/typings/utils/graphql-parse.d.ts +0 -1
- package/typings/utils/graphql-reference-map.d.ts +0 -3
- package/typings/utils/graphql-samples.d.ts +0 -29
- package/typings/utils/graphql-scopes.d.ts +0 -6
- package/typings/utils/graphql-type-expansion.d.ts +0 -5
- package/typings/utils/http-methods.d.ts +0 -8
- package/typings/utils/is-record.d.ts +0 -1
- package/typings/utils/languages.d.ts +0 -18
- package/typings/utils/loadAndBundleSpec.d.ts +0 -4
- package/typings/utils/logo.d.ts +0 -8
- package/typings/utils/media-type.d.ts +0 -5
- package/typings/utils/refPointer.d.ts +0 -2
- package/typings/utils/resolveSpec.d.ts +0 -20
- package/typings/utils/resolveText.d.ts +0 -2
- package/typings/utils/routeKind.d.ts +0 -6
- package/typings/utils/routing.d.ts +0 -49
- package/typings/utils/scroll-anchoring.d.ts +0 -4
- package/typings/utils/security-scope.d.ts +0 -3
- package/typings/utils/serialize-parameter.d.ts +0 -8
- package/typings/utils/session-storage.d.ts +0 -2
- package/typings/utils/split-badges-by-position.d.ts +0 -5
- package/typings/utils/status-code.d.ts +0 -1
- package/typings/utils/string.d.ts +0 -14
- package/typings/utils/url.d.ts +0 -9
- package/typings/utils/x-logo.d.ts +0 -13
- package/typings/utils/xml.d.ts +0 -1
- package/typings/utils/yaml.d.ts +0 -2
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export type GraphqlTypeRef = {
|
|
2
|
-
display: string;
|
|
3
|
-
name: string;
|
|
4
|
-
isList: boolean;
|
|
5
|
-
isNonNull: boolean;
|
|
6
|
-
isListNonNull: boolean;
|
|
7
|
-
};
|
|
8
|
-
export type GraphqlRequiresScopes = {
|
|
9
|
-
scopes: string[][];
|
|
10
|
-
};
|
|
11
|
-
export type GraphqlStoreFieldData = {
|
|
12
|
-
name: string;
|
|
13
|
-
type: GraphqlTypeRef;
|
|
14
|
-
description?: string;
|
|
15
|
-
deprecationReason?: string;
|
|
16
|
-
defaultValue?: unknown;
|
|
17
|
-
required?: boolean;
|
|
18
|
-
args?: GraphqlStoreFieldData[];
|
|
19
|
-
requiresScopes?: GraphqlRequiresScopes;
|
|
20
|
-
};
|
|
21
|
-
export type GraphqlEnumValueData = {
|
|
22
|
-
name: string;
|
|
23
|
-
description?: string;
|
|
24
|
-
deprecationReason?: string;
|
|
25
|
-
requiresScopes?: GraphqlRequiresScopes;
|
|
26
|
-
};
|
|
27
|
-
export type GraphqlTypeDataVariant = 'object' | 'interface' | 'input' | 'union' | 'enum' | 'scalar';
|
|
28
|
-
export type GraphqlTypeData = {
|
|
29
|
-
variant: GraphqlTypeDataVariant;
|
|
30
|
-
name: string;
|
|
31
|
-
description?: string;
|
|
32
|
-
fields?: GraphqlStoreFieldData[];
|
|
33
|
-
enumValues?: GraphqlEnumValueData[];
|
|
34
|
-
possibleTypes?: string[];
|
|
35
|
-
interfaces?: string[];
|
|
36
|
-
isOneOf?: true;
|
|
37
|
-
specifiedByUrl?: string;
|
|
38
|
-
requiresScopes?: GraphqlRequiresScopes;
|
|
39
|
-
};
|
|
40
|
-
export type GraphqlDirectiveData = {
|
|
41
|
-
name: string;
|
|
42
|
-
description?: string;
|
|
43
|
-
locations: string[];
|
|
44
|
-
args?: GraphqlStoreFieldData[];
|
|
45
|
-
isRepeatable?: boolean;
|
|
46
|
-
};
|
|
47
|
-
export type GraphqlTypeReference = {
|
|
48
|
-
name: string;
|
|
49
|
-
field?: string;
|
|
50
|
-
};
|
|
51
|
-
export type GraphqlStoreMeta = {
|
|
52
|
-
rootTypes: {
|
|
53
|
-
query?: string;
|
|
54
|
-
mutation?: string;
|
|
55
|
-
subscription?: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export declare const GRAPHQL_TYPE_ENTRY_PREFIX = "types/";
|
|
59
|
-
export declare function graphqlTypeEntryId(typeName: string): string;
|
|
60
|
-
export declare function graphqlDirectiveEntryId(directiveName: string): string;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import type { GraphQLConfig, LayoutVariant } from '@redocly/config';
|
|
2
|
-
import type { GraphQLSchema } from 'graphql';
|
|
3
|
-
import type { ApiDocsOptions } from './options.js';
|
|
4
|
-
export type GraphQLInfo = {
|
|
5
|
-
title?: string;
|
|
6
|
-
version?: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
termsOfService?: string;
|
|
9
|
-
contact?: GraphQLContact;
|
|
10
|
-
license?: GraphQLLicense;
|
|
11
|
-
};
|
|
12
|
-
export type GraphQLContact = {
|
|
13
|
-
name?: string;
|
|
14
|
-
url?: string;
|
|
15
|
-
email?: string;
|
|
16
|
-
};
|
|
17
|
-
export type GraphQLLicense = {
|
|
18
|
-
name?: string;
|
|
19
|
-
url?: string;
|
|
20
|
-
identifier?: string;
|
|
21
|
-
};
|
|
22
|
-
type WithRequired<T, K extends keyof T> = T & {
|
|
23
|
-
[P in K]-?: T[P];
|
|
24
|
-
};
|
|
25
|
-
type BaseRequired = WithRequired<GraphQLConfig, 'jsonSamplesDepth' | 'samplesMaxInlineArgs' | 'fieldExpandLevel'>;
|
|
26
|
-
export type GraphQLOptions = Omit<BaseRequired, 'layout'> & {
|
|
27
|
-
layout: LayoutVariant;
|
|
28
|
-
info?: GraphQLInfo;
|
|
29
|
-
menu?: GraphQLConfig['menu'];
|
|
30
|
-
};
|
|
31
|
-
export type GraphqlItemVariant = 'query' | 'mutation' | 'subscription' | 'directive' | 'object' | 'interface' | 'input' | 'union' | 'enum' | 'scalar';
|
|
32
|
-
export type ItemNameSpec = string | RegExp;
|
|
33
|
-
export type TypeGroupFilter = {
|
|
34
|
-
includeByName?: ItemNameSpec[];
|
|
35
|
-
excludeByName?: ItemNameSpec[];
|
|
36
|
-
};
|
|
37
|
-
export type MenuGroupFilterKey = 'items' | 'queries' | 'mutations' | 'subscriptions' | 'types' | 'directives';
|
|
38
|
-
export type MenuGroupConfig = {
|
|
39
|
-
name: string;
|
|
40
|
-
} & Partial<Record<MenuGroupFilterKey, TypeGroupFilter>>;
|
|
41
|
-
export type MenuConfig = {
|
|
42
|
-
requireExactGroups?: boolean;
|
|
43
|
-
otherItemsGroupName?: string;
|
|
44
|
-
groups?: MenuGroupConfig[];
|
|
45
|
-
};
|
|
46
|
-
export type GraphqlBuildContext = {
|
|
47
|
-
basePath: string;
|
|
48
|
-
schema: GraphQLSchema;
|
|
49
|
-
menuConfig?: MenuConfig;
|
|
50
|
-
options: ApiDocsOptions;
|
|
51
|
-
processContent: boolean;
|
|
52
|
-
};
|
|
53
|
-
export {};
|
|
@@ -1,515 +0,0 @@
|
|
|
1
|
-
import type { Node } from '@markdoc/markdoc';
|
|
2
|
-
import type { OpenAPIRef, RawLogo, Referenced, ExternalDocsData, SecuritySchemeType, SecuritySchemeIn, ObjectValues } from './common.js';
|
|
3
|
-
import type { StoreContext } from './store.js';
|
|
4
|
-
import type { ApiDocsOptions, NormalizedDownloadUrl } from './options.js';
|
|
5
|
-
import type { securitySchemeType } from './common.js';
|
|
6
|
-
import type { ExampleType } from './schema.js';
|
|
7
|
-
export type OpenAPIDefinition = {
|
|
8
|
-
openapi: string;
|
|
9
|
-
info: OpenAPIInfo;
|
|
10
|
-
servers?: OpenAPIServer[];
|
|
11
|
-
paths: OpenAPIPaths;
|
|
12
|
-
components?: OpenAPIComponents;
|
|
13
|
-
security?: OpenAPISecurityRequirement[];
|
|
14
|
-
tags?: OpenAPITag[];
|
|
15
|
-
externalDocs?: OpenAPIExternalDocumentation;
|
|
16
|
-
webhooks?: OpenAPIPaths;
|
|
17
|
-
'x-mcp'?: OpenAPIMcp;
|
|
18
|
-
'x-webhooks'?: OpenAPIPaths;
|
|
19
|
-
'x-tagGroups'?: Array<{
|
|
20
|
-
name: string;
|
|
21
|
-
tags: Array<string>;
|
|
22
|
-
}>;
|
|
23
|
-
'x-keywords'?: unknown;
|
|
24
|
-
};
|
|
25
|
-
export type OpenAPIInfo = {
|
|
26
|
-
title: string;
|
|
27
|
-
version: string;
|
|
28
|
-
description?: string | Node[] | Node;
|
|
29
|
-
summary?: string;
|
|
30
|
-
termsOfService?: string;
|
|
31
|
-
contact?: OpenAPIContact;
|
|
32
|
-
license?: OpenAPILicense;
|
|
33
|
-
externalDocs?: OpenAPIExternalDocumentation;
|
|
34
|
-
'x-logo'?: XLogo;
|
|
35
|
-
};
|
|
36
|
-
export type XLogo = RawLogo;
|
|
37
|
-
export type OpenAPIServer = {
|
|
38
|
-
url: string;
|
|
39
|
-
description?: string | Node | Node[];
|
|
40
|
-
name?: string;
|
|
41
|
-
variables?: OpenAPIServerVariables;
|
|
42
|
-
};
|
|
43
|
-
export type OpenAPIServerVariables = {
|
|
44
|
-
[name: string]: OpenAPIServerVariable;
|
|
45
|
-
};
|
|
46
|
-
export type OpenAPIServerVariable = {
|
|
47
|
-
enum?: string[];
|
|
48
|
-
default: string;
|
|
49
|
-
description?: string | Node[] | Node;
|
|
50
|
-
};
|
|
51
|
-
export type OpenAPIPaths = {
|
|
52
|
-
[path: string]: OpenAPIPath;
|
|
53
|
-
};
|
|
54
|
-
export { type OpenAPIRef } from './common.js';
|
|
55
|
-
export type OpenAPIPath = Partial<OpenAPIRef> & {
|
|
56
|
-
summary?: string;
|
|
57
|
-
description?: string | Node[] | Node;
|
|
58
|
-
get?: OpenAPIOperation;
|
|
59
|
-
put?: OpenAPIOperation;
|
|
60
|
-
post?: OpenAPIOperation;
|
|
61
|
-
query?: OpenAPIOperation;
|
|
62
|
-
'x-query'?: OpenAPIOperation;
|
|
63
|
-
delete?: OpenAPIOperation;
|
|
64
|
-
options?: OpenAPIOperation;
|
|
65
|
-
head?: OpenAPIOperation;
|
|
66
|
-
patch?: OpenAPIOperation;
|
|
67
|
-
trace?: OpenAPIOperation;
|
|
68
|
-
additionalOperations?: Record<string, OpenAPIOperation>;
|
|
69
|
-
servers?: OpenAPIServer[];
|
|
70
|
-
parameters?: Array<Referenced<OpenAPIParameter>>;
|
|
71
|
-
};
|
|
72
|
-
export type Sample = {
|
|
73
|
-
lang: string;
|
|
74
|
-
label?: string;
|
|
75
|
-
};
|
|
76
|
-
export type OpenAPIXCodeSample = Sample & {
|
|
77
|
-
source: string;
|
|
78
|
-
};
|
|
79
|
-
export type OpenAPIXBadges = {
|
|
80
|
-
name: string;
|
|
81
|
-
color?: string;
|
|
82
|
-
position?: 'before' | 'after';
|
|
83
|
-
icon?: string;
|
|
84
|
-
description?: string;
|
|
85
|
-
};
|
|
86
|
-
export type OpenAPIOperation = {
|
|
87
|
-
tags?: string[];
|
|
88
|
-
summary?: string;
|
|
89
|
-
description?: string | Node[];
|
|
90
|
-
externalDocs?: OpenAPIExternalDocumentation;
|
|
91
|
-
operationId?: string;
|
|
92
|
-
parameters?: Array<Referenced<OpenAPIParameter>>;
|
|
93
|
-
requestBody?: Referenced<OpenAPIRequestBody>;
|
|
94
|
-
responses: OpenAPIResponses;
|
|
95
|
-
callbacks?: {
|
|
96
|
-
[name: string]: Referenced<OpenAPICallback>;
|
|
97
|
-
};
|
|
98
|
-
deprecated?: boolean;
|
|
99
|
-
security?: OpenAPISecurityRequirement[];
|
|
100
|
-
servers?: OpenAPIServer[];
|
|
101
|
-
'x-codeSamples'?: OpenAPIXCodeSample[];
|
|
102
|
-
'x-badges'?: OpenAPIXBadges[];
|
|
103
|
-
};
|
|
104
|
-
export type OpenAPIParameter = {
|
|
105
|
-
name: string;
|
|
106
|
-
in?: OpenAPIParameterLocation;
|
|
107
|
-
description?: string | Node[] | Node;
|
|
108
|
-
required?: boolean;
|
|
109
|
-
deprecated?: boolean;
|
|
110
|
-
allowEmptyValue?: boolean;
|
|
111
|
-
style?: OpenAPIParameterStyle;
|
|
112
|
-
explode?: boolean;
|
|
113
|
-
allowReserved?: boolean;
|
|
114
|
-
schema?: Referenced<OpenAPISchema>;
|
|
115
|
-
example?: unknown;
|
|
116
|
-
examples?: {
|
|
117
|
-
[media: string]: Referenced<OpenAPIExample>;
|
|
118
|
-
};
|
|
119
|
-
content?: {
|
|
120
|
-
[media: string]: Referenced<OpenAPIMediaType>;
|
|
121
|
-
};
|
|
122
|
-
encoding?: Record<string, OpenAPIEncoding>;
|
|
123
|
-
const?: unknown;
|
|
124
|
-
};
|
|
125
|
-
export type OpenAPIExample = {
|
|
126
|
-
value?: unknown;
|
|
127
|
-
dataValue?: unknown;
|
|
128
|
-
serializedValue?: string;
|
|
129
|
-
summary?: string;
|
|
130
|
-
description?: string | Node[] | Node;
|
|
131
|
-
externalValue?: string;
|
|
132
|
-
};
|
|
133
|
-
export type XMLNodeType = 'element' | 'attribute' | 'text' | 'cdata' | 'none';
|
|
134
|
-
export type XMLObject = {
|
|
135
|
-
nodeType?: XMLNodeType;
|
|
136
|
-
name?: string;
|
|
137
|
-
namespace?: string;
|
|
138
|
-
prefix?: string;
|
|
139
|
-
/** @deprecated Use nodeType: "attribute" instead */
|
|
140
|
-
attribute?: boolean;
|
|
141
|
-
/** @deprecated Use nodeType: "element" instead (for wrapped arrays) */
|
|
142
|
-
wrapped?: boolean;
|
|
143
|
-
};
|
|
144
|
-
export type OpenAPISchema = {
|
|
145
|
-
$ref?: string;
|
|
146
|
-
type?: string | string[];
|
|
147
|
-
properties?: {
|
|
148
|
-
[name: string]: OpenAPISchema;
|
|
149
|
-
};
|
|
150
|
-
patternProperties?: {
|
|
151
|
-
[name: string]: OpenAPISchema;
|
|
152
|
-
};
|
|
153
|
-
additionalProperties?: boolean | OpenAPISchema;
|
|
154
|
-
unevaluatedProperties?: boolean | OpenAPISchema;
|
|
155
|
-
description?: string | Node[] | Node;
|
|
156
|
-
default?: unknown;
|
|
157
|
-
items?: OpenAPISchema | OpenAPISchema[] | boolean;
|
|
158
|
-
required?: string[];
|
|
159
|
-
readOnly?: boolean;
|
|
160
|
-
writeOnly?: boolean;
|
|
161
|
-
deprecated?: boolean;
|
|
162
|
-
format?: string;
|
|
163
|
-
externalDocs?: OpenAPIExternalDocumentation;
|
|
164
|
-
discriminator?: OpenAPIDiscriminator;
|
|
165
|
-
nullable?: boolean;
|
|
166
|
-
oneOf?: OpenAPISchema[];
|
|
167
|
-
anyOf?: OpenAPISchema[];
|
|
168
|
-
allOf?: OpenAPISchema[];
|
|
169
|
-
not?: OpenAPISchema;
|
|
170
|
-
title?: string;
|
|
171
|
-
multipleOf?: number;
|
|
172
|
-
maximum?: number;
|
|
173
|
-
exclusiveMaximum?: boolean | number;
|
|
174
|
-
minimum?: number;
|
|
175
|
-
exclusiveMinimum?: boolean | number;
|
|
176
|
-
maxLength?: number;
|
|
177
|
-
minLength?: number;
|
|
178
|
-
pattern?: string;
|
|
179
|
-
maxItems?: number;
|
|
180
|
-
minItems?: number;
|
|
181
|
-
uniqueItems?: boolean;
|
|
182
|
-
maxProperties?: number;
|
|
183
|
-
minProperties?: number;
|
|
184
|
-
enum?: unknown[];
|
|
185
|
-
example?: unknown;
|
|
186
|
-
examples?: unknown[] | Record<string, ExampleType>;
|
|
187
|
-
const?: string;
|
|
188
|
-
contentEncoding?: string;
|
|
189
|
-
contentMediaType?: string;
|
|
190
|
-
if?: OpenAPISchema;
|
|
191
|
-
else?: OpenAPISchema;
|
|
192
|
-
then?: OpenAPISchema;
|
|
193
|
-
prefixItems?: OpenAPISchema[];
|
|
194
|
-
additionalItems?: OpenAPISchema | boolean;
|
|
195
|
-
xml?: XMLObject;
|
|
196
|
-
};
|
|
197
|
-
export type OpenAPIDiscriminator = {
|
|
198
|
-
propertyName: string;
|
|
199
|
-
mapping?: {
|
|
200
|
-
[name: string]: string;
|
|
201
|
-
};
|
|
202
|
-
'x-explicitMappingOnly'?: boolean;
|
|
203
|
-
defaultMapping?: string;
|
|
204
|
-
};
|
|
205
|
-
export type OpenAPIMediaType = {
|
|
206
|
-
schema?: Referenced<OpenAPISchema>;
|
|
207
|
-
itemSchema?: Referenced<OpenAPISchema>;
|
|
208
|
-
example?: unknown;
|
|
209
|
-
examples?: {
|
|
210
|
-
[name: string]: Referenced<OpenAPIExample>;
|
|
211
|
-
};
|
|
212
|
-
encoding?: {
|
|
213
|
-
[field: string]: OpenAPIEncoding;
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
export type OpenAPIEncoding = {
|
|
217
|
-
contentType: string;
|
|
218
|
-
headers?: {
|
|
219
|
-
[name: string]: Referenced<OpenAPIHeader>;
|
|
220
|
-
};
|
|
221
|
-
style: OpenAPIParameterStyle;
|
|
222
|
-
explode: boolean;
|
|
223
|
-
allowReserved: boolean;
|
|
224
|
-
};
|
|
225
|
-
export declare const parameterLocation: {
|
|
226
|
-
readonly QUERY: 'query';
|
|
227
|
-
readonly HEADER: 'header';
|
|
228
|
-
readonly PATH: 'path';
|
|
229
|
-
readonly COOKIE: 'cookie';
|
|
230
|
-
readonly QUERYSTRING: 'querystring';
|
|
231
|
-
};
|
|
232
|
-
export type OpenAPIParameterLocation = ObjectValues<typeof parameterLocation>;
|
|
233
|
-
export type OpenAPIParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
234
|
-
export type OpenAPIRequestBody = {
|
|
235
|
-
$ref?: string;
|
|
236
|
-
description?: string | Node[] | Node;
|
|
237
|
-
required?: boolean;
|
|
238
|
-
content?: {
|
|
239
|
-
[mime: string]: Referenced<OpenAPIMediaType>;
|
|
240
|
-
};
|
|
241
|
-
'x-examples'?: {
|
|
242
|
-
[mime: string]: {
|
|
243
|
-
[name: string]: Referenced<OpenAPIExample>;
|
|
244
|
-
};
|
|
245
|
-
};
|
|
246
|
-
'x-example'?: {
|
|
247
|
-
[mime: string]: unknown;
|
|
248
|
-
};
|
|
249
|
-
};
|
|
250
|
-
export type OpenAPIResponses = {
|
|
251
|
-
[code: string]: OpenAPIResponse;
|
|
252
|
-
};
|
|
253
|
-
export type OpenAPIResponse = {
|
|
254
|
-
description?: string | Node[] | Node;
|
|
255
|
-
headers?: {
|
|
256
|
-
[name: string]: Referenced<OpenAPIHeader>;
|
|
257
|
-
};
|
|
258
|
-
content?: {
|
|
259
|
-
[mime: string]: Referenced<OpenAPIMediaType>;
|
|
260
|
-
};
|
|
261
|
-
links?: {
|
|
262
|
-
[name: string]: Referenced<OpenAPILink>;
|
|
263
|
-
};
|
|
264
|
-
$ref?: string;
|
|
265
|
-
'x-examples'?: {
|
|
266
|
-
[mime: string]: {
|
|
267
|
-
[name: string]: Referenced<OpenAPIExample>;
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
|
-
'x-example'?: {
|
|
271
|
-
[mime: string]: unknown;
|
|
272
|
-
};
|
|
273
|
-
'x-summary'?: string;
|
|
274
|
-
};
|
|
275
|
-
export type OpenAPILink = {
|
|
276
|
-
$ref?: string;
|
|
277
|
-
};
|
|
278
|
-
export type OpenAPIHeader = Omit<OpenAPIParameter, 'in' | 'name'>;
|
|
279
|
-
export type OpenAPICallback = {
|
|
280
|
-
[name: string]: OpenAPIPath;
|
|
281
|
-
};
|
|
282
|
-
export type OpenAPIComponents = {
|
|
283
|
-
schemas?: {
|
|
284
|
-
[name: string]: Referenced<OpenAPISchema>;
|
|
285
|
-
};
|
|
286
|
-
responses?: {
|
|
287
|
-
[name: string]: Referenced<OpenAPIResponse>;
|
|
288
|
-
};
|
|
289
|
-
parameters?: {
|
|
290
|
-
[name: string]: Referenced<OpenAPIParameter>;
|
|
291
|
-
};
|
|
292
|
-
examples?: {
|
|
293
|
-
[name: string]: Referenced<OpenAPIExample>;
|
|
294
|
-
};
|
|
295
|
-
requestBodies?: {
|
|
296
|
-
[name: string]: Referenced<OpenAPIRequestBody>;
|
|
297
|
-
};
|
|
298
|
-
headers?: {
|
|
299
|
-
[name: string]: Referenced<OpenAPIHeader>;
|
|
300
|
-
};
|
|
301
|
-
securitySchemes?: {
|
|
302
|
-
[name: string]: Referenced<OpenAPISecurityScheme>;
|
|
303
|
-
};
|
|
304
|
-
links?: {
|
|
305
|
-
[name: string]: Referenced<OpenAPILink>;
|
|
306
|
-
};
|
|
307
|
-
callbacks?: {
|
|
308
|
-
[name: string]: Referenced<OpenAPICallback>;
|
|
309
|
-
};
|
|
310
|
-
mediaTypes?: {
|
|
311
|
-
[name: string]: Referenced<OpenAPIMediaType>;
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
export type OpenAPISecurityRequirement = {
|
|
315
|
-
[name: string]: string[];
|
|
316
|
-
};
|
|
317
|
-
export type OpenAPISecurityScheme = {
|
|
318
|
-
type: Exclude<SecuritySchemeType, typeof securitySchemeType.MUTUAL_TLS>;
|
|
319
|
-
description?: string | Node[] | Node;
|
|
320
|
-
name?: string;
|
|
321
|
-
in?: SecuritySchemeIn;
|
|
322
|
-
scheme?: string;
|
|
323
|
-
bearerFormat: string;
|
|
324
|
-
deprecated?: boolean;
|
|
325
|
-
oauth2MetadataUrl?: string;
|
|
326
|
-
flows: {
|
|
327
|
-
implicit?: {
|
|
328
|
-
refreshUrl?: string;
|
|
329
|
-
scopes: Record<string, string>;
|
|
330
|
-
authorizationUrl: string;
|
|
331
|
-
};
|
|
332
|
-
deviceAuthorization?: {
|
|
333
|
-
deviceAuthorizationUrl: string;
|
|
334
|
-
scopes: Record<string, string>;
|
|
335
|
-
tokenUrl: string;
|
|
336
|
-
refreshUrl?: string;
|
|
337
|
-
};
|
|
338
|
-
password?: {
|
|
339
|
-
refreshUrl?: string;
|
|
340
|
-
scopes: Record<string, string>;
|
|
341
|
-
tokenUrl: string;
|
|
342
|
-
};
|
|
343
|
-
clientCredentials?: {
|
|
344
|
-
refreshUrl?: string;
|
|
345
|
-
scopes: Record<string, string>;
|
|
346
|
-
tokenUrl: string;
|
|
347
|
-
};
|
|
348
|
-
authorizationCode?: {
|
|
349
|
-
refreshUrl?: string;
|
|
350
|
-
scopes: Record<string, string>;
|
|
351
|
-
authorizationUrl: string;
|
|
352
|
-
tokenUrl: string;
|
|
353
|
-
};
|
|
354
|
-
};
|
|
355
|
-
openIdConnectUrl?: string;
|
|
356
|
-
};
|
|
357
|
-
export type OpenAPITag = {
|
|
358
|
-
name: string;
|
|
359
|
-
description?: string | Node[] | Node;
|
|
360
|
-
summary?: string;
|
|
361
|
-
externalDocs?: OpenAPIExternalDocumentation;
|
|
362
|
-
parent?: string;
|
|
363
|
-
kind?: 'badge' | 'audience' | 'nav';
|
|
364
|
-
'x-displayName'?: string;
|
|
365
|
-
'x-keywords'?: unknown;
|
|
366
|
-
};
|
|
367
|
-
export type OpenAPIExternalDocumentation = {
|
|
368
|
-
description?: string | Node[] | Node;
|
|
369
|
-
url: string;
|
|
370
|
-
};
|
|
371
|
-
export type OpenAPIContact = {
|
|
372
|
-
name?: string;
|
|
373
|
-
url?: string;
|
|
374
|
-
email?: string;
|
|
375
|
-
};
|
|
376
|
-
export type OpenAPILicense = {
|
|
377
|
-
name: string;
|
|
378
|
-
url?: string;
|
|
379
|
-
identifier?: string;
|
|
380
|
-
};
|
|
381
|
-
export type ParsedDocument = OpenAPIDefinition & {
|
|
382
|
-
swagger: unknown;
|
|
383
|
-
};
|
|
384
|
-
export type OpenAPIMcp = {
|
|
385
|
-
protocolVersion: string;
|
|
386
|
-
capabilities: McpCapabilities;
|
|
387
|
-
servers: OpenAPIServer[];
|
|
388
|
-
tools: McpTool[];
|
|
389
|
-
resources: McpResource[];
|
|
390
|
-
prompts: McpPrompt[];
|
|
391
|
-
};
|
|
392
|
-
export type McpCapabilities = {
|
|
393
|
-
[key: string]: boolean | {
|
|
394
|
-
listChanged?: boolean;
|
|
395
|
-
subscribe?: boolean;
|
|
396
|
-
[key: string]: unknown;
|
|
397
|
-
};
|
|
398
|
-
};
|
|
399
|
-
export type McpTool = {
|
|
400
|
-
name: string;
|
|
401
|
-
title?: string;
|
|
402
|
-
description?: string | Node[] | Node;
|
|
403
|
-
inputSchema: OpenAPISchema;
|
|
404
|
-
outputSchema?: OpenAPISchema;
|
|
405
|
-
security?: OpenAPISecurityRequirement[];
|
|
406
|
-
tags?: string[];
|
|
407
|
-
'x-badges'?: OpenAPIXBadges[];
|
|
408
|
-
};
|
|
409
|
-
export type McpResource = {
|
|
410
|
-
name: string;
|
|
411
|
-
title?: string;
|
|
412
|
-
description?: string | Node[] | Node;
|
|
413
|
-
uri: string;
|
|
414
|
-
mimeType: string;
|
|
415
|
-
blob?: string;
|
|
416
|
-
text?: string;
|
|
417
|
-
security?: OpenAPISecurityRequirement[];
|
|
418
|
-
tags?: string[];
|
|
419
|
-
'x-badges'?: OpenAPIXBadges[];
|
|
420
|
-
};
|
|
421
|
-
export type McpPrompt = {
|
|
422
|
-
name: string;
|
|
423
|
-
title?: string;
|
|
424
|
-
description: string | Node[] | Node;
|
|
425
|
-
arguments: McpPromptArgument[];
|
|
426
|
-
security?: OpenAPISecurityRequirement[];
|
|
427
|
-
tags?: string[];
|
|
428
|
-
'x-badges'?: OpenAPIXBadges[];
|
|
429
|
-
};
|
|
430
|
-
export type McpPromptArgument = {
|
|
431
|
-
name: string;
|
|
432
|
-
description: string | Node[] | Node;
|
|
433
|
-
required: boolean;
|
|
434
|
-
example?: string;
|
|
435
|
-
};
|
|
436
|
-
export type OpenAPITagExtended = OpenAPITag & {
|
|
437
|
-
'x-traitTag'?: boolean;
|
|
438
|
-
'x-displayName'?: string;
|
|
439
|
-
parent?: string;
|
|
440
|
-
summary?: string;
|
|
441
|
-
kind?: string;
|
|
442
|
-
};
|
|
443
|
-
export type NormalizedCallbackOperation = {
|
|
444
|
-
httpVerb: string;
|
|
445
|
-
pathName: string;
|
|
446
|
-
summary?: string;
|
|
447
|
-
operationId?: string;
|
|
448
|
-
description?: string | Node[] | Node;
|
|
449
|
-
deprecated?: boolean;
|
|
450
|
-
requestBody?: Referenced<OpenAPIRequestBody>;
|
|
451
|
-
responses?: OpenAPIResponses;
|
|
452
|
-
security?: OpenAPISecurityRequirement[];
|
|
453
|
-
servers?: OpenAPIServer[];
|
|
454
|
-
parameters?: Array<Referenced<OpenAPIParameter>>;
|
|
455
|
-
externalDocs?: {
|
|
456
|
-
url: string;
|
|
457
|
-
description?: string | Node | Node[];
|
|
458
|
-
};
|
|
459
|
-
[key: string]: unknown;
|
|
460
|
-
};
|
|
461
|
-
export type NormalizedCallback = {
|
|
462
|
-
name: string;
|
|
463
|
-
url?: string;
|
|
464
|
-
operations?: NormalizedCallbackOperation[];
|
|
465
|
-
};
|
|
466
|
-
export type OperationInfo = {
|
|
467
|
-
pointer: string;
|
|
468
|
-
pathName: string;
|
|
469
|
-
httpVerb: string;
|
|
470
|
-
operationId?: string;
|
|
471
|
-
summary?: string;
|
|
472
|
-
description?: string | Node[] | Node;
|
|
473
|
-
deprecated?: boolean;
|
|
474
|
-
isWebhook: boolean;
|
|
475
|
-
isAdditionalOperation: boolean;
|
|
476
|
-
tags: string[];
|
|
477
|
-
parameters?: Array<Referenced<OpenAPIParameter>>;
|
|
478
|
-
requestBody?: Referenced<OpenAPIRequestBody>;
|
|
479
|
-
responses?: OpenAPIResponses;
|
|
480
|
-
servers?: OpenAPIServer[];
|
|
481
|
-
security?: OpenAPISecurityRequirement[];
|
|
482
|
-
callbacks?: NormalizedCallback[];
|
|
483
|
-
externalDocs?: ExternalDocsData;
|
|
484
|
-
'x-badges'?: OpenAPIXBadges[];
|
|
485
|
-
'x-codeSamples'?: OpenAPIXCodeSample[];
|
|
486
|
-
};
|
|
487
|
-
export type MarkdownHeading = {
|
|
488
|
-
id: string;
|
|
489
|
-
name: string;
|
|
490
|
-
level: number;
|
|
491
|
-
items: MarkdownHeading[];
|
|
492
|
-
ast: Node[];
|
|
493
|
-
};
|
|
494
|
-
export type TagData = {
|
|
495
|
-
tag: OpenAPITagExtended;
|
|
496
|
-
operations: OperationInfo[];
|
|
497
|
-
description?: string | Node[] | Node;
|
|
498
|
-
children: string[];
|
|
499
|
-
};
|
|
500
|
-
export type OpenApiBuildContext = {
|
|
501
|
-
document: OpenAPIDefinition;
|
|
502
|
-
options: ApiDocsOptions;
|
|
503
|
-
downloadUrls?: NormalizedDownloadUrl[];
|
|
504
|
-
basePath: string;
|
|
505
|
-
tagsMap: Map<string, TagData>;
|
|
506
|
-
collectedTagOrder: string[];
|
|
507
|
-
storeCtx: StoreContext;
|
|
508
|
-
badgeTags: OpenAPITag[];
|
|
509
|
-
processContent: boolean;
|
|
510
|
-
};
|
|
511
|
-
export type Language = {
|
|
512
|
-
key: string;
|
|
513
|
-
label: string;
|
|
514
|
-
lang: string;
|
|
515
|
-
};
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import type { LayoutVariant } from '@redocly/config';
|
|
2
|
-
import type { EditionAsyncApiConfig, EditionGraphQLConfig, EditionRedocConfig } from './edition-config.js';
|
|
3
|
-
import type { ConfigFunction, Node, Schema } from '@markdoc/markdoc';
|
|
4
|
-
import type { MarkdocTagSchema } from '@redocly/theme/markdoc/tags/types';
|
|
5
|
-
import type { ComponentType } from 'react';
|
|
6
|
-
import type { ApiSpecType, SidebarLogo } from './common.js';
|
|
7
|
-
import type { ProtocolVariant } from './asyncapi.js';
|
|
8
|
-
import type { GraphQLOptions } from './graphql.js';
|
|
9
|
-
import type { Events } from './events.js';
|
|
10
|
-
import type { CodeSamplesConfig } from './code-samples-config.js';
|
|
11
|
-
export type * from './code-samples-config.js';
|
|
12
|
-
export type Operation = {
|
|
13
|
-
id: string;
|
|
14
|
-
path: string;
|
|
15
|
-
httpVerb: string;
|
|
16
|
-
name: string;
|
|
17
|
-
};
|
|
18
|
-
export type DownloadUrl = {
|
|
19
|
-
title?: string;
|
|
20
|
-
url: string;
|
|
21
|
-
};
|
|
22
|
-
export type NormalizedDownloadUrl = DownloadUrl & {
|
|
23
|
-
title: string;
|
|
24
|
-
};
|
|
25
|
-
export type ApiDocsMetadata = {
|
|
26
|
-
title?: string;
|
|
27
|
-
description?: string | Node[] | Node;
|
|
28
|
-
summary?: string;
|
|
29
|
-
version?: string;
|
|
30
|
-
[key: string]: unknown;
|
|
31
|
-
};
|
|
32
|
-
export type MarkdocOptions = {
|
|
33
|
-
tags: Record<string, MarkdocTagSchema>;
|
|
34
|
-
nodes: Record<string, Schema>;
|
|
35
|
-
components: Record<string, ComponentType<any>>;
|
|
36
|
-
variables?: Record<string, unknown>;
|
|
37
|
-
partials?: Record<string, unknown>;
|
|
38
|
-
functions?: Record<string, ConfigFunction>;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Turns a raw markdown string into an AST. api-docs core does not bundle a markdown engine — the
|
|
42
|
-
* host supplies the parser (the standalone build supplies a Markdoc-based one; see
|
|
43
|
-
* `markdocParser`). It is the single seam where markdown text becomes an AST.
|
|
44
|
-
*/
|
|
45
|
-
export type MarkdownParser = (markdown: string, sanitizeOptions?: {
|
|
46
|
-
sanitize?: ApiDocsOptions['sanitize'];
|
|
47
|
-
}) => Node | Node[] | undefined;
|
|
48
|
-
export type ApiDocsOptions = {
|
|
49
|
-
schemaDefinitionsTagName?: string;
|
|
50
|
-
jsonSamplesExpandLevel: number;
|
|
51
|
-
generatedSamplesMaxDepth: number;
|
|
52
|
-
hideDownloadButtons: boolean;
|
|
53
|
-
hideSchemaTitles: boolean;
|
|
54
|
-
hideSchemaPattern: boolean;
|
|
55
|
-
maxDisplayedEnumValues: number;
|
|
56
|
-
onlyRequiredInSamples: boolean;
|
|
57
|
-
onDeepLinkClick: ((link: string) => void) | undefined | null;
|
|
58
|
-
schemasExpansionLevel?: number;
|
|
59
|
-
sortRequiredPropsFirst: boolean;
|
|
60
|
-
sanitize: boolean;
|
|
61
|
-
showExtensions: string[] | boolean;
|
|
62
|
-
ignoreNamedSchemas: Set<string>;
|
|
63
|
-
markdownParser: MarkdownParser;
|
|
64
|
-
codeSamples?: CodeSamplesConfig;
|
|
65
|
-
events: Events;
|
|
66
|
-
hidePropertiesPrefix: boolean;
|
|
67
|
-
protocol?: ProtocolVariant;
|
|
68
|
-
scrollYOffset: () => number;
|
|
69
|
-
hideLoading: boolean;
|
|
70
|
-
skipBundle: boolean;
|
|
71
|
-
basePath: string;
|
|
72
|
-
specType: ApiSpecType;
|
|
73
|
-
metadata: ApiDocsMetadata;
|
|
74
|
-
downloadUrls?: NormalizedDownloadUrl[];
|
|
75
|
-
layout: LayoutVariant;
|
|
76
|
-
apiLogo?: SidebarLogo;
|
|
77
|
-
jsonSamplesDepth: number;
|
|
78
|
-
samplesMaxInlineArgs: number;
|
|
79
|
-
fieldExpandLevel: number;
|
|
80
|
-
} & GraphQLOptions;
|
|
81
|
-
export type RawApiDocsOptions = EditionRedocConfig & EditionAsyncApiConfig & EditionGraphQLConfig & {
|
|
82
|
-
specType: ApiSpecType;
|
|
83
|
-
markdownParser: MarkdownParser;
|
|
84
|
-
basePath?: string;
|
|
85
|
-
hideSchemaPattern?: boolean;
|
|
86
|
-
disableTelemetry?: boolean;
|
|
87
|
-
requiredPropsFirst?: boolean;
|
|
88
|
-
protocol?: ProtocolVariant;
|
|
89
|
-
layout?: EditionRedocConfig['layout'] | EditionAsyncApiConfig['layout'] | EditionGraphQLConfig['layout'];
|
|
90
|
-
};
|