@redocly/api-docs 0.0.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/LICENSE.md +1 -0
- package/README.md +3 -0
- package/lib/.tsbuildinfo +1 -0
- package/lib/RedoclyApiDocs.d.ts +22 -0
- package/lib/RedoclyApiDocs.js +1 -0
- package/lib/RedoclyApiDocsStandalone.d.ts +18 -0
- package/lib/RedoclyApiDocsStandalone.js +26 -0
- package/lib/adapters/asyncapi/build/context.d.ts +10 -0
- package/lib/adapters/asyncapi/build/context.js +1 -0
- package/lib/adapters/asyncapi/build/navigation.d.ts +2 -0
- package/lib/adapters/asyncapi/build/navigation.js +1 -0
- package/lib/adapters/asyncapi/build/utils.d.ts +3 -0
- package/lib/adapters/asyncapi/build/utils.js +1 -0
- package/lib/adapters/asyncapi/buildContext.d.ts +2 -0
- package/lib/adapters/asyncapi/buildContext.js +1 -0
- package/lib/adapters/asyncapi/index.d.ts +14 -0
- package/lib/adapters/asyncapi/index.js +1 -0
- package/lib/adapters/asyncapi/items/channel/content.d.ts +5 -0
- package/lib/adapters/asyncapi/items/channel/content.js +1 -0
- package/lib/adapters/asyncapi/items/channel/item.d.ts +13 -0
- package/lib/adapters/asyncapi/items/channel/item.js +1 -0
- package/lib/adapters/asyncapi/items/operation/content.d.ts +4 -0
- package/lib/adapters/asyncapi/items/operation/content.js +3 -0
- package/lib/adapters/asyncapi/items/operation/item.d.ts +15 -0
- package/lib/adapters/asyncapi/items/operation/item.js +1 -0
- package/lib/adapters/asyncapi/items/overview/content.d.ts +10 -0
- package/lib/adapters/asyncapi/items/overview/content.js +1 -0
- package/lib/adapters/asyncapi/items/overview/item.d.ts +16 -0
- package/lib/adapters/asyncapi/items/overview/item.js +1 -0
- package/lib/adapters/asyncapi/panels/brokers.d.ts +4 -0
- package/lib/adapters/asyncapi/panels/brokers.js +1 -0
- package/lib/adapters/asyncapi/panels/download.d.ts +3 -0
- package/lib/adapters/asyncapi/panels/download.js +1 -0
- package/lib/adapters/asyncapi/panels/group.d.ts +16 -0
- package/lib/adapters/asyncapi/panels/group.js +1 -0
- package/lib/adapters/asyncapi/panels/overview.d.ts +3 -0
- package/lib/adapters/asyncapi/panels/overview.js +1 -0
- package/lib/adapters/asyncapi/store.d.ts +4 -0
- package/lib/adapters/asyncapi/store.js +1 -0
- package/lib/adapters/asyncapi/utils/avro-to-json-schema.d.ts +4 -0
- package/lib/adapters/asyncapi/utils/avro-to-json-schema.js +1 -0
- package/lib/adapters/asyncapi/utils/get-channel-label.d.ts +3 -0
- package/lib/adapters/asyncapi/utils/get-channel-label.js +1 -0
- package/lib/adapters/asyncapi/utils/get-protocol-labels.d.ts +24 -0
- package/lib/adapters/asyncapi/utils/get-protocol-labels.js +1 -0
- package/lib/adapters/asyncapi/utils/get-server-host.d.ts +3 -0
- package/lib/adapters/asyncapi/utils/get-server-host.js +1 -0
- package/lib/adapters/asyncapi/utils/resolve-schema.d.ts +2 -0
- package/lib/adapters/asyncapi/utils/resolve-schema.js +1 -0
- package/lib/adapters/asyncapi/utils/resolveInDoc.d.ts +2 -0
- package/lib/adapters/asyncapi/utils/resolveInDoc.js +1 -0
- package/lib/adapters/build.d.ts +31 -0
- package/lib/adapters/build.js +1 -0
- package/lib/adapters/graphql/build/context.d.ts +9 -0
- package/lib/adapters/graphql/build/context.js +1 -0
- package/lib/adapters/graphql/buildContext.d.ts +2 -0
- package/lib/adapters/graphql/buildContext.js +1 -0
- package/lib/adapters/graphql/buildStoreFromSdl.d.ts +2 -0
- package/lib/adapters/graphql/buildStoreFromSdl.js +1 -0
- package/lib/adapters/graphql/group/custom.d.ts +2 -0
- package/lib/adapters/graphql/group/custom.js +1 -0
- package/lib/adapters/graphql/group/default.d.ts +2 -0
- package/lib/adapters/graphql/group/default.js +1 -0
- package/lib/adapters/graphql/group/errors.d.ts +1 -0
- package/lib/adapters/graphql/group/errors.js +1 -0
- package/lib/adapters/graphql/group/itemBuilders.d.ts +5 -0
- package/lib/adapters/graphql/group/itemBuilders.js +1 -0
- package/lib/adapters/graphql/group/utils.d.ts +8 -0
- package/lib/adapters/graphql/group/utils.js +1 -0
- package/lib/adapters/graphql/index.d.ts +10 -0
- package/lib/adapters/graphql/index.js +1 -0
- package/lib/adapters/graphql/items/directive/content.d.ts +4 -0
- package/lib/adapters/graphql/items/directive/content.js +1 -0
- package/lib/adapters/graphql/items/directive/item.d.ts +3 -0
- package/lib/adapters/graphql/items/directive/item.js +1 -0
- package/lib/adapters/graphql/items/enum/content.d.ts +4 -0
- package/lib/adapters/graphql/items/enum/content.js +1 -0
- package/lib/adapters/graphql/items/enum/item.d.ts +3 -0
- package/lib/adapters/graphql/items/enum/item.js +1 -0
- package/lib/adapters/graphql/items/input/content.d.ts +4 -0
- package/lib/adapters/graphql/items/input/content.js +1 -0
- package/lib/adapters/graphql/items/input/item.d.ts +3 -0
- package/lib/adapters/graphql/items/input/item.js +1 -0
- package/lib/adapters/graphql/items/interface/content.d.ts +4 -0
- package/lib/adapters/graphql/items/interface/content.js +1 -0
- package/lib/adapters/graphql/items/interface/item.d.ts +3 -0
- package/lib/adapters/graphql/items/interface/item.js +1 -0
- package/lib/adapters/graphql/items/mutation/content.d.ts +4 -0
- package/lib/adapters/graphql/items/mutation/content.js +1 -0
- package/lib/adapters/graphql/items/mutation/item.d.ts +3 -0
- package/lib/adapters/graphql/items/mutation/item.js +1 -0
- package/lib/adapters/graphql/items/object/content.d.ts +4 -0
- package/lib/adapters/graphql/items/object/content.js +1 -0
- package/lib/adapters/graphql/items/object/item.d.ts +3 -0
- package/lib/adapters/graphql/items/object/item.js +1 -0
- package/lib/adapters/graphql/items/operation/content.d.ts +7 -0
- package/lib/adapters/graphql/items/operation/content.js +1 -0
- package/lib/adapters/graphql/items/overview/content.d.ts +11 -0
- package/lib/adapters/graphql/items/overview/content.js +1 -0
- package/lib/adapters/graphql/items/overview/item.d.ts +4 -0
- package/lib/adapters/graphql/items/overview/item.js +1 -0
- package/lib/adapters/graphql/items/query/content.d.ts +4 -0
- package/lib/adapters/graphql/items/query/content.js +1 -0
- package/lib/adapters/graphql/items/query/item.d.ts +3 -0
- package/lib/adapters/graphql/items/query/item.js +1 -0
- package/lib/adapters/graphql/items/scalar/content.d.ts +4 -0
- package/lib/adapters/graphql/items/scalar/content.js +1 -0
- package/lib/adapters/graphql/items/scalar/item.d.ts +3 -0
- package/lib/adapters/graphql/items/scalar/item.js +1 -0
- package/lib/adapters/graphql/items/subscription/content.d.ts +4 -0
- package/lib/adapters/graphql/items/subscription/content.js +1 -0
- package/lib/adapters/graphql/items/subscription/item.d.ts +3 -0
- package/lib/adapters/graphql/items/subscription/item.js +1 -0
- package/lib/adapters/graphql/items/types.d.ts +7 -0
- package/lib/adapters/graphql/items/types.js +0 -0
- package/lib/adapters/graphql/items/union/content.d.ts +4 -0
- package/lib/adapters/graphql/items/union/content.js +1 -0
- package/lib/adapters/graphql/items/union/item.d.ts +3 -0
- package/lib/adapters/graphql/items/union/item.js +1 -0
- package/lib/adapters/graphql/panels/download.d.ts +3 -0
- package/lib/adapters/graphql/panels/download.js +1 -0
- package/lib/adapters/graphql/panels/group-items.d.ts +4 -0
- package/lib/adapters/graphql/panels/group-items.js +1 -0
- package/lib/adapters/graphql/panels/overview.d.ts +3 -0
- package/lib/adapters/graphql/panels/overview.js +1 -0
- package/lib/adapters/graphql/serializeType.d.ts +5 -0
- package/lib/adapters/graphql/serializeType.js +1 -0
- package/lib/adapters/graphql/store.d.ts +3 -0
- package/lib/adapters/graphql/store.js +1 -0
- package/lib/adapters/graphql/utils/appendGraphqlItemFeedback.d.ts +2 -0
- package/lib/adapters/graphql/utils/appendGraphqlItemFeedback.js +1 -0
- package/lib/adapters/graphql/utils/configMetadataRows.d.ts +3 -0
- package/lib/adapters/graphql/utils/configMetadataRows.js +1 -0
- package/lib/adapters/graphql/utils/constants.d.ts +23 -0
- package/lib/adapters/graphql/utils/constants.js +1 -0
- package/lib/adapters/graphql/utils/createApiItem.d.ts +15 -0
- package/lib/adapters/graphql/utils/createApiItem.js +1 -0
- package/lib/adapters/graphql/utils/getBadges.d.ts +4 -0
- package/lib/adapters/graphql/utils/getBadges.js +1 -0
- package/lib/adapters/graphql/utils/ignoreInternalItems.d.ts +3 -0
- package/lib/adapters/graphql/utils/ignoreInternalItems.js +1 -0
- package/lib/adapters/graphql/utils/isRootType.d.ts +2 -0
- package/lib/adapters/graphql/utils/isRootType.js +1 -0
- package/lib/adapters/graphql/utils/menuSlashRegex.d.ts +1 -0
- package/lib/adapters/graphql/utils/menuSlashRegex.js +1 -0
- package/lib/adapters/graphql/utils/normalizeMenu.d.ts +3 -0
- package/lib/adapters/graphql/utils/normalizeMenu.js +1 -0
- package/lib/adapters/graphql/utils/shouldIncludeItem.d.ts +2 -0
- package/lib/adapters/graphql/utils/shouldIncludeItem.js +1 -0
- package/lib/adapters/graphql/utils/summary.d.ts +4 -0
- package/lib/adapters/graphql/utils/summary.js +1 -0
- package/lib/adapters/graphql/utils/validateMenuConfig.d.ts +3 -0
- package/lib/adapters/graphql/utils/validateMenuConfig.js +1 -0
- package/lib/adapters/helpers.d.ts +47 -0
- package/lib/adapters/helpers.js +1 -0
- package/lib/adapters/openapi/build/context.d.ts +13 -0
- package/lib/adapters/openapi/build/context.js +1 -0
- package/lib/adapters/openapi/build-code-sample-source.d.ts +5 -0
- package/lib/adapters/openapi/build-code-sample-source.js +1 -0
- package/lib/adapters/openapi/buildContext.d.ts +2 -0
- package/lib/adapters/openapi/buildContext.js +1 -0
- package/lib/adapters/openapi/configure/apply-request-values.d.ts +3 -0
- package/lib/adapters/openapi/configure/apply-request-values.js +1 -0
- package/lib/adapters/openapi/configure/index.d.ts +3 -0
- package/lib/adapters/openapi/configure/index.js +1 -0
- package/lib/adapters/openapi/configure/merge-utils.d.ts +32 -0
- package/lib/adapters/openapi/configure/merge-utils.js +1 -0
- package/lib/adapters/openapi/configure/resolve-request-values.d.ts +17 -0
- package/lib/adapters/openapi/configure/resolve-request-values.js +1 -0
- package/lib/adapters/openapi/constants.d.ts +4 -0
- package/lib/adapters/openapi/constants.js +1 -0
- package/lib/adapters/openapi/group/content.d.ts +28 -0
- package/lib/adapters/openapi/group/content.js +1 -0
- package/lib/adapters/openapi/group/item.d.ts +11 -0
- package/lib/adapters/openapi/group/item.js +1 -0
- package/lib/adapters/openapi/index.d.ts +13 -0
- package/lib/adapters/openapi/index.js +1 -0
- package/lib/adapters/openapi/items/mcp/content.d.ts +5 -0
- package/lib/adapters/openapi/items/mcp/content.js +1 -0
- package/lib/adapters/openapi/items/mcp/item.d.ts +9 -0
- package/lib/adapters/openapi/items/mcp/item.js +1 -0
- package/lib/adapters/openapi/items/operation/content.d.ts +3 -0
- package/lib/adapters/openapi/items/operation/content.js +1 -0
- package/lib/adapters/openapi/items/operation/item.d.ts +9 -0
- package/lib/adapters/openapi/items/operation/item.js +1 -0
- package/lib/adapters/openapi/items/overview/content.d.ts +18 -0
- package/lib/adapters/openapi/items/overview/content.js +1 -0
- package/lib/adapters/openapi/items/overview/item.d.ts +3 -0
- package/lib/adapters/openapi/items/overview/item.js +1 -0
- package/lib/adapters/openapi/items/schema/content.d.ts +3 -0
- package/lib/adapters/openapi/items/schema/content.js +1 -0
- package/lib/adapters/openapi/items/schema/item.d.ts +9 -0
- package/lib/adapters/openapi/items/schema/item.js +1 -0
- package/lib/adapters/openapi/panels/download.d.ts +3 -0
- package/lib/adapters/openapi/panels/download.js +1 -0
- package/lib/adapters/openapi/panels/languages.d.ts +3 -0
- package/lib/adapters/openapi/panels/languages.js +1 -0
- package/lib/adapters/openapi/panels/mcp.d.ts +3 -0
- package/lib/adapters/openapi/panels/mcp.js +1 -0
- package/lib/adapters/openapi/panels/overview.d.ts +3 -0
- package/lib/adapters/openapi/panels/overview.js +1 -0
- package/lib/adapters/openapi/panels/servers.d.ts +3 -0
- package/lib/adapters/openapi/panels/servers.js +1 -0
- package/lib/adapters/openapi/resolve-openapi-example-value.d.ts +3 -0
- package/lib/adapters/openapi/resolve-openapi-example-value.js +1 -0
- package/lib/adapters/openapi/store.d.ts +4 -0
- package/lib/adapters/openapi/store.js +1 -0
- package/lib/adapters/openapi/utils/JsonPointer.d.ts +51 -0
- package/lib/adapters/openapi/utils/JsonPointer.js +1 -0
- package/lib/adapters/openapi/utils/applyIgnoreNamedSchemasDeep.d.ts +1 -0
- package/lib/adapters/openapi/utils/applyIgnoreNamedSchemasDeep.js +1 -0
- package/lib/adapters/openapi/utils/helpers.d.ts +14 -0
- package/lib/adapters/openapi/utils/helpers.js +1 -0
- package/lib/adapters/openapi/utils/merge-mock-server.d.ts +15 -0
- package/lib/adapters/openapi/utils/merge-mock-server.js +1 -0
- package/lib/adapters/openapi/utils/operation.d.ts +23 -0
- package/lib/adapters/openapi/utils/operation.js +1 -0
- package/lib/adapters/openapi/utils/resolvePathItemRef.d.ts +2 -0
- package/lib/adapters/openapi/utils/resolvePathItemRef.js +1 -0
- package/lib/adapters/openapi/utils/url.d.ts +2 -0
- package/lib/adapters/openapi/utils/url.js +1 -0
- package/lib/adapters/rbac-schema-propagation.d.ts +2 -0
- package/lib/adapters/rbac-schema-propagation.js +1 -0
- package/lib/adapters/scopedContext.d.ts +5 -0
- package/lib/adapters/scopedContext.js +1 -0
- package/lib/adapters/utils/convertSwagger2OpenAPI.d.ts +2 -0
- package/lib/adapters/utils/convertSwagger2OpenAPI.js +1 -0
- package/lib/adapters/utils/dompurify.d.ts +5 -0
- package/lib/adapters/utils/dompurify.js +1 -0
- package/lib/adapters/utils/infoMetadata.d.ts +5 -0
- package/lib/adapters/utils/infoMetadata.js +1 -0
- package/lib/adapters/utils/isPlainText.d.ts +6 -0
- package/lib/adapters/utils/isPlainText.js +1 -0
- package/lib/adapters/utils/markdoc.d.ts +38 -0
- package/lib/adapters/utils/markdoc.js +1 -0
- package/lib/adapters/utils/parseMarkdown.d.ts +8 -0
- package/lib/adapters/utils/parseMarkdown.js +1 -0
- package/lib/adapters/utils/seo.d.ts +3 -0
- package/lib/adapters/utils/seo.js +1 -0
- package/lib/adapters/utils/simplifyAstStructure.d.ts +2 -0
- package/lib/adapters/utils/simplifyAstStructure.js +1 -0
- package/lib/components/AdmonitionItem.d.ts +6 -0
- package/lib/components/AdmonitionItem.js +1 -0
- package/lib/components/ChannelAddressItem.d.ts +7 -0
- package/lib/components/ChannelAddressItem.js +31 -0
- package/lib/components/ContainerItem.d.ts +9 -0
- package/lib/components/ContainerItem.js +1 -0
- package/lib/components/EmptyMessageItem.d.ts +6 -0
- package/lib/components/EmptyMessageItem.js +6 -0
- package/lib/components/ErrorBoundary.d.ts +18 -0
- package/lib/components/ErrorBoundary.js +1 -0
- package/lib/components/ExtensionsItem.d.ts +7 -0
- package/lib/components/ExtensionsItem.js +1 -0
- package/lib/components/ExternalDocsItem.d.ts +8 -0
- package/lib/components/ExternalDocsItem.js +1 -0
- package/lib/components/FeedbackItem.d.ts +9 -0
- package/lib/components/FeedbackItem.js +17 -0
- package/lib/components/Header/HeaderItem.d.ts +91 -0
- package/lib/components/Header/HeaderItem.js +105 -0
- package/lib/components/Header/HeaderResponseCodeTabs.d.ts +8 -0
- package/lib/components/Header/HeaderResponseCodeTabs.js +1 -0
- package/lib/components/Header/ResponseDeepLinkAnchor.d.ts +9 -0
- package/lib/components/Header/ResponseDeepLinkAnchor.js +1 -0
- package/lib/components/Header/hooks.d.ts +5 -0
- package/lib/components/Header/hooks.js +1 -0
- package/lib/components/InfoMetadataItem.d.ts +7 -0
- package/lib/components/InfoMetadataItem.js +1 -0
- package/lib/components/ItemContent/ItemContentRenderer.d.ts +8 -0
- package/lib/components/ItemContent/ItemContentRenderer.js +11 -0
- package/lib/components/ItemContent/SectionHeader.d.ts +8 -0
- package/lib/components/ItemContent/SectionHeader.js +14 -0
- package/lib/components/ItemContent/hooks.d.ts +5 -0
- package/lib/components/ItemContent/hooks.js +1 -0
- package/lib/components/ItemContent/sections/BodyMimeTypeField.d.ts +12 -0
- package/lib/components/ItemContent/sections/BodyMimeTypeField.js +60 -0
- package/lib/components/ItemContent/sections/BodySection.d.ts +7 -0
- package/lib/components/ItemContent/sections/BodySection.js +13 -0
- package/lib/components/ItemContent/sections/CallbacksSection.d.ts +5 -0
- package/lib/components/ItemContent/sections/CallbacksSection.js +131 -0
- package/lib/components/ItemContent/sections/FieldsSection.d.ts +7 -0
- package/lib/components/ItemContent/sections/FieldsSection.js +79 -0
- package/lib/components/ItemContent/sections/MessagesSection.d.ts +5 -0
- package/lib/components/ItemContent/sections/MessagesSection.js +58 -0
- package/lib/components/ItemContent/sections/ParametersSection.d.ts +6 -0
- package/lib/components/ItemContent/sections/ParametersSection.js +4 -0
- package/lib/components/ItemContent/sections/ResponsesSection.d.ts +5 -0
- package/lib/components/ItemContent/sections/ResponsesSection.js +28 -0
- package/lib/components/ItemContent/sections/ValuesSection.d.ts +5 -0
- package/lib/components/ItemContent/sections/ValuesSection.js +26 -0
- package/lib/components/LicenseOverlay.d.ts +6 -0
- package/lib/components/LicenseOverlay.js +42 -0
- package/lib/components/Mapper.d.ts +25 -0
- package/lib/components/Mapper.js +1 -0
- package/lib/components/MarkdownItem.d.ts +6 -0
- package/lib/components/MarkdownItem.js +1 -0
- package/lib/components/Mcp/McpPrompt.d.ts +8 -0
- package/lib/components/Mcp/McpPrompt.js +1 -0
- package/lib/components/Mcp/McpResource.d.ts +8 -0
- package/lib/components/Mcp/McpResource.js +3 -0
- package/lib/components/Mcp/McpTool.d.ts +8 -0
- package/lib/components/Mcp/McpTool.js +1 -0
- package/lib/components/Mcp/styled.d.ts +19 -0
- package/lib/components/Mcp/styled.js +22 -0
- package/lib/components/Mcp/utils.d.ts +6 -0
- package/lib/components/Mcp/utils.js +1 -0
- package/lib/components/MessageLinksItem.d.ts +7 -0
- package/lib/components/MessageLinksItem.js +30 -0
- package/lib/components/RenderHook.d.ts +6 -0
- package/lib/components/RenderHook.js +1 -0
- package/lib/components/Replay/EmbeddedReplay.d.ts +16 -0
- package/lib/components/Replay/EmbeddedReplay.js +10 -0
- package/lib/components/Replay/Replay.d.ts +13 -0
- package/lib/components/Replay/Replay.js +1 -0
- package/lib/components/Replay/adapterToMarkdownParser.d.ts +12 -0
- package/lib/components/Replay/adapterToMarkdownParser.js +1 -0
- package/lib/components/Replay/index.d.ts +2 -0
- package/lib/components/Replay/index.js +1 -0
- package/lib/components/Schema/SchemaDescription.d.ts +5 -0
- package/lib/components/Schema/SchemaDescription.js +1 -0
- package/lib/components/Schema/SchemaView.d.ts +20 -0
- package/lib/components/Schema/SchemaView.js +1 -0
- package/lib/components/Schema/helpers.d.ts +1 -0
- package/lib/components/Schema/helpers.js +1 -0
- package/lib/components/Schema/hooks/useSchemaDocument.d.ts +7 -0
- package/lib/components/Schema/hooks/useSchemaDocument.js +1 -0
- package/lib/components/Schema/hooks/useSchemaFieldDeepLink.d.ts +5 -0
- package/lib/components/Schema/hooks/useSchemaFieldDeepLink.js +1 -0
- package/lib/components/Schema/hooks/useVariantIndexFromHash.d.ts +1 -0
- package/lib/components/Schema/hooks/useVariantIndexFromHash.js +1 -0
- package/lib/components/Schema/styled.d.ts +146 -0
- package/lib/components/Schema/styled.js +342 -0
- package/lib/components/Schema/utils.d.ts +26 -0
- package/lib/components/Schema/utils.js +1 -0
- package/lib/components/Schema/views/ArrayRenderer.d.ts +13 -0
- package/lib/components/Schema/views/ArrayRenderer.js +1 -0
- package/lib/components/Schema/views/CollapsibleNestedFields.d.ts +25 -0
- package/lib/components/Schema/views/CollapsibleNestedFields.js +1 -0
- package/lib/components/Schema/views/DefaultMappingOptionLabel.d.ts +5 -0
- package/lib/components/Schema/views/DefaultMappingOptionLabel.js +15 -0
- package/lib/components/Schema/views/DiscriminatorPropertyRow.d.ts +13 -0
- package/lib/components/Schema/views/DiscriminatorPropertyRow.js +1 -0
- package/lib/components/Schema/views/Examples.d.ts +7 -0
- package/lib/components/Schema/views/Examples.js +1 -0
- package/lib/components/Schema/views/ExpandableExample.d.ts +4 -0
- package/lib/components/Schema/views/ExpandableExample.js +3 -0
- package/lib/components/Schema/views/ObjectRenderer.d.ts +14 -0
- package/lib/components/Schema/views/ObjectRenderer.js +1 -0
- package/lib/components/Schema/views/Pattern.d.ts +6 -0
- package/lib/components/Schema/views/Pattern.js +1 -0
- package/lib/components/Schema/views/PrimitiveRenderer.d.ts +5 -0
- package/lib/components/Schema/views/PrimitiveRenderer.js +1 -0
- package/lib/components/Schema/views/PropertyFieldRow.d.ts +16 -0
- package/lib/components/Schema/views/PropertyFieldRow.js +1 -0
- package/lib/components/Schema/views/PropertyRenderer.d.ts +15 -0
- package/lib/components/Schema/views/PropertyRenderer.js +1 -0
- package/lib/components/Schema/views/SchemaEnumDescriptions.d.ts +9 -0
- package/lib/components/Schema/views/SchemaEnumDescriptions.js +5 -0
- package/lib/components/Schema/views/SchemaEnumValues.d.ts +8 -0
- package/lib/components/Schema/views/SchemaEnumValues.js +1 -0
- package/lib/components/Schema/views/SchemaTitleLabel.d.ts +5 -0
- package/lib/components/Schema/views/SchemaTitleLabel.js +1 -0
- package/lib/components/Schema/views/SchemaVariantSelector.d.ts +11 -0
- package/lib/components/Schema/views/SchemaVariantSelector.js +1 -0
- package/lib/components/Schema/views/SwitcherRenderer.d.ts +14 -0
- package/lib/components/Schema/views/SwitcherRenderer.js +1 -0
- package/lib/components/Schema/views/VariantDropdown.d.ts +14 -0
- package/lib/components/Schema/views/VariantDropdown.js +99 -0
- package/lib/components/SchemaCatalogLink.d.ts +6 -0
- package/lib/components/SchemaCatalogLink.js +35 -0
- package/lib/components/Security/Divider.d.ts +4 -0
- package/lib/components/Security/Divider.js +15 -0
- package/lib/components/Security/RequiredScopes.d.ts +4 -0
- package/lib/components/Security/RequiredScopes.js +5 -0
- package/lib/components/Security/ScopeTagWithTooltip.d.ts +11 -0
- package/lib/components/Security/ScopeTagWithTooltip.js +28 -0
- package/lib/components/Security/SecurityButtonPanel.d.ts +5 -0
- package/lib/components/Security/SecurityButtonPanel.js +1 -0
- package/lib/components/Security/SecurityFlowDetail.d.ts +5 -0
- package/lib/components/Security/SecurityFlowDetail.js +1 -0
- package/lib/components/Security/SecurityModal.d.ts +6 -0
- package/lib/components/Security/SecurityModal.js +1 -0
- package/lib/components/Security/SecuritySection.d.ts +3 -0
- package/lib/components/Security/SecuritySection.js +1 -0
- package/lib/components/Security/styled.d.ts +83 -0
- package/lib/components/Security/styled.js +219 -0
- package/lib/components/Security/types.d.ts +3 -0
- package/lib/components/Security/types.js +0 -0
- package/lib/components/SideMenu/SideMenu.d.ts +7 -0
- package/lib/components/SideMenu/SideMenu.js +4 -0
- package/lib/components/SideMenu/buildMenuItems.d.ts +29 -0
- package/lib/components/SideMenu/buildMenuItems.js +1 -0
- package/lib/components/SideMenu/useMenuItems.d.ts +14 -0
- package/lib/components/SideMenu/useMenuItems.js +1 -0
- package/lib/components/StickySidebar/SidebarActions.d.ts +1 -0
- package/lib/components/StickySidebar/SidebarActions.js +5 -0
- package/lib/components/StickySidebar/StickySidebar.d.ts +7 -0
- package/lib/components/StickySidebar/StickySidebar.js +22 -0
- package/lib/components/common/Badge.d.ts +43 -0
- package/lib/components/common/Badge.js +33 -0
- package/lib/components/common/Breadcrumbs.d.ts +11 -0
- package/lib/components/common/Breadcrumbs.js +43 -0
- package/lib/components/common/ContentWrapper.d.ts +25 -0
- package/lib/components/common/ContentWrapper.js +106 -0
- package/lib/components/common/DeepLinkAnchor.d.ts +20 -0
- package/lib/components/common/DeepLinkAnchor.js +32 -0
- package/lib/components/common/ExpandAllButton.d.ts +6 -0
- package/lib/components/common/ExpandAllButton.js +3 -0
- package/lib/components/common/ExternalDocumentation.d.ts +10 -0
- package/lib/components/common/ExternalDocumentation.js +10 -0
- package/lib/components/common/LazyMount.d.ts +9 -0
- package/lib/components/common/LazyMount.js +3 -0
- package/lib/components/common/LazySection.d.ts +14 -0
- package/lib/components/common/LazySection.js +9 -0
- package/lib/components/common/Markdown.d.ts +7 -0
- package/lib/components/common/Markdown.js +1 -0
- package/lib/components/common/MoreDetailsButton.d.ts +5 -0
- package/lib/components/common/MoreDetailsButton.js +12 -0
- package/lib/components/common/NestedToggleButton.d.ts +10 -0
- package/lib/components/common/NestedToggleButton.js +16 -0
- package/lib/components/common/PanelItem.d.ts +70 -0
- package/lib/components/common/PanelItem.js +62 -0
- package/lib/components/common/ResponseCodeTabs.d.ts +8 -0
- package/lib/components/common/ResponseCodeTabs.js +36 -0
- package/lib/components/common/Tag.d.ts +1 -0
- package/lib/components/common/Tag.js +11 -0
- package/lib/components/common/VendorExtensions.d.ts +7 -0
- package/lib/components/common/VendorExtensions.js +5 -0
- package/lib/components/common/ViewNested.d.ts +14 -0
- package/lib/components/common/ViewNested.js +31 -0
- package/lib/components/graphql/ArrowIcon.d.ts +9 -0
- package/lib/components/graphql/ArrowIcon.js +4 -0
- package/lib/components/graphql/GraphQLArgumentsSection.d.ts +10 -0
- package/lib/components/graphql/GraphQLArgumentsSection.js +1 -0
- package/lib/components/graphql/GraphQLEnumEmbedded.d.ts +5 -0
- package/lib/components/graphql/GraphQLEnumEmbedded.js +3 -0
- package/lib/components/graphql/GraphQLFieldView.d.ts +12 -0
- package/lib/components/graphql/GraphQLFieldView.js +1 -0
- package/lib/components/graphql/GraphQLFieldsEmbedded.d.ts +9 -0
- package/lib/components/graphql/GraphQLFieldsEmbedded.js +1 -0
- package/lib/components/graphql/GraphQLGroupTypeList.d.ts +5 -0
- package/lib/components/graphql/GraphQLGroupTypeList.js +11 -0
- package/lib/components/graphql/GraphQLHeaderExtras.d.ts +7 -0
- package/lib/components/graphql/GraphQLHeaderExtras.js +1 -0
- package/lib/components/graphql/GraphQLReturnTypeDetails.d.ts +11 -0
- package/lib/components/graphql/GraphQLReturnTypeDetails.js +18 -0
- package/lib/components/graphql/GraphQLTypeView.d.ts +9 -0
- package/lib/components/graphql/GraphQLTypeView.js +1 -0
- package/lib/components/graphql/GraphQLUnionEmbedded.d.ts +5 -0
- package/lib/components/graphql/GraphQLUnionEmbedded.js +1 -0
- package/lib/components/graphql/RequiresScopesButton.d.ts +9 -0
- package/lib/components/graphql/RequiresScopesButton.js +38 -0
- package/lib/components/graphql/RequiresScopesModal.d.ts +9 -0
- package/lib/components/graphql/RequiresScopesModal.js +88 -0
- package/lib/components/graphql/ViewNested.d.ts +14 -0
- package/lib/components/graphql/ViewNested.js +46 -0
- package/lib/components/graphql/renderDescription.d.ts +2 -0
- package/lib/components/graphql/renderDescription.js +1 -0
- package/lib/components/graphql/sections/GraphQLArgsSection.d.ts +5 -0
- package/lib/components/graphql/sections/GraphQLArgsSection.js +7 -0
- package/lib/components/graphql/sections/GraphQLFieldsSection.d.ts +5 -0
- package/lib/components/graphql/sections/GraphQLFieldsSection.js +1 -0
- package/lib/components/graphql/sections/ImplementedBySection.d.ts +5 -0
- package/lib/components/graphql/sections/ImplementedBySection.js +1 -0
- package/lib/components/graphql/sections/ImplementsSection.d.ts +5 -0
- package/lib/components/graphql/sections/ImplementsSection.js +1 -0
- package/lib/components/graphql/sections/PossibleTypesSection.d.ts +5 -0
- package/lib/components/graphql/sections/PossibleTypesSection.js +1 -0
- package/lib/components/graphql/sections/RequiresScopesSection.d.ts +5 -0
- package/lib/components/graphql/sections/RequiresScopesSection.js +1 -0
- package/lib/components/graphql/sections/ReturnTypeSection.d.ts +5 -0
- package/lib/components/graphql/sections/ReturnTypeSection.js +7 -0
- package/lib/components/graphql/styled.d.ts +45 -0
- package/lib/components/graphql/styled.js +124 -0
- package/lib/components/markdoc/Heading.d.ts +11 -0
- package/lib/components/markdoc/Heading.js +6 -0
- package/lib/components/markdoc/SchemaDefinition.d.ts +11 -0
- package/lib/components/markdoc/SchemaDefinition.js +6 -0
- package/lib/components/markdoc/apiDocsMarkdocComponents.d.ts +6 -0
- package/lib/components/markdoc/apiDocsMarkdocComponents.js +1 -0
- package/lib/components/markdoc/buildMarkdocOptions.d.ts +9 -0
- package/lib/components/markdoc/buildMarkdocOptions.js +1 -0
- package/lib/components/markdoc/defaultMarkdocConfig.d.ts +14 -0
- package/lib/components/markdoc/defaultMarkdocConfig.js +1 -0
- package/lib/components/markdoc/markdocAdapter.d.ts +11 -0
- package/lib/components/markdoc/markdocAdapter.js +1 -0
- package/lib/components/markdoc/markdocParser.d.ts +6 -0
- package/lib/components/markdoc/markdocParser.js +1 -0
- package/lib/components/markdoc/markdocRenderer.d.ts +8 -0
- package/lib/components/markdoc/markdocRenderer.js +3 -0
- package/lib/components/markdoc/tags/mcp-tag-schemas.d.ts +2 -0
- package/lib/components/markdoc/tags/mcp-tag-schemas.js +1 -0
- package/lib/components/markdoc/tags/schema-definition-tag.d.ts +2 -0
- package/lib/components/markdoc/tags/schema-definition-tag.js +1 -0
- package/lib/components/panels/DownloadPanelItem.d.ts +5 -0
- package/lib/components/panels/DownloadPanelItem.js +26 -0
- package/lib/components/panels/ExampleItem/CallbackPayloadItem.d.ts +5 -0
- package/lib/components/panels/ExampleItem/CallbackPayloadItem.js +5 -0
- package/lib/components/panels/ExampleItem/CodeSampleItem.d.ts +5 -0
- package/lib/components/panels/ExampleItem/CodeSampleItem.js +1 -0
- package/lib/components/panels/ExampleItem/ExamplesPanelItem.d.ts +3 -0
- package/lib/components/panels/ExampleItem/ExamplesPanelItem.js +1 -0
- package/lib/components/panels/ExampleItem/GraphQLQueryItem.d.ts +5 -0
- package/lib/components/panels/ExampleItem/GraphQLQueryItem.js +1 -0
- package/lib/components/panels/ExampleItem/GraphQLResponseItem.d.ts +5 -0
- package/lib/components/panels/ExampleItem/GraphQLResponseItem.js +1 -0
- package/lib/components/panels/ExampleItem/GraphQLTypeSampleItem.d.ts +5 -0
- package/lib/components/panels/ExampleItem/GraphQLTypeSampleItem.js +1 -0
- package/lib/components/panels/ExampleItem/GraphQLVariablesItem.d.ts +5 -0
- package/lib/components/panels/ExampleItem/GraphQLVariablesItem.js +1 -0
- package/lib/components/panels/ExampleItem/PayloadExampleItem.d.ts +5 -0
- package/lib/components/panels/ExampleItem/PayloadExampleItem.js +4 -0
- package/lib/components/panels/ExampleItem/ResponseExampleItem.d.ts +5 -0
- package/lib/components/panels/ExampleItem/ResponseExampleItem.js +1 -0
- package/lib/components/panels/ExampleItem/ServerDropdown.d.ts +17 -0
- package/lib/components/panels/ExampleItem/ServerDropdown.js +11 -0
- package/lib/components/panels/ExampleItem/hooks.d.ts +25 -0
- package/lib/components/panels/ExampleItem/hooks.js +1 -0
- package/lib/components/panels/ExampleItem/selectors.d.ts +36 -0
- package/lib/components/panels/ExampleItem/selectors.js +1 -0
- package/lib/components/panels/ExampleItem/styled.d.ts +164 -0
- package/lib/components/panels/ExampleItem/styled.js +128 -0
- package/lib/components/panels/ExampleItem/types.d.ts +9 -0
- package/lib/components/panels/ExampleItem/types.js +0 -0
- package/lib/components/panels/GroupPanelItem.d.ts +5 -0
- package/lib/components/panels/GroupPanelItem.js +116 -0
- package/lib/components/panels/LanguageItem/LanguageDropdown.d.ts +15 -0
- package/lib/components/panels/LanguageItem/LanguageDropdown.js +1 -0
- package/lib/components/panels/LanguageItem/LanguageItem.d.ts +11 -0
- package/lib/components/panels/LanguageItem/LanguageItem.js +1 -0
- package/lib/components/panels/LanguageItem/LanguageList.d.ts +10 -0
- package/lib/components/panels/LanguageItem/LanguageList.js +1 -0
- package/lib/components/panels/LanguageItem/LanguageListSkeleton.d.ts +4 -0
- package/lib/components/panels/LanguageItem/LanguageListSkeleton.js +22 -0
- package/lib/components/panels/LanguageItem/LanguagePanelItem.d.ts +5 -0
- package/lib/components/panels/LanguageItem/LanguagePanelItem.js +1 -0
- package/lib/components/panels/LanguageItem/constants.d.ts +2 -0
- package/lib/components/panels/LanguageItem/constants.js +1 -0
- package/lib/components/panels/LanguageItem/styled.d.ts +94 -0
- package/lib/components/panels/LanguageItem/styled.js +96 -0
- package/lib/components/panels/LocationsPanelItem.d.ts +5 -0
- package/lib/components/panels/LocationsPanelItem.js +1 -0
- package/lib/components/panels/McpExamplePanelItem.d.ts +5 -0
- package/lib/components/panels/McpExamplePanelItem.js +6 -0
- package/lib/components/panels/McpPanelItem.d.ts +3 -0
- package/lib/components/panels/McpPanelItem.js +54 -0
- package/lib/components/panels/OverviewPanelItem.d.ts +3 -0
- package/lib/components/panels/OverviewPanelItem.js +17 -0
- package/lib/components/panels/PanelMapper.d.ts +5 -0
- package/lib/components/panels/PanelMapper.js +1 -0
- package/lib/components/panels/PanelNodeProps.d.ts +4 -0
- package/lib/components/panels/PanelNodeProps.js +0 -0
- package/lib/components/panels/ReferencesPanelItem.d.ts +5 -0
- package/lib/components/panels/ReferencesPanelItem.js +19 -0
- package/lib/components/panels/ServerItem/ServerDescriptionTooltip.d.ts +4 -0
- package/lib/components/panels/ServerItem/ServerDescriptionTooltip.js +1 -0
- package/lib/components/panels/ServerItem/ServerItem.d.ts +5 -0
- package/lib/components/panels/ServerItem/ServerItem.js +40 -0
- package/lib/components/panels/ServerItem/ServerPanelItem.d.ts +5 -0
- package/lib/components/panels/ServerItem/ServerPanelItem.js +1 -0
- package/lib/components/panels/asyncapi/BrokerItem/BrokerBindingsSection.d.ts +7 -0
- package/lib/components/panels/asyncapi/BrokerItem/BrokerBindingsSection.js +1 -0
- package/lib/components/panels/asyncapi/BrokerItem/BrokerModal.d.ts +8 -0
- package/lib/components/panels/asyncapi/BrokerItem/BrokerModal.js +49 -0
- package/lib/components/panels/asyncapi/BrokerItem/BrokerOverviewSection.d.ts +6 -0
- package/lib/components/panels/asyncapi/BrokerItem/BrokerOverviewSection.js +25 -0
- package/lib/components/panels/asyncapi/BrokerItem/BrokerPanel.styled.d.ts +7 -0
- package/lib/components/panels/asyncapi/BrokerItem/BrokerPanel.styled.js +25 -0
- package/lib/components/panels/asyncapi/BrokerItem/BrokerPanelItem.d.ts +5 -0
- package/lib/components/panels/asyncapi/BrokerItem/BrokerPanelItem.js +48 -0
- package/lib/components/panels/asyncapi/ChannelBindingItem/ChannelBindingItem.d.ts +5 -0
- package/lib/components/panels/asyncapi/ChannelBindingItem/ChannelBindingItem.js +32 -0
- package/lib/components/panels/asyncapi/MessageBindingItem/MessageBindingItem.d.ts +5 -0
- package/lib/components/panels/asyncapi/MessageBindingItem/MessageBindingItem.js +1 -0
- package/lib/components/panels/asyncapi/MessageReferencesItem/MessageReferencesItem.d.ts +5 -0
- package/lib/components/panels/asyncapi/MessageReferencesItem/MessageReferencesItem.js +42 -0
- package/lib/components/panels/asyncapi/OperationBindingItem/OperationBindingItem.d.ts +5 -0
- package/lib/components/panels/asyncapi/OperationBindingItem/OperationBindingItem.js +1 -0
- package/lib/components/panels/asyncapi/common/bindingPanel.d.ts +29 -0
- package/lib/components/panels/asyncapi/common/bindingPanel.js +48 -0
- package/lib/components/panels/shared-panel-styles.d.ts +8 -0
- package/lib/components/panels/shared-panel-styles.js +38 -0
- package/lib/components/panels/styled.d.ts +20 -0
- package/lib/components/panels/styled.js +28 -0
- package/lib/components/pluggable/RedocCodeSample.d.ts +12 -0
- package/lib/components/pluggable/RedocCodeSample.js +1 -0
- package/lib/components/pluggable/RedocExample.d.ts +8 -0
- package/lib/components/pluggable/RedocExample.js +7 -0
- package/lib/components/pluggable/RedocResponseSamples.d.ts +9 -0
- package/lib/components/pluggable/RedocResponseSamples.js +1 -0
- package/lib/components/pluggable/RedocSchema.d.ts +12 -0
- package/lib/components/pluggable/RedocSchema.js +1 -0
- package/lib/components/pluggable/index.d.ts +6 -0
- package/lib/components/pluggable/index.js +1 -0
- package/lib/constants/openapi.d.ts +30 -0
- package/lib/constants/openapi.js +1 -0
- package/lib/constants/rendering.d.ts +8 -0
- package/lib/constants/rendering.js +1 -0
- package/lib/contexts/markdownAdapter.d.ts +21 -0
- package/lib/contexts/markdownAdapter.js +1 -0
- package/lib/contexts/telemetry.d.ts +3 -0
- package/lib/contexts/telemetry.js +1 -0
- package/lib/empty-linkedom.d.ts +1 -0
- package/lib/empty-linkedom.js +1 -0
- package/lib/empty.d.ts +7 -0
- package/lib/empty.js +1 -0
- package/lib/events/codeSampleCopy.d.ts +2 -0
- package/lib/events/codeSampleCopy.js +1 -0
- package/lib/events/creator.d.ts +2 -0
- package/lib/events/creator.js +1 -0
- package/lib/events/index.d.ts +8 -0
- package/lib/events/index.js +1 -0
- package/lib/events/languageSwitch.d.ts +2 -0
- package/lib/events/languageSwitch.js +1 -0
- package/lib/events/panelToggle.d.ts +2 -0
- package/lib/events/panelToggle.js +1 -0
- package/lib/events/serverSwitch.d.ts +2 -0
- package/lib/events/serverSwitch.js +1 -0
- package/lib/events/tryItOpen.d.ts +2 -0
- package/lib/events/tryItOpen.js +1 -0
- package/lib/events/tryItSent.d.ts +2 -0
- package/lib/events/tryItSent.js +1 -0
- package/lib/events/types.d.ts +9 -0
- package/lib/events/types.js +1 -0
- package/lib/hoc/withItemId.d.ts +6 -0
- package/lib/hoc/withItemId.js +1 -0
- package/lib/hoc/withReplayPrefetch.d.ts +14 -0
- package/lib/hoc/withReplayPrefetch.js +1 -0
- package/lib/hoc/withRouter.d.ts +4 -0
- package/lib/hoc/withRouter.js +1 -0
- package/lib/hoc/withStoreProvider.d.ts +23 -0
- package/lib/hoc/withStoreProvider.js +1 -0
- package/lib/hooks/useApiDocsRoutes.d.ts +8 -0
- package/lib/hooks/useApiDocsRoutes.js +1 -0
- package/lib/hooks/useApiDocsScroll.d.ts +9 -0
- package/lib/hooks/useApiDocsScroll.js +1 -0
- package/lib/hooks/useBodyScrollLock.d.ts +1 -0
- package/lib/hooks/useBodyScrollLock.js +1 -0
- package/lib/hooks/useCodeHighlight.d.ts +28 -0
- package/lib/hooks/useCodeHighlight.js +1 -0
- package/lib/hooks/useCopyCodeTelemetry.d.ts +13 -0
- package/lib/hooks/useCopyCodeTelemetry.js +1 -0
- package/lib/hooks/useDeepLinkSection.d.ts +16 -0
- package/lib/hooks/useDeepLinkSection.js +1 -0
- package/lib/hooks/useExpandableSection.d.ts +4 -0
- package/lib/hooks/useExpandableSection.js +1 -0
- package/lib/hooks/useHashLinkRedirect.d.ts +4 -0
- package/lib/hooks/useHashLinkRedirect.js +1 -0
- package/lib/hooks/useIsExpanded.d.ts +1 -0
- package/lib/hooks/useIsExpanded.js +1 -0
- package/lib/hooks/useIsHydrated.d.ts +4 -0
- package/lib/hooks/useIsHydrated.js +1 -0
- package/lib/hooks/useLicense.d.ts +6 -0
- package/lib/hooks/useLicense.js +1 -0
- package/lib/hooks/useManualScrollAnchor.d.ts +19 -0
- package/lib/hooks/useManualScrollAnchor.js +1 -0
- package/lib/hooks/useModalDismiss.d.ts +2 -0
- package/lib/hooks/useModalDismiss.js +1 -0
- package/lib/hooks/useNormalizeUrl.d.ts +2 -0
- package/lib/hooks/useNormalizeUrl.js +1 -0
- package/lib/hooks/useRouterHashBridge.d.ts +21 -0
- package/lib/hooks/useRouterHashBridge.js +1 -0
- package/lib/hooks/useScrollSpyUrlSync.d.ts +3 -0
- package/lib/hooks/useScrollSpyUrlSync.js +1 -0
- package/lib/hooks/useTelemetry.d.ts +2 -0
- package/lib/hooks/useTelemetry.js +1 -0
- package/lib/hooks/useTelemetryPageMetrics.d.ts +12 -0
- package/lib/hooks/useTelemetryPageMetrics.js +1 -0
- package/lib/hooks/useTranslate.d.ts +5 -0
- package/lib/hooks/useTranslate.js +1 -0
- package/lib/hooks/useUrlHash.d.ts +7 -0
- package/lib/hooks/useUrlHash.js +1 -0
- package/lib/hooks/useUserScrollIntent.d.ts +18 -0
- package/lib/hooks/useUserScrollIntent.js +1 -0
- package/lib/hooks/useVisitedChannelsTracker.d.ts +6 -0
- package/lib/hooks/useVisitedChannelsTracker.js +1 -0
- package/lib/icons/CSharpIcon/CSharpIcon.d.ts +2 -0
- package/lib/icons/CSharpIcon/CSharpIcon.js +1 -0
- package/lib/icons/CSharpIcon/index.d.ts +1 -0
- package/lib/icons/CSharpIcon/index.js +1 -0
- package/lib/icons/CurlIcon/CurlIcon.d.ts +4 -0
- package/lib/icons/CurlIcon/CurlIcon.js +16 -0
- package/lib/icons/CurlIcon/index.d.ts +1 -0
- package/lib/icons/CurlIcon/index.js +1 -0
- package/lib/icons/DefaultMappingIcon/DefaultMappingIcon.d.ts +4 -0
- package/lib/icons/DefaultMappingIcon/DefaultMappingIcon.js +10 -0
- package/lib/icons/DefaultMappingIcon/index.d.ts +1 -0
- package/lib/icons/DefaultMappingIcon/index.js +1 -0
- package/lib/icons/GOIcon/GOIcon.d.ts +2 -0
- package/lib/icons/GOIcon/GOIcon.js +1 -0
- package/lib/icons/GOIcon/index.d.ts +1 -0
- package/lib/icons/GOIcon/index.js +1 -0
- package/lib/icons/JavaIcon/JavaIcon.d.ts +2 -0
- package/lib/icons/JavaIcon/JavaIcon.js +1 -0
- package/lib/icons/JavaIcon/index.d.ts +1 -0
- package/lib/icons/JavaIcon/index.js +1 -0
- package/lib/icons/JavaScriptIcon/JavaScriptIcon.d.ts +2 -0
- package/lib/icons/JavaScriptIcon/JavaScriptIcon.js +1 -0
- package/lib/icons/JavaScriptIcon/index.d.ts +1 -0
- package/lib/icons/JavaScriptIcon/index.js +1 -0
- package/lib/icons/ListIcon/ListIcon.d.ts +14 -0
- package/lib/icons/ListIcon/ListIcon.js +10 -0
- package/lib/icons/NodeJSIcon/NodeJSIcon.d.ts +2 -0
- package/lib/icons/NodeJSIcon/NodeJSIcon.js +1 -0
- package/lib/icons/NodeJSIcon/index.d.ts +1 -0
- package/lib/icons/NodeJSIcon/index.js +1 -0
- package/lib/icons/PHPIcon/PHPIcon.d.ts +2 -0
- package/lib/icons/PHPIcon/PHPIcon.js +1 -0
- package/lib/icons/PHPIcon/index.d.ts +1 -0
- package/lib/icons/PHPIcon/index.js +1 -0
- package/lib/icons/PayloadIcon/PayloadIcon.d.ts +2 -0
- package/lib/icons/PayloadIcon/PayloadIcon.js +1 -0
- package/lib/icons/PayloadIcon/index.d.ts +1 -0
- package/lib/icons/PayloadIcon/index.js +1 -0
- package/lib/icons/PlusCircleIcon/PlusCircleIcon.d.ts +7 -0
- package/lib/icons/PlusCircleIcon/PlusCircleIcon.js +10 -0
- package/lib/icons/PythonIcon/PythonIcon.d.ts +2 -0
- package/lib/icons/PythonIcon/PythonIcon.js +1 -0
- package/lib/icons/PythonIcon/index.d.ts +1 -0
- package/lib/icons/PythonIcon/index.js +1 -0
- package/lib/icons/RIcon/RIcon.d.ts +2 -0
- package/lib/icons/RIcon/RIcon.js +1 -0
- package/lib/icons/RIcon/index.d.ts +1 -0
- package/lib/icons/RIcon/index.js +1 -0
- package/lib/icons/RubyIcon/RubyIcon.d.ts +2 -0
- package/lib/icons/RubyIcon/RubyIcon.js +1 -0
- package/lib/icons/RubyIcon/index.d.ts +1 -0
- package/lib/icons/RubyIcon/index.js +1 -0
- package/lib/index.d.ts +60 -0
- package/lib/index.js +1 -0
- package/lib/jotai/app.d.ts +76 -0
- package/lib/jotai/app.js +1 -0
- package/lib/jotai/examples.d.ts +5 -0
- package/lib/jotai/examples.js +1 -0
- package/lib/jotai/graphql.d.ts +10 -0
- package/lib/jotai/graphql.js +1 -0
- package/lib/jotai/itemStore.d.ts +49 -0
- package/lib/jotai/itemStore.js +1 -0
- package/lib/jotai/routes.d.ts +4 -0
- package/lib/jotai/routes.js +1 -0
- package/lib/jotai/schema.d.ts +3 -0
- package/lib/jotai/schema.js +1 -0
- package/lib/jotai/store.d.ts +25 -0
- package/lib/jotai/store.js +1 -0
- package/lib/options/constants.d.ts +16 -0
- package/lib/options/constants.js +1 -0
- package/lib/options/helpers.d.ts +26 -0
- package/lib/options/helpers.js +1 -0
- package/lib/options/normalizeOptions.d.ts +2 -0
- package/lib/options/normalizeOptions.js +1 -0
- package/lib/pages/EntryPage.d.ts +25 -0
- package/lib/pages/EntryPage.js +5 -0
- package/lib/pages/GroupPage.d.ts +1 -0
- package/lib/pages/GroupPage.js +47 -0
- package/lib/pages/ItemPage.d.ts +1 -0
- package/lib/pages/ItemPage.js +26 -0
- package/lib/pages/NotFoundPage.d.ts +6 -0
- package/lib/pages/NotFoundPage.js +1 -0
- package/lib/pages/OverviewPage.d.ts +1 -0
- package/lib/pages/OverviewPage.js +11 -0
- package/lib/pages/TopLevelEntryView.d.ts +17 -0
- package/lib/pages/TopLevelEntryView.js +1 -0
- package/lib/services/code-samples/builder.d.ts +38 -0
- package/lib/services/code-samples/builder.js +1 -0
- package/lib/services/code-samples/constants/try-it-loading-state.d.ts +6 -0
- package/lib/services/code-samples/constants/try-it-loading-state.js +1 -0
- package/lib/services/code-samples/convertSampleToString.d.ts +3 -0
- package/lib/services/code-samples/convertSampleToString.js +17 -0
- package/lib/services/code-samples/discriminator.d.ts +39 -0
- package/lib/services/code-samples/discriminator.js +1 -0
- package/lib/services/code-samples/example-key.d.ts +25 -0
- package/lib/services/code-samples/example-key.js +1 -0
- package/lib/services/code-samples/generators/csharp-newtonsoft.d.ts +9 -0
- package/lib/services/code-samples/generators/csharp-newtonsoft.js +2 -0
- package/lib/services/code-samples/generators/csharp.d.ts +9 -0
- package/lib/services/code-samples/generators/csharp.js +2 -0
- package/lib/services/code-samples/generators/curl.d.ts +8 -0
- package/lib/services/code-samples/generators/curl.js +7 -0
- package/lib/services/code-samples/generators/go.d.ts +13 -0
- package/lib/services/code-samples/generators/go.js +3 -0
- package/lib/services/code-samples/generators/helpers/code-builder.d.ts +56 -0
- package/lib/services/code-samples/generators/helpers/code-builder.js +3 -0
- package/lib/services/code-samples/generators/helpers/mime.d.ts +1 -0
- package/lib/services/code-samples/generators/helpers/mime.js +1 -0
- package/lib/services/code-samples/generators/helpers/oauth2-snippets.d.ts +21 -0
- package/lib/services/code-samples/generators/helpers/oauth2-snippets.js +1 -0
- package/lib/services/code-samples/generators/helpers/php-array.d.ts +6 -0
- package/lib/services/code-samples/generators/helpers/php-array.js +5 -0
- package/lib/services/code-samples/generators/helpers/r-utils.d.ts +7 -0
- package/lib/services/code-samples/generators/helpers/r-utils.js +6 -0
- package/lib/services/code-samples/generators/helpers/shell.d.ts +8 -0
- package/lib/services/code-samples/generators/helpers/shell.js +1 -0
- package/lib/services/code-samples/generators/helpers/string-utils.d.ts +4 -0
- package/lib/services/code-samples/generators/helpers/string-utils.js +1 -0
- package/lib/services/code-samples/generators/helpers/stringify-js.d.ts +11 -0
- package/lib/services/code-samples/generators/helpers/stringify-js.js +8 -0
- package/lib/services/code-samples/generators/helpers/sub-request.d.ts +2 -0
- package/lib/services/code-samples/generators/helpers/sub-request.js +1 -0
- package/lib/services/code-samples/generators/helpers/url-helpers.d.ts +17 -0
- package/lib/services/code-samples/generators/helpers/url-helpers.js +2 -0
- package/lib/services/code-samples/generators/index.d.ts +16 -0
- package/lib/services/code-samples/generators/index.js +1 -0
- package/lib/services/code-samples/generators/java.d.ts +9 -0
- package/lib/services/code-samples/generators/java.js +3 -0
- package/lib/services/code-samples/generators/java8.d.ts +9 -0
- package/lib/services/code-samples/generators/java8.js +2 -0
- package/lib/services/code-samples/generators/javascript.d.ts +9 -0
- package/lib/services/code-samples/generators/javascript.js +1 -0
- package/lib/services/code-samples/generators/node.d.ts +10 -0
- package/lib/services/code-samples/generators/node.js +1 -0
- package/lib/services/code-samples/generators/php.d.ts +13 -0
- package/lib/services/code-samples/generators/php.js +6 -0
- package/lib/services/code-samples/generators/python.d.ts +3 -0
- package/lib/services/code-samples/generators/python.js +9 -0
- package/lib/services/code-samples/generators/r.d.ts +10 -0
- package/lib/services/code-samples/generators/r.js +7 -0
- package/lib/services/code-samples/generators/ruby.d.ts +10 -0
- package/lib/services/code-samples/generators/ruby.js +1 -0
- package/lib/services/code-samples/generators/types.d.ts +6 -0
- package/lib/services/code-samples/generators/types.js +0 -0
- package/lib/services/code-samples/har.d.ts +45 -0
- package/lib/services/code-samples/har.js +0 -0
- package/lib/services/code-samples/index.d.ts +8 -0
- package/lib/services/code-samples/index.js +1 -0
- package/lib/services/code-samples/replay/embedded-replay-converter.d.ts +6 -0
- package/lib/services/code-samples/replay/embedded-replay-converter.js +1 -0
- package/lib/services/code-samples/replay/from-openapi-document.d.ts +12 -0
- package/lib/services/code-samples/replay/from-openapi-document.js +1 -0
- package/lib/services/code-samples/replay/har-to-code-sample-har.d.ts +41 -0
- package/lib/services/code-samples/replay/har-to-code-sample-har.js +1 -0
- package/lib/services/code-samples/replay/index.d.ts +8 -0
- package/lib/services/code-samples/replay/index.js +1 -0
- package/lib/services/code-samples/replay/map-servers.d.ts +19 -0
- package/lib/services/code-samples/replay/map-servers.js +1 -0
- package/lib/services/code-samples/replay/merge-configure-into-source.d.ts +17 -0
- package/lib/services/code-samples/replay/merge-configure-into-source.js +1 -0
- package/lib/services/code-samples/replay/normalize-servers.d.ts +3 -0
- package/lib/services/code-samples/replay/normalize-servers.js +1 -0
- package/lib/services/code-samples/replay/overlay-converter.d.ts +15 -0
- package/lib/services/code-samples/replay/overlay-converter.js +1 -0
- package/lib/services/code-samples/replay/replay-adapter.d.ts +5 -0
- package/lib/services/code-samples/replay/replay-adapter.js +1 -0
- package/lib/services/code-samples/replay/replay-handler.d.ts +5 -0
- package/lib/services/code-samples/replay/replay-handler.js +1 -0
- package/lib/services/code-samples/replay/replay-predefined-env.d.ts +4 -0
- package/lib/services/code-samples/replay/replay-predefined-env.js +1 -0
- package/lib/services/code-samples/replay/replay-types.d.ts +75 -0
- package/lib/services/code-samples/replay/replay-types.js +0 -0
- package/lib/services/code-samples/resolvers.d.ts +5 -0
- package/lib/services/code-samples/resolvers.js +1 -0
- package/lib/services/code-samples/sample-har.d.ts +41 -0
- package/lib/services/code-samples/sample-har.js +0 -0
- package/lib/services/code-samples/server-variables.d.ts +11 -0
- package/lib/services/code-samples/server-variables.js +1 -0
- package/lib/services/code-samples/source.d.ts +107 -0
- package/lib/services/code-samples/source.js +0 -0
- package/lib/services/code-samples/use-resolvers.d.ts +2 -0
- package/lib/services/code-samples/use-resolvers.js +1 -0
- package/lib/services/code-samples/utils/map-request-values.d.ts +6 -0
- package/lib/services/code-samples/utils/map-request-values.js +1 -0
- package/lib/services/license/check.d.ts +14 -0
- package/lib/services/license/check.js +1 -0
- package/lib/services/operation-samples/index.d.ts +14 -0
- package/lib/services/operation-samples/index.js +2 -0
- package/lib/services/operation-samples/types.d.ts +37 -0
- package/lib/services/operation-samples/types.js +0 -0
- package/lib/services/schema/dialects/graphqlSchema.d.ts +1 -0
- package/lib/services/schema/dialects/graphqlSchema.js +1 -0
- package/lib/services/schema/dialects/jsonSchema.d.ts +3 -0
- package/lib/services/schema/dialects/jsonSchema.js +1 -0
- package/lib/services/schema/index.d.ts +1 -0
- package/lib/services/schema/index.js +1 -0
- package/lib/services/schema/propertyBuilder.d.ts +32 -0
- package/lib/services/schema/propertyBuilder.js +1 -0
- package/lib/services/schema/propertyTreeBuilder.d.ts +21 -0
- package/lib/services/schema/propertyTreeBuilder.js +1 -0
- package/lib/services/schema/schemaProcessor.d.ts +2 -0
- package/lib/services/schema/schemaProcessor.js +1 -0
- package/lib/services/schema/variant-label.d.ts +6 -0
- package/lib/services/schema/variant-label.js +1 -0
- package/lib/telemetry/RedocTelemetry.d.ts +15 -0
- package/lib/telemetry/RedocTelemetry.js +1 -0
- package/lib/types/asyncapi.d.ts +367 -0
- package/lib/types/asyncapi.js +1 -0
- package/lib/types/common.d.ts +168 -0
- package/lib/types/common.js +1 -0
- package/lib/types/content.d.ts +535 -0
- package/lib/types/content.js +0 -0
- package/lib/types/events.d.ts +75 -0
- package/lib/types/events.js +0 -0
- package/lib/types/graphql-store.d.ts +60 -0
- package/lib/types/graphql-store.js +1 -0
- package/lib/types/graphql.d.ts +54 -0
- package/lib/types/graphql.js +0 -0
- package/lib/types/index.d.ts +10 -0
- package/lib/types/index.js +1 -0
- package/lib/types/openapi.d.ts +586 -0
- package/lib/types/openapi.js +1 -0
- package/lib/types/options.d.ts +260 -0
- package/lib/types/options.js +0 -0
- package/lib/types/pluggable.d.ts +4 -0
- package/lib/types/pluggable.js +0 -0
- package/lib/types/schema.d.ts +155 -0
- package/lib/types/schema.js +1 -0
- package/lib/types/store.d.ts +182 -0
- package/lib/types/store.js +0 -0
- package/lib/utils/calculateMaxLength.d.ts +6 -0
- package/lib/utils/calculateMaxLength.js +1 -0
- package/lib/utils/compose.d.ts +7 -0
- package/lib/utils/compose.js +1 -0
- package/lib/utils/cookies.d.ts +7 -0
- package/lib/utils/cookies.js +1 -0
- package/lib/utils/deep-link.d.ts +146 -0
- package/lib/utils/deep-link.js +1 -0
- package/lib/utils/environments.d.ts +6 -0
- package/lib/utils/environments.js +1 -0
- package/lib/utils/expansion.d.ts +3 -0
- package/lib/utils/expansion.js +1 -0
- package/lib/utils/extract-extensions.d.ts +4 -0
- package/lib/utils/extract-extensions.js +1 -0
- package/lib/utils/fetch-openapi-definition.d.ts +6 -0
- package/lib/utils/fetch-openapi-definition.js +1 -0
- package/lib/utils/form-urlencoded.d.ts +6 -0
- package/lib/utils/form-urlencoded.js +1 -0
- package/lib/utils/graphql-directive-utils.d.ts +6 -0
- package/lib/utils/graphql-directive-utils.js +3 -0
- package/lib/utils/graphql-reference-map.d.ts +3 -0
- package/lib/utils/graphql-reference-map.js +1 -0
- package/lib/utils/graphql-samples.d.ts +25 -0
- package/lib/utils/graphql-samples.js +17 -0
- package/lib/utils/graphql-scopes.d.ts +6 -0
- package/lib/utils/graphql-scopes.js +1 -0
- package/lib/utils/graphql-type-expansion.d.ts +5 -0
- package/lib/utils/graphql-type-expansion.js +1 -0
- package/lib/utils/http-methods.d.ts +8 -0
- package/lib/utils/http-methods.js +1 -0
- package/lib/utils/languages.d.ts +18 -0
- package/lib/utils/languages.js +1 -0
- package/lib/utils/loadAndBundleSpec.d.ts +4 -0
- package/lib/utils/loadAndBundleSpec.js +1 -0
- package/lib/utils/logo.d.ts +8 -0
- package/lib/utils/logo.js +1 -0
- package/lib/utils/media-type.d.ts +7 -0
- package/lib/utils/media-type.js +1 -0
- package/lib/utils/multipart.d.ts +7 -0
- package/lib/utils/multipart.js +1 -0
- package/lib/utils/refPointer.d.ts +2 -0
- package/lib/utils/refPointer.js +1 -0
- package/lib/utils/resolveText.d.ts +2 -0
- package/lib/utils/resolveText.js +1 -0
- package/lib/utils/routing.d.ts +49 -0
- package/lib/utils/routing.js +1 -0
- package/lib/utils/scroll-anchoring.d.ts +3 -0
- package/lib/utils/scroll-anchoring.js +1 -0
- package/lib/utils/security-scope.d.ts +3 -0
- package/lib/utils/security-scope.js +1 -0
- package/lib/utils/serialize-parameter.d.ts +8 -0
- package/lib/utils/serialize-parameter.js +1 -0
- package/lib/utils/serialize-querystring.d.ts +6 -0
- package/lib/utils/serialize-querystring.js +1 -0
- package/lib/utils/session-storage.d.ts +2 -0
- package/lib/utils/session-storage.js +1 -0
- package/lib/utils/split-badges-by-position.d.ts +5 -0
- package/lib/utils/split-badges-by-position.js +1 -0
- package/lib/utils/status-code.d.ts +1 -0
- package/lib/utils/status-code.js +1 -0
- package/lib/utils/string.d.ts +18 -0
- package/lib/utils/string.js +1 -0
- package/lib/utils/telemetry.d.ts +1 -0
- package/lib/utils/telemetry.js +1 -0
- package/lib/utils/url.d.ts +9 -0
- package/lib/utils/url.js +1 -0
- package/lib/utils/xml.d.ts +1 -0
- package/lib/utils/xml.js +1 -0
- package/package.json +97 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{JavaIcon as r}from"./JavaIcon.js";export{r as JavaIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const Icon: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const JavaScriptIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").BaseObject, never> & Partial<Pick<import("styled-components/dist/types").BaseObject, never>>> & string & Omit<typeof Icon, keyof import("react").Component<any, {}, any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as i,jsxs as t}from"react/jsx-runtime";import{styled as l}from"styled-components";const c=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[t("g",{clipPath:"url(#clip0_6336_14297)",children:[i("path",{d:"M14 0H0V14H14V0Z",fill:"#F7DF1E"}),i("path",{d:"M9.40475 10.9376C9.68675 11.398 10.0536 11.7365 10.7025 11.7365C11.2476 11.7365 11.5959 11.464 11.5959 11.0876C11.5959 10.6365 11.2381 10.4767 10.6381 10.2142L10.3092 10.0731C9.35986 9.66867 8.72919 9.16201 8.72919 8.0909C8.72919 7.10423 9.48097 6.35312 10.6559 6.35312C11.4923 6.35312 12.0936 6.64423 12.527 7.40645L11.5025 8.06423C11.277 7.65979 11.0336 7.50045 10.6559 7.50045C10.2705 7.50045 10.0263 7.7449 10.0263 8.06423C10.0263 8.4589 10.2707 8.61867 10.8352 8.86312L11.1641 9.00401C12.2819 9.48334 12.913 9.97201 12.913 11.0707C12.913 12.2551 11.9825 12.904 10.733 12.904C9.51119 12.904 8.72186 12.3218 8.33563 11.5587L9.40475 10.9376ZM4.75741 11.0516C4.96408 11.4182 5.15208 11.7282 5.60408 11.7282C6.0363 11.7282 6.30897 11.5591 6.30897 10.9016V6.42823H7.62452V10.9193C7.62452 12.2816 6.82586 12.9016 5.66008 12.9016C4.60675 12.9016 3.99675 12.3565 3.68652 11.6999L4.75741 11.0516Z",fill:"black"})]}),i("defs",{children:i("clipPath",{id:"clip0_6336_14297",children:i("rect",{width:"14",height:"14",fill:"white"})})})]}),e=l(c)({dataComponentName:"icons/JavaScriptIcon"});export{c as Icon,e as JavaScriptIcon};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { JavaScriptIcon } from './JavaScriptIcon.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{JavaScriptIcon as a}from"./JavaScriptIcon.js";export{a as JavaScriptIcon};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type IconProps = React.SVGProps<SVGSVGElement> & {
|
|
2
|
+
size?: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const Icon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const ListIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").SVGProps<SVGSVGElement> & {
|
|
6
|
+
size?: string;
|
|
7
|
+
}, "size" | keyof import("react").SVGProps<SVGSVGElement>> & import("react").SVGProps<SVGSVGElement> & {
|
|
8
|
+
size?: string;
|
|
9
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<import("react").SVGProps<SVGSVGElement> & {
|
|
10
|
+
size?: string;
|
|
11
|
+
}, "size" | keyof import("react").SVGProps<SVGSVGElement>> & import("react").SVGProps<SVGSVGElement> & {
|
|
12
|
+
size?: string;
|
|
13
|
+
}, never>>> & string & Omit<typeof Icon, keyof import("react").Component<any, {}, any>>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{jsx as o,jsxs as t}from"react/jsx-runtime";import{styled as c}from"styled-components";const r=i=>t("svg",{viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-component-name":"icons/ListIcon/ListIcon",...i,children:[t("g",{clipPath:"url(#clip0_listicon)",children:[o("path",{d:"M0 11H22",strokeLinecap:"round"}),o("circle",{cx:"4",cy:"11",r:"4"})]}),o("defs",{children:o("clipPath",{id:"clip0_listicon",children:o("rect",{width:"22",height:"22",fill:"white"})})})]}),l=c(r).withConfig({shouldForwardProp:i=>i!=="size"})`
|
|
2
|
+
path,
|
|
3
|
+
circle {
|
|
4
|
+
fill: currentColor;
|
|
5
|
+
stroke: currentColor;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
height: ${({size:i})=>i||"16px"};
|
|
9
|
+
width: ${({size:i})=>i||"16px"};
|
|
10
|
+
`;export{r as Icon,l as ListIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const Icon: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const NodeJSIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").BaseObject, never> & Partial<Pick<import("styled-components/dist/types").BaseObject, never>>> & string & Omit<typeof Icon, keyof import("react").Component<any, {}, any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as C,jsxs as o}from"react/jsx-runtime";import{styled as i}from"styled-components";const e=()=>o("svg",{width:"17",height:"18",viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("g",{id:"nodejs-seeklogo.com 1",clipPath:"url(#clip0_6336_14396)",children:C("g",{id:"Group",children:C("path",{id:"Vector",d:"M8.72232 17.9666C8.47473 17.9666 8.24365 17.9006 8.02907 17.785L5.8338 16.4811C5.50368 16.2995 5.66874 16.2335 5.76777 16.2005C6.21343 16.0519 6.29596 16.0189 6.75812 15.7548C6.80764 15.7218 6.87366 15.7383 6.92318 15.7713L8.60678 16.7782C8.6728 16.8112 8.75533 16.8112 8.80485 16.7782L15.3907 12.9653C15.4567 12.9323 15.4897 12.8663 15.4897 12.7838V5.17458C15.4897 5.09205 15.4567 5.02603 15.3907 4.99302L8.80485 1.19667C8.73882 1.16366 8.6563 1.16366 8.60678 1.19667L2.02095 4.99302C1.95493 5.02603 1.92191 5.10856 1.92191 5.17458V12.7838C1.92191 12.8498 1.95493 12.9323 2.02095 12.9653L3.82009 14.0052C4.79393 14.5004 5.40465 13.9227 5.40465 13.345V5.83481C5.40465 5.73578 5.48717 5.63674 5.60272 5.63674H6.44451C6.54355 5.63674 6.64258 5.71927 6.64258 5.83481V13.345C6.64258 14.6489 5.93283 15.4082 4.69489 15.4082C4.31526 15.4082 4.01816 15.4082 3.17636 14.9956L1.44325 14.0052C1.01409 13.7576 0.75 13.2955 0.75 12.8003V5.19109C0.75 4.69591 1.01409 4.23375 1.44325 3.98616L8.02907 0.173311C8.44172 -0.0577704 9.00292 -0.0577704 9.41556 0.173311L16.0014 3.98616C16.4305 4.23375 16.6946 4.69591 16.6946 5.19109V12.8003C16.6946 13.2955 16.4305 13.7576 16.0014 14.0052L9.41556 17.8181C9.20099 17.9171 8.9534 17.9666 8.72232 17.9666ZM10.7525 12.7343C7.86401 12.7343 7.26981 11.4138 7.26981 10.2914C7.26981 10.1924 7.35233 10.0933 7.46788 10.0933H8.32618C8.42521 10.0933 8.50774 10.1593 8.50774 10.2584C8.63979 11.1332 9.01942 11.5623 10.769 11.5623C12.1555 11.5623 12.7497 11.2487 12.7497 10.506C12.7497 10.0768 12.5847 9.7632 10.4224 9.54863C8.62328 9.36706 7.50089 8.97092 7.50089 7.53491C7.50089 6.19794 8.62328 5.40566 10.5049 5.40566C12.6177 5.40566 13.6576 6.13192 13.7896 7.71648C13.7896 7.766 13.7731 7.81551 13.7401 7.86503C13.7071 7.89804 13.6576 7.93105 13.608 7.93105H12.7497C12.6672 7.93105 12.5847 7.86503 12.5682 7.7825C12.3701 6.87468 11.8584 6.57758 10.5049 6.57758C8.98641 6.57758 8.80485 7.10576 8.80485 7.5019C8.80485 7.98057 9.01942 8.12912 11.0661 8.39322C13.0964 8.65731 14.0537 9.03695 14.0537 10.4564C14.0372 11.909 12.8488 12.7343 10.7525 12.7343Z",fill:"#539E43"})})}),C("defs",{children:C("clipPath",{id:"clip0_6336_14396",children:C("rect",{width:"15.9446",height:"18",fill:"white",transform:"translate(0.75)"})})})]}),s=i(e)({dataComponentName:"icons/NodeJSIcon"});export{e as Icon,s as NodeJSIcon};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NodeJSIcon } from './NodeJSIcon.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{NodeJSIcon as r}from"./NodeJSIcon.js";export{r as NodeJSIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const Icon: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const PHPIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").BaseObject, never> & Partial<Pick<import("styled-components/dist/types").BaseObject, never>>> & string & Omit<typeof Icon, keyof import("react").Component<any, {}, any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as C,jsxs as t}from"react/jsx-runtime";import{styled as i}from"styled-components";const l=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"12",viewBox:"0 0 22 12",fill:"none",children:[t("g",{clipPath:"url(#clip0_6351_15636)",children:[C("mask",{id:"mask0_6351_15636",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"21",height:"12",children:C("path",{d:"M0.394531 5.6623C0.394531 8.62697 4.96343 11.0304 10.5992 11.0304C16.235 11.0304 20.804 8.62697 20.804 5.6623C20.804 2.69767 16.235 0.294237 10.5992 0.294237C4.96343 0.294237 0.394531 2.69767 0.394531 5.6623Z",fill:"white"})}),C("g",{mask:"url(#mask0_6351_15636)",children:C("path",{d:"M0.394531 5.6623C0.394531 8.62697 4.96343 11.0304 10.5992 11.0304C16.235 11.0304 20.804 8.62697 20.804 5.6623C20.804 2.69767 16.235 0.294237 10.5992 0.294237C4.96343 0.294237 0.394531 2.69767 0.394531 5.6623Z",fill:"url(#paint0_radial_6351_15636)"})}),C("mask",{id:"mask1_6351_15636",maskUnits:"userSpaceOnUse",x:"-1",y:"-1",width:"23",height:"13",children:C("path",{d:"M-0.0302734 -0.315971H21.2295V11.6427H-0.0302734V-0.315971Z",fill:"white"})}),C("g",{mask:"url(#mask1_6351_15636)",children:C("path",{d:"M10.6 10.6319C16.0157 10.6319 20.4061 8.40699 20.4061 5.66241C20.4061 2.91786 16.0157 0.692893 10.6 0.692893C5.18435 0.692893 0.793945 2.91786 0.793945 5.66241C0.793945 8.40699 5.18435 10.6319 10.6 10.6319Z",fill:"#777BB3"})}),C("mask",{id:"mask2_6351_15636",maskUnits:"userSpaceOnUse",x:"-1",y:"-1",width:"23",height:"13",children:C("path",{d:"M-0.0302734 -0.315971H21.2295V11.6427H-0.0302734V-0.315971Z",fill:"white"})}),t("g",{mask:"url(#mask2_6351_15636)",children:[C("path",{d:"M5.93929 6.27975C6.3846 6.27975 6.71705 6.19763 6.92739 6.03575C7.13549 5.87552 7.27921 5.59793 7.35454 5.21071C7.42478 4.84878 7.39802 4.59606 7.27504 4.45968C7.14929 4.32038 6.87742 4.24974 6.46698 4.24974H5.75533L5.36081 6.27975H5.93929ZM3.61167 8.78036C3.57864 8.78036 3.54727 8.7656 3.52627 8.74006C3.50523 8.71456 3.4967 8.68097 3.50301 8.64852L4.54858 3.26894C4.5587 3.21694 4.60428 3.17937 4.65728 3.17937H6.91075C7.61896 3.17937 8.1461 3.37166 8.47744 3.75098C8.81055 4.13229 8.91341 4.6653 8.78316 5.33517C8.73016 5.60808 8.63899 5.86153 8.51221 6.08845C8.38528 6.31563 8.21752 6.52583 8.01352 6.71333C7.76933 6.94187 7.49295 7.10759 7.19281 7.20511C6.89742 7.30133 6.51807 7.35013 6.0653 7.35013H5.15283L4.89225 8.69075C4.88213 8.74279 4.83659 8.78036 4.78358 8.78036H3.61167Z",fill:"black"}),C("path",{d:"M5.84699 4.36107H6.46737C6.96273 4.36107 7.1348 4.46976 7.19326 4.53454C7.29026 4.64209 7.30857 4.86886 7.24623 5.19031C7.17618 5.55018 7.04633 5.80533 6.86023 5.94861C6.6697 6.09529 6.35996 6.16963 5.93967 6.16963H5.49551L5.84699 4.36107ZM6.91113 3.06924H4.65763C4.55162 3.06924 4.46049 3.14438 4.44027 3.24843L3.3947 8.62801C3.38208 8.69294 3.39913 8.76007 3.44117 8.81112C3.48324 8.86217 3.54592 8.89169 3.61206 8.89169H4.78393C4.88997 8.89169 4.9811 8.81655 5.00133 8.7125L5.24449 7.46145H6.06568C6.53008 7.46145 6.92102 7.41081 7.22755 7.31097C7.5428 7.20855 7.83283 7.03489 8.08954 6.79483C8.30184 6.59951 8.47671 6.38027 8.60922 6.14312C8.74176 5.90591 8.83699 5.64138 8.89224 5.35688C9.02936 4.65176 8.91797 4.08712 8.5612 3.67876C8.2079 3.27431 7.65271 3.06924 6.91113 3.06924ZM5.22684 6.39108H5.93967C6.41215 6.39108 6.76408 6.30209 6.99532 6.12408C7.22659 5.94603 7.38257 5.64887 7.46363 5.23246C7.54117 4.83266 7.50585 4.55052 7.35766 4.38616C7.20928 4.22181 6.91257 4.13961 6.46737 4.13961H5.66444L5.22684 6.39108ZM6.91113 3.29069C7.58904 3.29069 8.08359 3.4686 8.39444 3.82444C8.70526 4.18028 8.79886 4.67697 8.67484 5.31466C8.6238 5.57734 8.53747 5.81751 8.41592 6.03509C8.29423 6.25282 8.13534 6.45191 7.93898 6.63243C7.70498 6.85142 7.44502 7.00747 7.15898 7.10041C6.87293 7.1936 6.5086 7.24 6.06568 7.24H5.0619L4.78393 8.67024H3.61206L4.65763 3.29069H6.91113Z",fill:"white"}),C("path",{d:"M11.4707 7.35074C11.4376 7.35074 11.4063 7.33597 11.3853 7.31043C11.3642 7.28493 11.3557 7.25138 11.362 7.2189L11.8245 4.83865C11.8685 4.61228 11.8576 4.44981 11.794 4.38116C11.755 4.33919 11.6379 4.2688 11.2917 4.2688H10.4538L9.87231 7.26112C9.8622 7.31316 9.81662 7.35074 9.76361 7.35074H8.60097C8.5679 7.35074 8.53656 7.33597 8.51552 7.31043C8.49449 7.28493 8.48596 7.25134 8.49227 7.2189L9.53784 1.83932C9.54795 1.78731 9.59354 1.74974 9.64654 1.74974H10.8092C10.8423 1.74974 10.8736 1.7645 10.8946 1.79001C10.9157 1.81555 10.9242 1.8491 10.9179 1.88158L10.6656 3.17998H11.567C12.2537 3.17998 12.7193 3.30104 12.9905 3.55011C13.267 3.80419 13.3532 4.21045 13.2469 4.75774L12.7605 7.26112C12.7504 7.31316 12.7048 7.35074 12.6518 7.35074H11.4707Z",fill:"black"}),C("path",{d:"M10.8086 1.63955H9.64594C9.5399 1.63955 9.44877 1.7147 9.42855 1.81874L8.38298 7.19833C8.37036 7.26325 8.38741 7.33039 8.42949 7.38143C8.47156 7.43248 8.53423 7.46201 8.60038 7.46201H9.76302C9.86903 7.46201 9.96019 7.38686 9.98042 7.28281L10.5445 4.38007H11.2911C11.6367 4.38007 11.7093 4.45389 11.7122 4.45706C11.7331 4.47962 11.7607 4.58407 11.7152 4.81808L11.2527 7.19833C11.2401 7.26325 11.2571 7.33039 11.2992 7.38143C11.3413 7.43248 11.4039 7.46201 11.4701 7.46201H12.6512C12.7572 7.46201 12.8484 7.38686 12.8686 7.28281L13.355 4.77943C13.4692 4.1918 13.3715 3.75099 13.0649 3.46915C12.7722 3.20041 12.2821 3.06979 11.5664 3.06979H10.7993L11.026 1.90327C11.0386 1.83834 11.0216 1.77117 10.9795 1.72016C10.9374 1.66911 10.8747 1.63955 10.8086 1.63955ZM10.8086 1.86101L10.5306 3.29124H11.5664C12.2181 3.29124 12.6676 3.405 12.915 3.63221C13.1624 3.85958 13.2365 4.22797 13.1376 4.73721L12.6512 7.24055H11.4701L11.9326 4.86034C11.9852 4.58957 11.9659 4.40487 11.8745 4.3064C11.7831 4.20793 11.5886 4.15862 11.2911 4.15862H10.3619L9.76302 7.24055H8.60038L9.64594 1.86101H10.8086Z",fill:"white"}),C("path",{d:"M15.0867 6.27975C15.5321 6.27975 15.8645 6.19763 16.0748 6.03575C16.2829 5.87556 16.4267 5.59796 16.502 5.21071C16.5723 4.84878 16.5455 4.59606 16.4225 4.45968C16.2967 4.32038 16.0249 4.24974 15.6144 4.24974H14.9028L14.5083 6.27975H15.0867ZM12.7592 8.78036C12.7261 8.78036 12.6948 8.7656 12.6738 8.74006C12.6527 8.71456 12.6442 8.68097 12.6505 8.64852L13.696 3.26894C13.7062 3.21694 13.7517 3.17937 13.8048 3.17937H16.0582C16.7665 3.17937 17.2936 3.37166 17.6249 3.75098C17.958 4.13225 18.0609 4.66526 17.9307 5.33517C17.8776 5.60808 17.7864 5.86153 17.6597 6.08845C17.5327 6.31563 17.365 6.52583 17.161 6.71333C16.9168 6.94187 16.6404 7.10759 16.3403 7.20511C16.0449 7.30133 15.6655 7.35013 15.2128 7.35013H14.3002L14.0398 8.69075C14.0296 8.74279 13.9841 8.78036 13.931 8.78036H12.7592Z",fill:"black"}),C("path",{d:"M14.9934 4.36107H15.6138C16.1092 4.36107 16.2812 4.46976 16.3397 4.53454C16.4367 4.64209 16.4551 4.86887 16.3927 5.19027C16.3226 5.55018 16.1927 5.80533 16.0067 5.94861C15.8162 6.09529 15.5064 6.16963 15.0861 6.16963H14.642L14.9934 4.36107ZM16.0576 3.06924H13.8041C13.6981 3.06924 13.607 3.14438 13.5868 3.24843L12.5412 8.62801C12.5286 8.69294 12.5456 8.76007 12.5877 8.81112C12.6297 8.86217 12.6924 8.89169 12.7585 8.89169H13.9304C14.0364 8.89169 14.1276 8.81655 14.1478 8.7125L14.3909 7.46145H15.2121C15.6765 7.46145 16.0675 7.41081 16.374 7.31097C16.6892 7.20855 16.9794 7.03486 17.2361 6.79476C17.4484 6.59947 17.6232 6.38027 17.7557 6.14312C17.8882 5.90591 17.9834 5.64138 18.0387 5.35688C18.1758 4.65173 18.0644 4.08709 17.7076 3.67872C17.3544 3.27431 16.7992 3.06924 16.0576 3.06924ZM14.3733 6.39108H15.0861C15.5586 6.39108 15.9105 6.30209 16.1418 6.12408C16.3731 5.94603 16.529 5.64887 16.6101 5.23246C16.6877 4.83266 16.6523 4.55052 16.5041 4.38616C16.3557 4.22181 16.059 4.13961 15.6138 4.13961H14.8109L14.3733 6.39108ZM16.0576 3.29069C16.7355 3.29069 17.23 3.4686 17.5409 3.82444C17.8517 4.18028 17.9453 4.67697 17.8213 5.31466C17.7702 5.57734 17.6839 5.81751 17.5624 6.03509C17.4407 6.25282 17.2818 6.45191 17.0854 6.63243C16.8514 6.85142 16.5915 7.00747 16.3054 7.10041C16.0194 7.1936 15.655 7.24 15.2121 7.24H14.2083L13.9304 8.67024H12.7585L13.8041 3.29069H16.0576Z",fill:"white"})]})]}),t("defs",{children:[t("radialGradient",{id:"paint0_radial_6351_15636",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.52149 2.18148) scale(13.4002)",children:[C("stop",{stopColor:"#AEB2D5"}),C("stop",{offset:"0.3",stopColor:"#AEB2D5"}),C("stop",{offset:"0.75",stopColor:"#484C89"}),C("stop",{offset:"1",stopColor:"#484C89"})]}),C("clipPath",{id:"clip0_6351_15636",children:C("rect",{width:"21",height:"11.3267",fill:"white",transform:"translate(0.0996094)"})})]})]}),e=i(l)({dataComponentName:"icons/PHPIcon"});export{l as Icon,e as PHPIcon};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PHPIcon } from './PHPIcon.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{PHPIcon as P}from"./PHPIcon.js";export{P as PHPIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const Icon: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const PayloadIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").BaseObject, never> & Partial<Pick<import("styled-components/dist/types").BaseObject, never>>> & string & Omit<typeof Icon, keyof import("react").Component<any, {}, any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as C,jsxs as o}from"react/jsx-runtime";import{styled as e}from"styled-components";const l=()=>o("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"16",cy:"16",r:"12",fill:"#1F7CFF"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.05 12.22C11.05 10.9939 12.0439 10 13.27 10C13.5682 10 13.81 10.2418 13.81 10.54C13.81 10.8382 13.5682 11.08 13.27 11.08C12.6404 11.08 12.13 11.5904 12.13 12.22V14.6409C12.13 15.15 11.9423 15.6306 11.6179 16C11.9423 16.3694 12.13 16.85 12.13 17.3591V19.78C12.13 20.4096 12.6404 20.92 13.27 20.92C13.5682 20.92 13.81 21.1618 13.81 21.46C13.81 21.7582 13.5682 22 13.27 22C12.0439 22 11.05 21.0061 11.05 19.78V17.3591C11.05 16.9909 10.8435 16.6539 10.5159 16.4867C10.3351 16.3996 10.21 16.2145 10.21 16C10.21 15.7855 10.3351 15.6004 10.5158 15.5133C10.8435 15.3461 11.05 15.0091 11.05 14.6409V12.22ZM18.73 10C19.9561 10 20.95 10.9939 20.95 12.22V14.6409C20.95 15.0091 21.1566 15.3461 21.4842 15.5133C21.6649 15.6004 21.79 15.7855 21.79 16C21.79 16.2145 21.6649 16.3996 21.4842 16.4867C21.1566 16.6539 20.95 16.9909 20.95 17.3591V19.78C20.95 21.0061 19.9561 22 18.73 22C18.4318 22 18.19 21.7582 18.19 21.46C18.19 21.1618 18.4318 20.92 18.73 20.92C19.3596 20.92 19.87 20.4096 19.87 19.78V17.3591C19.87 16.85 20.0577 16.3694 20.3821 16C20.0577 15.6306 19.87 15.15 19.87 14.6409V12.22C19.87 11.5904 19.3596 11.08 18.73 11.08C18.4318 11.08 18.19 10.8382 18.19 10.54C18.19 10.2418 18.4318 10 18.73 10Z",fill:"white"})]}),i=e(l)({dataComponentName:"icons/PayloadIcon"});export{l as Icon,i as PayloadIcon};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PayloadIcon } from './PayloadIcon.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{PayloadIcon as r}from"./PayloadIcon.js";export{r as PayloadIcon};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{jsx as l}from"react/jsx-runtime";import{styled as c}from"styled-components";function n({sign:r,className:o,color:e}){return l(i,{className:o,color:e,children:r})}const i=c.span`
|
|
2
|
+
background-color: var(--bg-color);
|
|
3
|
+
border-radius: 50%;
|
|
4
|
+
border: 1px solid ${({color:r})=>r||"var(--border-color-primary)"};
|
|
5
|
+
font-size: var(--font-size-lg);
|
|
6
|
+
line-height: var(--font-size-lg);
|
|
7
|
+
color: ${({color:r})=>r||"var(--text-color-secondary)"};
|
|
8
|
+
width: 20px;
|
|
9
|
+
height: 20px;
|
|
10
|
+
`;export{n as PlusCircleIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const Icon: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const PythonIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").BaseObject, never> & Partial<Pick<import("styled-components/dist/types").BaseObject, never>>> & string & Omit<typeof Icon, keyof import("react").Component<any, {}, any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";import{styled as r}from"styled-components";import{useUniqueSvgIds as s}from"@redocly/theme/core/openapi";const l=()=>{const n=s(),i=o=>n(o);return e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:[e("g",{clipPath:`url(#${i("clip0_6336_14290")})`,children:[t("path",{d:"M5.5928 9.36167e-05C5.12601 0.00226256 4.68024 0.0420729 4.28801 0.111479C3.13253 0.315613 2.92274 0.742882 2.92274 1.53084V2.57149H5.65327V2.91838H2.92274H1.898C1.10444 2.91838 0.409568 3.39536 0.192222 4.30273C-0.0584838 5.3428 -0.069604 5.99182 0.192222 7.07781C0.386317 7.88618 0.849843 8.46217 1.64341 8.46217H2.58223V7.21466C2.58223 6.3134 3.36201 5.51842 4.28801 5.51842H7.01535C7.77454 5.51842 8.38061 4.89333 8.38061 4.13088V1.53084C8.38061 0.790854 7.75634 0.234979 7.01535 0.111479C6.54628 0.0333971 6.05959 -0.00207535 5.5928 9.36167e-05ZM4.11616 0.837072C4.3982 0.837072 4.62853 1.07116 4.62853 1.35899C4.62853 1.6458 4.3982 1.87773 4.11616 1.87773C3.8331 1.87773 3.60378 1.6458 3.60378 1.35899C3.60378 1.07116 3.8331 0.837072 4.11616 0.837072Z",fill:`url(#${i("paint0_linear_6336_14290")})`}),t("path",{d:"M8.72123 2.91797V4.13047C8.72123 5.07051 7.92426 5.86171 7.01545 5.86171H4.28811C3.54105 5.86171 2.92285 6.5011 2.92285 7.24925V9.84929C2.92285 10.5893 3.56632 11.0245 4.28811 11.2368C5.15244 11.491 5.98129 11.5369 7.01545 11.2368C7.70287 11.0378 8.38071 10.6373 8.38071 9.84929V8.80864H5.65337V8.46176H8.38071H9.74598C10.5395 8.46176 10.8353 7.90823 11.1112 7.0774C11.3963 6.22208 11.3842 5.39955 11.1112 4.30232C10.9151 3.51232 10.5406 2.91797 9.74598 2.91797H8.72123ZM7.1873 9.50241C7.47036 9.50241 7.69967 9.73434 7.69967 10.0211C7.69967 10.309 7.47036 10.5431 7.1873 10.5431C6.90526 10.5431 6.67493 10.309 6.67493 10.0211C6.67493 9.73434 6.90526 9.50241 7.1873 9.50241Z",fill:`url(#${i("paint1_linear_6336_14290")})`})]}),e("defs",{children:[e("linearGradient",{id:i("paint0_linear_6336_14290"),x1:"-3.4002e-08",y1:"-2.95366e-08",x2:"6.29629",y2:"5.36531",gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#5A9FD4"}),t("stop",{offset:"1",stopColor:"#306998"})]}),e("linearGradient",{id:i("paint1_linear_6336_14290"),x1:"7.12169",y1:"9.93365",x2:"4.86282",y2:"6.76831",gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#FFD43B"}),t("stop",{offset:"1",stopColor:"#FFE873"})]}),t("clipPath",{id:i("clip0_6336_14290"),children:t("rect",{width:"11.5",height:"11.5",fill:"white"})})]})]})},d=r(l)({dataComponentName:"icons/PythonIcon"});export{l as Icon,d as PythonIcon};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PythonIcon } from './PythonIcon.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{PythonIcon as r}from"./PythonIcon.js";export{r as PythonIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const Icon: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const RIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").BaseObject, never> & Partial<Pick<import("styled-components/dist/types").BaseObject, never>>> & string & Omit<typeof Icon, keyof import("react").Component<any, {}, any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o,jsxs as e}from"react/jsx-runtime";import{styled as r}from"styled-components";import{useUniqueSvgIds as d}from"@redocly/theme/core/openapi";const n=()=>{const i=d(),t=s=>i(s);return e("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",width:"724",height:"561",viewBox:"0 0 724 561",children:[e("defs",{children:[e("linearGradient",{id:t("gradientFill-1"),x1:"0",x2:"1",y1:"0",y2:"1",gradientUnits:"objectBoundingBox",spreadMethod:"pad",children:[o("stop",{offset:"0",stopColor:"rgb(203,206,208)",stopOpacity:"1"}),o("stop",{offset:"1",stopColor:"rgb(132,131,139)",stopOpacity:"1"})]}),e("linearGradient",{id:t("gradientFill-2"),x1:"0",x2:"1",y1:"0",y2:"1",gradientUnits:"objectBoundingBox",spreadMethod:"pad",children:[o("stop",{offset:"0",stopColor:"rgb(39,109,195)",stopOpacity:"1"}),o("stop",{offset:"1",stopColor:"rgb(22,92,170)",stopOpacity:"1"})]})]}),o("path",{d:"M361.453,485.937 C162.329,485.937 0.906,377.828 0.906,244.469 C0.906,111.109 162.329,3.000 361.453,3.000 C560.578,3.000 722.000,111.109 722.000,244.469 C722.000,377.828 560.578,485.937 361.453,485.937 ZM416.641,97.406 C265.289,97.406 142.594,171.314 142.594,262.484 C142.594,353.654 265.289,427.562 416.641,427.562 C567.992,427.562 679.687,377.033 679.687,262.484 C679.687,147.971 567.992,97.406 416.641,97.406 Z",fill:`url(#${t("gradientFill-1")})`,fillRule:"evenodd"}),o("path",{d:"M550.000,377.000 C550.000,377.000 571.822,383.585 584.500,390.000 C588.899,392.226 596.510,396.668 602.000,402.500 C607.378,408.212 610.000,414.000 610.000,414.000 L696.000,559.000 L557.000,559.062 L492.000,437.000 C492.000,437.000 478.690,414.131 470.500,407.500 C463.668,401.969 460.755,400.000 454.000,400.000 C449.298,400.000 420.974,400.000 420.974,400.000 L421.000,558.974 L298.000,559.026 L298.000,152.938 L545.000,152.938 C545.000,152.938 657.500,154.967 657.500,262.000 C657.500,369.033 550.000,377.000 550.000,377.000 ZM496.500,241.024 L422.037,240.976 L422.000,310.026 L496.500,310.002 C496.500,310.002 531.000,309.895 531.000,274.877 C531.000,239.155 496.500,241.024 496.500,241.024 Z",fill:`url(#${t("gradientFill-2")})`,fillRule:"evenodd"})]})},C=r(n)({dataComponentName:"icons/RIcon"});export{n as Icon,C as RIcon};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RIcon } from './RIcon.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{RIcon as c}from"./RIcon.js";export{c as RIcon};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const Icon: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const RubyIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").BaseObject, never> & Partial<Pick<import("styled-components/dist/types").BaseObject, never>>> & string & Omit<typeof Icon, keyof import("react").Component<any, {}, any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as o,jsxs as t}from"react/jsx-runtime";import{styled as i}from"styled-components";import{useUniqueSvgIds as p}from"@redocly/theme/core/openapi";const r=()=>{const l=p(),e=s=>l(s);return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 10 10",fill:"none",children:[t("g",{clipPath:"url(#clip0_6351_16623)",children:[o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.74747 6.58131L2.03809 9.97151L9.43066 9.46987L10 2.01562L7.74747 6.58131Z",fill:`url(#${e("paint0_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.4423 9.46549L8.8069 5.07999L7.07617 7.36535L9.4423 9.46549Z",fill:`url(#${e("paint1_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.45103 9.46503L4.79606 9.09961L2.0625 9.96222L9.45103 9.46503Z",fill:`url(#${e("paint2_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.06988 9.96392L3.23275 6.1543L0.673828 6.70146L2.06988 9.96392Z",fill:`url(#${e("paint3_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.07647 7.37869L6.00647 3.1875L2.94434 6.05784L7.07647 7.37869Z",fill:`url(#${e("paint4_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75724 3.24496L6.86268 0.880859L6.05664 3.48672L9.75724 3.24496Z",fill:`url(#${e("paint5_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.40341 0.0380086L6.701 0.978805L5.62695 0.0253906L8.40341 0.0380086Z",fill:`url(#${e("paint6_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7.97912L0.713168 6.67845L0.136274 5.12897L0 7.97912Z",fill:`url(#${e("paint7_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.0976562 5.08L0.678083 6.72639L3.20016 6.16055L6.07959 3.48453L6.89218 0.903447L5.61267 0L3.43733 0.814112C2.75197 1.45157 1.42204 2.71286 1.37409 2.73659C1.32665 2.76081 0.49588 4.33099 0.0976562 5.08Z",fill:"white"}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.13575 2.1231C3.62114 0.650327 5.53604 -0.219808 6.27091 0.521624C7.00533 1.26306 6.2265 3.0649 4.74111 4.53717C3.25572 6.00943 1.36454 6.92752 0.630172 6.18609C-0.104699 5.44516 0.65036 3.59536 2.13575 2.1231Z",fill:`url(#${e("paint8_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.06934 9.96236L3.22312 6.14062L7.05495 7.37163C5.6695 8.67078 4.12859 9.76905 2.06934 9.96236Z",fill:`url(#${e("paint9_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.08496 3.47728L7.06866 7.37371C8.22598 6.15683 9.26469 4.8486 9.7734 3.23047L6.08496 3.47728Z",fill:`url(#${e("paint10_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.76328 3.25002C10.157 2.06191 10.2478 0.357474 8.39141 0.0410156L6.86816 0.882382L9.76328 3.25002Z",fill:`url(#${e("paint11_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7.96238C0.0545097 9.92326 1.46924 9.95249 2.07187 9.9697L0.679857 6.71875L0 7.96238Z",fill:"#9E1209"}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.08984 3.48401C6.97916 4.03062 8.77147 5.12839 8.80781 5.14858C8.86428 5.18037 9.58053 3.94078 9.74305 3.24023L6.08984 3.48401Z",fill:`url(#${e("paint12_radial_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.22168 6.14062L4.7641 9.11645C5.67613 8.62182 6.39031 8.01919 7.04442 7.37365L3.22168 6.14062Z",fill:`url(#${e("paint13_radial_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.673622 6.72331L0.455078 9.32564C0.867434 9.8889 1.43474 9.93786 2.0298 9.89395C1.59928 8.82243 0.739235 6.6799 0.673622 6.72331Z",fill:`url(#${e("paint14_linear_6351_16623")})`}),o("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.85938 0.889009L9.92352 1.31903C9.76 0.626051 9.2578 0.17887 8.4018 0.0390625L6.85938 0.889009Z",fill:`url(#${e("paint15_linear_6351_16623")})`})]}),t("defs",{children:[t("linearGradient",{id:e("paint0_linear_6351_16623"),x1:"8.78586",y1:"10.8784",x2:"6.67627",y2:"7.15383",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"#FB7655"}),o("stop",{offset:"0.41",stopColor:"#E42B1E"}),o("stop",{offset:"0.99",stopColor:"#990000"}),o("stop",{offset:"1",stopColor:"#990000"})]}),t("linearGradient",{id:e("paint1_linear_6351_16623"),x1:"9.83628",y1:"7.75033",x2:"7.11749",y2:"5.92586",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"#871101"}),o("stop",{offset:"0.99",stopColor:"#911209"}),o("stop",{offset:"1",stopColor:"#911209"})]}),t("linearGradient",{id:e("paint2_linear_6351_16623"),x1:"7.66112",y1:"10.9916",x2:"4.94241",y2:"9.16714",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"#871101"}),o("stop",{offset:"0.99",stopColor:"#911209"}),o("stop",{offset:"1",stopColor:"#911209"})]}),t("linearGradient",{id:e("paint3_linear_6351_16623"),x1:"1.95361",y1:"6.4299",x2:"2.37508",y2:"9.16906",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"white"}),o("stop",{offset:"0.23",stopColor:"#E57252"}),o("stop",{offset:"0.46",stopColor:"#DE3B20"}),o("stop",{offset:"0.99",stopColor:"#A60003"}),o("stop",{offset:"1",stopColor:"#A60003"})]}),t("linearGradient",{id:e("paint4_linear_6351_16623"),x1:"4.85231",y1:"3.87267",x2:"5.00761",y2:"6.66815",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"white"}),o("stop",{offset:"0.23",stopColor:"#E4714E"}),o("stop",{offset:"0.56",stopColor:"#BE1A0D"}),o("stop",{offset:"0.99",stopColor:"#A80D00"}),o("stop",{offset:"1",stopColor:"#A80D00"})]}),t("linearGradient",{id:e("paint5_linear_6351_16623"),x1:"7.42458",y1:"1.28721",x2:"7.88948",y2:"3.2907",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"white"}),o("stop",{offset:"0.18",stopColor:"#E46342"}),o("stop",{offset:"0.4",stopColor:"#C82410"}),o("stop",{offset:"0.99",stopColor:"#A80D00"}),o("stop",{offset:"1",stopColor:"#A80D00"})]}),t("linearGradient",{id:e("paint6_linear_6351_16623"),x1:"6.00479",y1:"0.581667",x2:"8.00815",y2:"-0.420014",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"white"}),o("stop",{offset:"0.54",stopColor:"#C81F11"}),o("stop",{offset:"0.99",stopColor:"#BF0905"}),o("stop",{offset:"1",stopColor:"#BF0905"})]}),t("linearGradient",{id:e("paint7_linear_6351_16623"),x1:"0.197007",y1:"5.73133",x2:"0.361894",y2:"7.38217",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"white"}),o("stop",{offset:"0.31",stopColor:"#DE4024"}),o("stop",{offset:"0.99",stopColor:"#BF190B"}),o("stop",{offset:"1",stopColor:"#BF190B"})]}),t("linearGradient",{id:e("paint8_linear_6351_16623"),x1:"-0.936764",y1:"7.82917",x2:"6.81425",y2:"-0.141038",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"#BD0012"}),o("stop",{offset:"0.07",stopColor:"white"}),o("stop",{offset:"0.17",stopColor:"white"}),o("stop",{offset:"0.27",stopColor:"#C82F1C"}),o("stop",{offset:"0.33",stopColor:"#820C01"}),o("stop",{offset:"0.46",stopColor:"#A31601"}),o("stop",{offset:"0.72",stopColor:"#B31301"}),o("stop",{offset:"0.99",stopColor:"#E82609"}),o("stop",{offset:"1",stopColor:"#E82609"})]}),t("linearGradient",{id:e("paint9_linear_6351_16623"),x1:"5.00048",y1:"8.63258",x2:"2.6658",y2:"8.05637",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"#8C0C01"}),o("stop",{offset:"0.54",stopColor:"#990C00"}),o("stop",{offset:"0.99",stopColor:"#A80D0E"}),o("stop",{offset:"1",stopColor:"#A80D0E"})]}),t("linearGradient",{id:e("paint10_linear_6351_16623"),x1:"9.01061",y1:"5.83051",x2:"6.93656",y2:"3.9716",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"#7E110B"}),o("stop",{offset:"0.99",stopColor:"#9E0C00"}),o("stop",{offset:"1",stopColor:"#9E0C00"})]}),t("linearGradient",{id:e("paint11_linear_6351_16623"),x1:"9.77255",y1:"2.41961",x2:"8.73942",y2:"1.31512",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"#79130D"}),o("stop",{offset:"0.99",stopColor:"#9E120B"}),o("stop",{offset:"1",stopColor:"#9E120B"})]}),t("radialGradient",{id:e("paint12_radial_6351_16623"),cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.2589 4.00782) scale(2.54164 2.54164)",children:[o("stop",{stopColor:"#A80D00"}),o("stop",{offset:"0.99",stopColor:"#7E0E08"}),o("stop",{offset:"1",stopColor:"#7E0E08"})]}),t("radialGradient",{id:e("paint13_radial_6351_16623"),cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(3.73964 7.35654) scale(3.37878)",children:[o("stop",{stopColor:"#A30C00"}),o("stop",{offset:"0.99",stopColor:"#800E08"}),o("stop",{offset:"1",stopColor:"#800E08"})]}),t("linearGradient",{id:e("paint14_linear_6351_16623"),x1:"1.3459",y1:"9.96087",x2:"0.503971",y2:"7.10447",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"#8B2114"}),o("stop",{offset:"0.43",stopColor:"#9E100A"}),o("stop",{offset:"0.99",stopColor:"#B3100C"}),o("stop",{offset:"1",stopColor:"#B3100C"})]}),t("linearGradient",{id:e("paint15_linear_6351_16623"),x1:"7.80527",y1:"0.494718",x2:"9.69282",y2:"1.32791",gradientUnits:"userSpaceOnUse",children:[o("stop",{stopColor:"#B31000"}),o("stop",{offset:"0.44",stopColor:"#910F08"}),o("stop",{offset:"0.99",stopColor:"#791C12"}),o("stop",{offset:"1",stopColor:"#791C12"})]}),o("clipPath",{id:"clip0_6351_16623",children:o("rect",{width:"10",height:"9.97224",fill:"white"})})]})]})},f=i(r)({dataComponentName:"icons/RubyIcon"});export{r as Icon,f as RubyIcon};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RubyIcon } from './RubyIcon.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{RubyIcon as b}from"./RubyIcon.js";export{b as RubyIcon};
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export * from './types/common.js';
|
|
2
|
+
export type * from './types/content.js';
|
|
3
|
+
export type * from './types/store.js';
|
|
4
|
+
export type * from './types/openapi.js';
|
|
5
|
+
export type * from './types/asyncapi.js';
|
|
6
|
+
export type * from './types/graphql.js';
|
|
7
|
+
export type * from './types/schema.js';
|
|
8
|
+
export type * from './types/options.js';
|
|
9
|
+
export type * from './types/events.js';
|
|
10
|
+
export type * from 'graphql';
|
|
11
|
+
export { buildItems, buildNavItems } from './adapters/build.js';
|
|
12
|
+
export { buildGraphqlStoreFromSdl } from './adapters/graphql/buildStoreFromSdl.js';
|
|
13
|
+
export { simplifyAstStructure } from './adapters/utils/simplifyAstStructure.js';
|
|
14
|
+
export { extractFullText } from './adapters/utils/markdoc.js';
|
|
15
|
+
export { normalizeOptions } from './options/normalizeOptions.js';
|
|
16
|
+
export { excludeMockServers } from './adapters/openapi/utils/merge-mock-server.js';
|
|
17
|
+
export { appendUndeclaredConfigureParameters } from './services/code-samples/replay/merge-configure-into-source.js';
|
|
18
|
+
export { isGraphqlDocsSidebarHidden } from './options/helpers.js';
|
|
19
|
+
export { findFirstBinding } from './adapters/asyncapi/build/utils.js';
|
|
20
|
+
export { resolveRequestValues, applyRequestValuesToOperationInfo, type ResolveRequestValuesParams, } from './adapters/openapi/configure/index.js';
|
|
21
|
+
export { updateObjectProperties, isDirectRequestValues, getEffectiveRequestValues, createSecurityUpdates, mergeSecurityIntoScheme, applyServerVariableDefaults, type SchemeForCredentials, } from './adapters/openapi/configure/merge-utils.js';
|
|
22
|
+
export type { SecuritySchemeCredentials } from './types/store.js';
|
|
23
|
+
export type { ConfigureRequestValues, ConfigureServerRequestValues, SecurityDetails, } from '@redocly/theme/ext/configure';
|
|
24
|
+
export { MarkdownAdapterProvider, useMarkdownAdapter, type MarkdownAdapter, type MarkdownParser, type MarkdownRenderer, } from './contexts/markdownAdapter.js';
|
|
25
|
+
export { markdocParser } from './components/markdoc/markdocParser.js';
|
|
26
|
+
export { createMarkdocAdapter } from './components/markdoc/markdocAdapter.js';
|
|
27
|
+
export { parseMarkdown, type ParseMarkdownOptions } from './adapters/utils/parseMarkdown.js';
|
|
28
|
+
export { isPlainText } from './adapters/utils/isPlainText.js';
|
|
29
|
+
export { buildMarkdocOptions } from './components/markdoc/buildMarkdocOptions.js';
|
|
30
|
+
export { apiDocsMarkdocTags, apiDocsMarkdocNodes, } from './components/markdoc/defaultMarkdocConfig.js';
|
|
31
|
+
export { apiDocsMarkdocComponents } from './components/markdoc/apiDocsMarkdocComponents.js';
|
|
32
|
+
export { RedoclyApiDocs } from './RedoclyApiDocs.js';
|
|
33
|
+
export type { RedoclyApiDocsProps } from './RedoclyApiDocs.js';
|
|
34
|
+
export { RedoclyApiDocsStandalone } from './RedoclyApiDocsStandalone.js';
|
|
35
|
+
export type { RedoclyApiDocsStandaloneProps } from './RedoclyApiDocsStandalone.js';
|
|
36
|
+
export { RedocTelemetry } from './telemetry/RedocTelemetry.js';
|
|
37
|
+
export type { RedocTelemetryConfig, SpecType } from './telemetry/RedocTelemetry.js';
|
|
38
|
+
export { Replay, EmbeddedReplay } from './components/Replay/index.js';
|
|
39
|
+
export type { ReplayPanel } from './types/content.js';
|
|
40
|
+
export type { EmbeddedReplayProps } from './components/Replay/index.js';
|
|
41
|
+
export type { ReplayOnChangeParams } from '@redocly/replay';
|
|
42
|
+
export { REPLAY_TRY_IT_LOADING_STATE } from './services/code-samples/index.js';
|
|
43
|
+
export { findExampleIdByKey } from './services/code-samples/example-key.js';
|
|
44
|
+
export type { CodeSampleSource, ReplayOverlayApi, ReplayOverlayProps, ReplayTryItLoadingState, } from './services/code-samples/index.js';
|
|
45
|
+
export { RedocSchema, RedocExample, RedocResponseSamples, RedocCodeSample, } from './components/pluggable/index.js';
|
|
46
|
+
export type { ResponseCodeItem, OneOfChangeParams } from './components/pluggable/index.js';
|
|
47
|
+
export { StoreProvider, type StoreProviderProps } from './hoc/withStoreProvider.js';
|
|
48
|
+
export { GraphQLTypeViewByName } from './components/graphql/GraphQLTypeView.js';
|
|
49
|
+
export { mcpTagSchemas } from './components/markdoc/tags/mcp-tag-schemas.js';
|
|
50
|
+
export { schemaDefinitionTag } from './components/markdoc/tags/schema-definition-tag.js';
|
|
51
|
+
export { withReplayPrefetch, useOpenApiDefinition } from './hoc/withReplayPrefetch.js';
|
|
52
|
+
export { mergeEnvData } from './utils/environments.js';
|
|
53
|
+
export { buildReplayPredefinedEnvValues } from './services/code-samples/replay/replay-predefined-env.js';
|
|
54
|
+
export { encodeJsonPointerSegment } from './utils/refPointer.js';
|
|
55
|
+
export { JsonPointer } from './adapters/openapi/utils/JsonPointer.js';
|
|
56
|
+
export { langFromMime, encodeExampleForMediaType } from './utils/media-type.js';
|
|
57
|
+
export { isOperationName, HTTP_METHODS } from './utils/http-methods.js';
|
|
58
|
+
export { convertSampleToString } from './services/code-samples/convertSampleToString.js';
|
|
59
|
+
export { resolveOperationSampleContext, buildCodeSamples, getRequestBodySamples, getResponseSamples, } from './services/operation-samples/index.js';
|
|
60
|
+
export type { OperationSampleContext, OperationSampleIdentifier, CodeSampleAttributes, CodeSampleBlock, MediaSampleBlock, } from './services/operation-samples/index.js';
|
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./types/common.js";import{buildItems as t,buildNavItems as p}from"./adapters/build.js";import{buildGraphqlStoreFromSdl as m}from"./adapters/graphql/buildStoreFromSdl.js";import{simplifyAstStructure as d}from"./adapters/utils/simplifyAstStructure.js";import{extractFullText as f}from"./adapters/utils/markdoc.js";import{normalizeOptions as l}from"./options/normalizeOptions.js";import{excludeMockServers as c}from"./adapters/openapi/utils/merge-mock-server.js";import{appendUndeclaredConfigureParameters as S}from"./services/code-samples/replay/merge-configure-into-source.js";import{isGraphqlDocsSidebarHidden as y}from"./options/helpers.js";import{findFirstBinding as g}from"./adapters/asyncapi/build/utils.js";import{resolveRequestValues as M,applyRequestValuesToOperationInfo as P}from"./adapters/openapi/configure/index.js";import{updateObjectProperties as b,isDirectRequestValues as k,getEffectiveRequestValues as A,createSecurityUpdates as E,mergeSecurityIntoScheme as h,applyServerVariableDefaults as O}from"./adapters/openapi/configure/merge-utils.js";import{MarkdownAdapterProvider as I,useMarkdownAdapter as V}from"./contexts/markdownAdapter.js";import{markdocParser as C}from"./components/markdoc/markdocParser.js";import{createMarkdocAdapter as N}from"./components/markdoc/markdocAdapter.js";import{parseMarkdown as B}from"./adapters/utils/parseMarkdown.js";import{isPlainText as H}from"./adapters/utils/isPlainText.js";import{buildMarkdocOptions as J}from"./components/markdoc/buildMarkdocOptions.js";import{apiDocsMarkdocTags as Y,apiDocsMarkdocNodes as j}from"./components/markdoc/defaultMarkdocConfig.js";import{apiDocsMarkdocComponents as K}from"./components/markdoc/apiDocsMarkdocComponents.js";import{RedoclyApiDocs as W}from"./RedoclyApiDocs.js";import{RedoclyApiDocsStandalone as Z}from"./RedoclyApiDocsStandalone.js";import{RedocTelemetry as ee}from"./telemetry/RedocTelemetry.js";import{Replay as re,EmbeddedReplay as te}from"./components/Replay/index.js";import{REPLAY_TRY_IT_LOADING_STATE as ae}from"./services/code-samples/index.js";import{findExampleIdByKey as ie}from"./services/code-samples/example-key.js";import{RedocSchema as se,RedocExample as fe,RedocResponseSamples as xe,RedocCodeSample as le}from"./components/pluggable/index.js";import{StoreProvider as ce}from"./hoc/withStoreProvider.js";import{GraphQLTypeViewByName as Se}from"./components/graphql/GraphQLTypeView.js";import{mcpTagSchemas as ye}from"./components/markdoc/tags/mcp-tag-schemas.js";import{schemaDefinitionTag as ge}from"./components/markdoc/tags/schema-definition-tag.js";import{withReplayPrefetch as Me,useOpenApiDefinition as Pe}from"./hoc/withReplayPrefetch.js";import{mergeEnvData as be}from"./utils/environments.js";import{buildReplayPredefinedEnvValues as Ae}from"./services/code-samples/replay/replay-predefined-env.js";import{encodeJsonPointerSegment as he}from"./utils/refPointer.js";import{JsonPointer as qe}from"./adapters/openapi/utils/JsonPointer.js";import{langFromMime as Ve,encodeExampleForMediaType as we}from"./utils/media-type.js";import{isOperationName as Fe,HTTP_METHODS as Ne}from"./utils/http-methods.js";import{convertSampleToString as Be}from"./services/code-samples/convertSampleToString.js";import{resolveOperationSampleContext as He,buildCodeSamples as Le,getRequestBodySamples as Je,getResponseSamples as Ue}from"./services/operation-samples/index.js";export{te as EmbeddedReplay,Se as GraphQLTypeViewByName,Ne as HTTP_METHODS,qe as JsonPointer,I as MarkdownAdapterProvider,ae as REPLAY_TRY_IT_LOADING_STATE,le as RedocCodeSample,fe as RedocExample,xe as RedocResponseSamples,se as RedocSchema,ee as RedocTelemetry,W as RedoclyApiDocs,Z as RedoclyApiDocsStandalone,re as Replay,ce as StoreProvider,K as apiDocsMarkdocComponents,j as apiDocsMarkdocNodes,Y as apiDocsMarkdocTags,S as appendUndeclaredConfigureParameters,P as applyRequestValuesToOperationInfo,O as applyServerVariableDefaults,Le as buildCodeSamples,m as buildGraphqlStoreFromSdl,t as buildItems,J as buildMarkdocOptions,p as buildNavItems,Ae as buildReplayPredefinedEnvValues,Be as convertSampleToString,N as createMarkdocAdapter,E as createSecurityUpdates,we as encodeExampleForMediaType,he as encodeJsonPointerSegment,c as excludeMockServers,f as extractFullText,ie as findExampleIdByKey,g as findFirstBinding,A as getEffectiveRequestValues,Je as getRequestBodySamples,Ue as getResponseSamples,k as isDirectRequestValues,y as isGraphqlDocsSidebarHidden,Fe as isOperationName,H as isPlainText,Ve as langFromMime,C as markdocParser,ye as mcpTagSchemas,be as mergeEnvData,h as mergeSecurityIntoScheme,l as normalizeOptions,B as parseMarkdown,He as resolveOperationSampleContext,M as resolveRequestValues,ge as schemaDefinitionTag,d as simplifyAstStructure,b as updateObjectProperties,V as useMarkdownAdapter,Pe as useOpenApiDefinition,Me as withReplayPrefetch};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { LayoutVariant } from '@redocly/config';
|
|
2
|
+
import type { AsyncLocalStorage } from 'node:async_hooks';
|
|
3
|
+
import type { UserClaims } from '@redocly/theme/core/openapi';
|
|
4
|
+
declare global {
|
|
5
|
+
var redoclyCookieStorage: AsyncLocalStorage<string> | undefined;
|
|
6
|
+
}
|
|
7
|
+
export type TabType<T extends object = object> = {
|
|
8
|
+
title: string;
|
|
9
|
+
key: string;
|
|
10
|
+
} & T;
|
|
11
|
+
export type AppSessionStore = {
|
|
12
|
+
collapsedSidebar: boolean;
|
|
13
|
+
unsupportedFeatureScreen: boolean;
|
|
14
|
+
};
|
|
15
|
+
export type AppStore = {
|
|
16
|
+
activeMimeName: string;
|
|
17
|
+
layout: LayoutVariant;
|
|
18
|
+
language: string;
|
|
19
|
+
environment: string;
|
|
20
|
+
environments: Record<string, Record<string, string>>;
|
|
21
|
+
userClaims: UserClaims;
|
|
22
|
+
allowedEnvironments: string[] | null;
|
|
23
|
+
};
|
|
24
|
+
type LanguageAtom = {
|
|
25
|
+
languages?: (TabType & {
|
|
26
|
+
order?: number;
|
|
27
|
+
lang: string;
|
|
28
|
+
})[];
|
|
29
|
+
activeLanguage: string;
|
|
30
|
+
};
|
|
31
|
+
export declare const appStore: import("jotai").WritableAtom<AppStore, [typeof import("jotai/utils").RESET | AppStore | ((prev: AppStore) => typeof import("jotai/utils").RESET | AppStore)], void>;
|
|
32
|
+
export declare const environmentsAtom: import("jotai").Atom<import("../utils/environments.js").EnvironmentData>;
|
|
33
|
+
export declare const environmentAtom: import("jotai").WritableAtom<[Record<string, string>, string], [{
|
|
34
|
+
environment?: string;
|
|
35
|
+
environments?: Record<string, Record<string, string>>;
|
|
36
|
+
}], void>;
|
|
37
|
+
export declare const savedEnvironmentNameAtom: import("jotai").Atom<string>;
|
|
38
|
+
export declare const activeMimeNameAtom: import("jotai").WritableAtom<string, [string], void>;
|
|
39
|
+
export declare const mediaTypeOverrideAtom: import("jotai").PrimitiveAtom<string | undefined> & {
|
|
40
|
+
init: string | undefined;
|
|
41
|
+
};
|
|
42
|
+
export declare const activeMediaTypeAtom: import("jotai").WritableAtom<string | undefined, [string | undefined], void>;
|
|
43
|
+
export declare const layoutAtom: import("jotai").WritableAtom<LayoutVariant, LayoutVariant[], void>;
|
|
44
|
+
export declare const userClaimsAtom: import("jotai").WritableAtom<UserClaims, UserClaims[], void>;
|
|
45
|
+
export declare const allowedEnvironmentsAtom: import("jotai").WritableAtom<string[] | null, [string[] | null], void>;
|
|
46
|
+
/**
|
|
47
|
+
* appSessionStore saved to session storage
|
|
48
|
+
*/
|
|
49
|
+
export declare const appSessionStore: import("jotai").WritableAtom<AppSessionStore, [typeof import("jotai/utils").RESET | AppSessionStore | ((prev: AppSessionStore) => typeof import("jotai/utils").RESET | AppSessionStore)], void>;
|
|
50
|
+
export declare const collapsedSidebarAtom: import("jotai").WritableAtom<boolean, boolean[], void>;
|
|
51
|
+
export declare const languageAtom: import("jotai").WritableAtom<LanguageAtom, [string], void>;
|
|
52
|
+
export declare const selectedCallbackAtom: import("jotai").PrimitiveAtom<string | null> & {
|
|
53
|
+
init: string | null;
|
|
54
|
+
};
|
|
55
|
+
export declare const selectedSecuritySchemeIdxAtom: import("jotai").PrimitiveAtom<number> & {
|
|
56
|
+
init: number;
|
|
57
|
+
};
|
|
58
|
+
export declare const requestValuesAtom: import("jotai").PrimitiveAtom<Record<string, Record<string, unknown>>> & {
|
|
59
|
+
init: Record<string, Record<string, unknown>>;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* The `data-section-id` of whatever section is currently nearest the top of
|
|
63
|
+
* the viewport (computed by `useScrollSpyUrlSync` via `useActiveSectionId`).
|
|
64
|
+
* Used only for the standalone API docs with sidebar.
|
|
65
|
+
*/
|
|
66
|
+
export declare const activeScrollSectionAtom: import("jotai").PrimitiveAtom<string | null> & {
|
|
67
|
+
init: string | null;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Lowercased pathnames visited this session. Written only by the root-mounted
|
|
71
|
+
* `useVisitedChannelsTracker` so per-item panels don't subscribe to the router.
|
|
72
|
+
*/
|
|
73
|
+
export declare const visitedChannelsAtom: import("jotai").PrimitiveAtom<string[]> & {
|
|
74
|
+
init: string[];
|
|
75
|
+
};
|
|
76
|
+
export {};
|
package/lib/jotai/app.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{atom as r}from"jotai";import{atomWithStorage as v,createJSONStorage as A}from"jotai/utils";import{LayoutVariant as x}from"@redocly/config";import{getCookie as y,removeCookie as k,setCookie as C}from"../utils/cookies.js";import{mergeEnvData as l,IS_BROWSER as E}from"../utils/environments.js";import{keepReadingSectionAnchored as N}from"../utils/scroll-anchoring.js";import{safeJsonParse as g}from"../utils/string.js";import{fromSessionStorage as O,toSessionStorage as b}from"../utils/session-storage.js";import{DEFAULT_LAYOUT as V}from"../options/constants.js";import{globalOptionsAtom as I}from"./store.js";const d={activeMimeName:"",layout:V,language:"",environment:"",environments:{},userClaims:{},allowedEnvironments:null},L={getItem:e=>{const o=g(y(e,globalThis.redoclyCookieStorage?.getStore?.())),t=g(O(e));return{...d,...t,...o}},setItem:(e,o)=>{const{environments:t,...n}=o,a={environments:t};C(e,JSON.stringify(n)),b(e,JSON.stringify(a))},removeItem:e=>{k(e),sessionStorage.removeItem(e)}},s=v("redoc.appStore",d,L),U=r(e=>{const o=e(s);return l(o.environments,{})}),W=r(e=>{const o=e(s),t=l(o.environments,{}),n=o.environment,a=Object.keys(t).find(c=>t[c]?.server===n),i=t[n]?n:a??Object.keys(t)[0];let m=t[i]||{};return!m.server&&a&&(m={...t[a],...m}),[m,i||""]},(e,o,{environment:t,environments:n})=>{const a=e(s);o(s,{...a,environment:t||a.environment,environments:l(a.environments||{},n)})}),_=r(e=>e(s).environment),p=r(e=>e(s).activeMimeName,(e,o,t)=>{const n=e(s);o(s,{...n,activeMimeName:t})}),S=r(void 0),q=r(e=>e(S)??(e(p)||void 0),(e,o,t)=>{o(S,void 0),(t??"")!==e(p)&&N(),o(p,t??"")}),B=r(e=>e(s).layout,(e,o,t=x.STACKED)=>{const n=e(s);o(s,{...n,layout:t})}),P=r(e=>e(s).userClaims,(e,o,t)=>{const n=e(s);o(s,{...n,userClaims:t})}),Y=r(e=>e(s).allowedEnvironments,(e,o,t)=>{const n=e(s);o(s,{...n,allowedEnvironments:t})}),u=v("redoc.appSessionStore",{collapsedSidebar:!1,unsupportedFeatureScreen:!1},E?A(()=>sessionStorage):void 0),z=r(e=>e(u).collapsedSidebar,(e,o,t)=>{const n=e(u);o(u,{...n,collapsedSidebar:t})}),G=r(e=>{const o=e(I),{codeSamples:t}=o;if(!t?.languages)return{languages:[],activeLanguage:e(s).language||""};const n=t.languages.map(({key:i,label:m,lang:c},f)=>({key:i,lang:c,title:m,order:f})),a=e(s).language||n[0]?.key;return{languages:n,activeLanguage:n.find(({key:i})=>i===a)?.key||n[0]?.key}},(e,o,t)=>{const n=e(s);o(s,{...n,language:t})}),H=r(null),Q=r(0),X=r({}),Z=r(null),$=r([]);export{q as activeMediaTypeAtom,p as activeMimeNameAtom,Z as activeScrollSectionAtom,Y as allowedEnvironmentsAtom,u as appSessionStore,s as appStore,z as collapsedSidebarAtom,W as environmentAtom,U as environmentsAtom,G as languageAtom,B as layoutAtom,S as mediaTypeOverrideAtom,X as requestValuesAtom,_ as savedEnvironmentNameAtom,H as selectedCallbackAtom,Q as selectedSecuritySchemeIdxAtom,P as userClaimsAtom,$ as visitedChannelsAtom};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ExampleEntry } from '../types/store.js';
|
|
2
|
+
export declare const exampleStoreAtom: import("jotai").Atom<Record<string, ExampleEntry>>;
|
|
3
|
+
export declare const itemSpecForSamplerAtom: import("jotai-family").AtomFamily<string, import("jotai").Atom<Record<string, unknown>>>;
|
|
4
|
+
export declare function buildExampleAtomKey(schemaId: string, context?: 'request' | 'response', mediaType?: string, itemId?: string): string;
|
|
5
|
+
export declare const generatedExampleAtom: import("jotai-family").AtomFamily<string, import("jotai").Atom<unknown>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{atom as m}from"jotai";import{atomFamily as f}from"jotai-family";import*as q from"openapi-sampler";import{schemaKind as g}from"../types/common.js";import{convertSampleToString as y}from"../services/code-samples/index.js";import{applyActiveVariantsToStore as h}from"../services/code-samples/discriminator.js";import{isSequentialMediaType as E}from"../utils/media-type.js";import{storeAtom as M,globalOptionsAtom as j}from"./store.js";import{schemaStoreAtom as l}from"./schema.js";import{activeDiscriminatorSelectAtom as F,activeOneOfSelectAtom as N}from"./itemStore.js";const G=m(t=>t(M).exampleStore??{});function x(t){const e={};for(const[n,r]of Object.entries(t)){const o=n.startsWith("components/schemas/")?n.replace("components/schemas/",""):n;e[o]=r}return{openapi:"3.0.0",info:{title:"",version:""},paths:{},components:{schemas:e}}}function R(t,e){return!!t&&Object.keys(t).length>0||!!e&&Object.keys(e).length>0}const u=m(t=>h(t(l))),A=f(t=>m(e=>{if(!t)return e(u);const n=e(F(t)),r=e(N(t));return R(n,r)?h(e(l),n,r):e(u)})),V=m(t=>x(t(u))),C=f(t=>m(e=>{const n=e(A(t));return n===e(u)?e(V):x(n)})),D="";function Q(t,e,n,r){return t?JSON.stringify({itemId:r??"",schemaId:t,context:e??"",mediaType:n??""}):D}function J(t){if(t)try{const e=JSON.parse(t);if(!e||typeof e.schemaId!="string"||!e.schemaId)return;const n=typeof e.itemId=="string"?e.itemId:"",r=typeof e.context=="string"?e.context:"",o=typeof e.mediaType=="string"?e.mediaType:"";return{itemId:n,schemaId:e.schemaId,context:r==="request"||r==="response"?r:void 0,mediaType:o||void 0}}catch{return}}const U=f(t=>{const e=J(t);return m(n=>{if(!e)return;const{itemId:r,schemaId:o,context:i,mediaType:p}=e,s=n(l)[o];if(!s||s.kind!==g.JSON_SCHEMA)return;const d=n(C(r)),b=n(A(r))[o]??s.data,{onlyRequiredInSamples:v,generatedSamplesMaxDepth:I,unstable_skipSamples:T}=n(j);if(T)return;const a=p?.toLowerCase(),k=a?a.includes("xml"):!1;try{const S={context:i,skipNonRequired:i==="request"&&v,maxSampleDepth:I,isXml:k},c=O(b,d,S);return c==null?c:a&&E(a)?K(s.data,c,d,S,a):c}catch{return}})});function K(t,e,n,r,o){const i=_(t);if(i.length>0){const p=i.map(s=>O(s,n,r)).filter(s=>s!=null);if(p.length>0)return y(p,o,t,!1)}return y(e,o,t,!0)}function _(t){const e=t.oneOf;return Array.isArray(e)?e.filter(n=>typeof n=="object"&&n!==null):[]}function O(t,e,{context:n,skipNonRequired:r,maxSampleDepth:o,isXml:i}){return q.sample(t,{skipReadOnly:n==="request",skipWriteOnly:n==="response",quiet:!0,skipNonRequired:r,maxSampleDepth:o,...i&&{format:"xml"}},e)}export{Q as buildExampleAtomKey,G as exampleStoreAtom,U as generatedExampleAtom,C as itemSpecForSamplerAtom};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { GraphqlDirectiveData, GraphqlStoreFieldData, GraphqlTypeData, GraphqlTypeReference } from '../types/graphql-store.js';
|
|
2
|
+
import type { GraphqlTypeLookup } from '../utils/graphql-samples.js';
|
|
3
|
+
export declare const graphqlTypeLookupAtom: import("jotai").Atom<GraphqlTypeLookup>;
|
|
4
|
+
export declare const graphqlTypeDataAtom: import("jotai-family").AtomFamily<string, import("jotai").Atom<GraphqlTypeData | undefined>>;
|
|
5
|
+
export declare const graphqlDirectiveDataAtom: import("jotai-family").AtomFamily<string, import("jotai").Atom<GraphqlDirectiveData | undefined>>;
|
|
6
|
+
export type GraphqlOperationType = 'query' | 'mutation' | 'subscription';
|
|
7
|
+
export declare function graphqlOperationKey(operationType: GraphqlOperationType | undefined, operationName: string | undefined): string;
|
|
8
|
+
export declare const graphqlOperationAtom: import("jotai-family").AtomFamily<string, import("jotai").Atom<GraphqlStoreFieldData | undefined>>;
|
|
9
|
+
export declare const graphqlTypeSlugMapAtom: import("jotai").Atom<Record<string, string>>;
|
|
10
|
+
export declare const graphqlReferenceMapAtom: import("jotai").Atom<Record<string, GraphqlTypeReference[]>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{atom as a}from"jotai";import{atomFamily as i}from"jotai-family";import{graphqlDirectiveEntryId as s,graphqlTypeEntryId as l}from"../types/graphql-store.js";import{createGraphqlTypeLookup as f,getOperationFromStore as u}from"../utils/graphql-samples.js";import{buildGraphqlReferenceMap as g}from"../utils/graphql-reference-map.js";import{schemaStoreAtom as m}from"./schema.js";import{storeAtom as c,globalItemsAtom as h}from"./store.js";const D=a(t=>f(t(m))),I=i(t=>a(o=>o(m)[l(t)]?.data)),M=i(t=>a(o=>o(m)[s(t)]?.data));function O(t,o){return t&&o?`${t}:${o}`:""}const b=i(t=>a(o=>{const e=t.indexOf(":");if(e<1)return;const p=t.slice(0,e),n=t.slice(e+1);return u(o(c),p,n)})),v=a(t=>{const o=t(h),e={};function p(n){for(const r of n)r.content?.meta?.name&&"routeSlug"in r&&r.routeSlug&&(e[r.content.meta.name]=r.routeSlug),"items"in r&&Array.isArray(r.items)&&p(r.items)}return p(o),e}),E=a(t=>g(t(m),t(c).graphqlMeta?.rootTypes));export{M as graphqlDirectiveDataAtom,b as graphqlOperationAtom,O as graphqlOperationKey,E as graphqlReferenceMapAtom,I as graphqlTypeDataAtom,D as graphqlTypeLookupAtom,v as graphqlTypeSlugMapAtom};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { Atom } from 'jotai';
|
|
2
|
+
export type ItemStore = {
|
|
3
|
+
activeDiscriminator: Record<string, number>;
|
|
4
|
+
activeOneOf: Record<string, number>;
|
|
5
|
+
activeResponseCode: string;
|
|
6
|
+
activeMessageKey: string;
|
|
7
|
+
expandableSections: Record<string, boolean | undefined>;
|
|
8
|
+
collapsibles: Record<string, boolean>;
|
|
9
|
+
};
|
|
10
|
+
export type ItemStoreKey = keyof ItemStore;
|
|
11
|
+
export type ItemStoreFieldParams<K extends ItemStoreKey = ItemStoreKey> = {
|
|
12
|
+
itemId: string;
|
|
13
|
+
key: K;
|
|
14
|
+
};
|
|
15
|
+
type ItemStoreUpdate = Partial<ItemStore> | ((current: ItemStore) => Partial<ItemStore>);
|
|
16
|
+
export declare const itemStoreAtom: import("jotai-family").AtomFamily<string, import("jotai").WritableAtom<ItemStore, [update: ItemStoreUpdate], void>>;
|
|
17
|
+
export declare function itemStoreFieldAtom<K extends ItemStoreKey>(params: ItemStoreFieldParams<K>): Atom<ItemStore[K]>;
|
|
18
|
+
export declare function buildVariantStateKey(parentPath: ReadonlyArray<string> | undefined, localPart: string): string;
|
|
19
|
+
export type DeepLinkSectionData = {
|
|
20
|
+
/** Route-level item id (slug) */
|
|
21
|
+
id: string;
|
|
22
|
+
/** "request" | "response" for OpenAPI body/param sections */
|
|
23
|
+
t?: string;
|
|
24
|
+
/** "query" | "header" | "path" | "cookie" for OpenAPI parameter location */
|
|
25
|
+
in?: string;
|
|
26
|
+
/** Response status code */
|
|
27
|
+
c?: string;
|
|
28
|
+
/** Callback id */
|
|
29
|
+
cb?: string;
|
|
30
|
+
/** Content-type name (when multiple media types) */
|
|
31
|
+
ct?: string;
|
|
32
|
+
/** When true, nested field deep-links use `path=<field>` only */
|
|
33
|
+
pathOnly?: boolean;
|
|
34
|
+
/** AsyncAPI message key */
|
|
35
|
+
messageKey?: string;
|
|
36
|
+
/** AsyncAPI sub-section: "headers" | "payload" | "send" | "receive" | "parameters" | "messages" */
|
|
37
|
+
asyncSection?: string;
|
|
38
|
+
/** GraphQL type section: "field" | "argument" | "return-type" | "possible-types" | "implements" | "enum-value" */
|
|
39
|
+
graphqlType?: string;
|
|
40
|
+
/** GraphQL parent type name (e.g. "Query", "User") */
|
|
41
|
+
graphqlTypeName?: string;
|
|
42
|
+
};
|
|
43
|
+
export declare function activeDiscriminatorSelectAtom(itemId: string): Atom<ItemStore['activeDiscriminator']>;
|
|
44
|
+
export declare function activeOneOfSelectAtom(itemId: string): Atom<ItemStore['activeOneOf']>;
|
|
45
|
+
export declare function expandableSectionAtom(itemId: string, key: string): Atom<boolean | undefined>;
|
|
46
|
+
export declare function buildCollapsibleEntryKey(sectionKey: string, instanceId: string): string;
|
|
47
|
+
export declare function collapsibleEntrySection(entryKey: string): string;
|
|
48
|
+
export declare function expandableSectionKeysAtom(itemId: string): Atom<string[]>;
|
|
49
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{atom as p}from"jotai";import{selectAtom as m}from"jotai/utils";import{atomFamily as c}from"jotai-family";import{keepReadingSectionAnchored as O}from"../utils/scroll-anchoring.js";const d=Object.freeze({activeDiscriminator:Object.freeze({}),activeOneOf:Object.freeze({}),activeResponseCode:"",activeMessageKey:"",expandableSections:Object.freeze({}),collapsibles:Object.freeze({})});function u(){return d}const l=p({}),y=["activeResponseCode","activeMessageKey","activeOneOf","activeDiscriminator"],f=c(e=>p(t=>t(l)[e]??u(),(t,n,o)=>{const i=t(l),r=i[e]??u(),a=typeof o=="function"?o(r):o;y.some(s=>s in a&&a[s]!==r[s])&&O(),n(l,{...i,[e]:{...r,...a}})})),A=c(e=>m(f(e.itemId),t=>t[e.key]),(e,t)=>e.itemId===t.itemId&&e.key===t.key);function S(e){return A(e)}function j(e,t){const n=e?.length?e.join("/"):"";return n?`${n}/${t}`:t}function R(e){return S({itemId:e,key:"activeDiscriminator"})}function D(e){return S({itemId:e,key:"activeOneOf"})}const b=c(e=>m(f(e.itemId),t=>t.expandableSections[e.key]),(e,t)=>e.itemId===t.itemId&&e.key===t.key);function F(e,t){return b({itemId:e,key:t})}const x="#";function K(e,t){return`${e}${x}${t}`}function T(e){const t=e.indexOf(x);return t===-1?e:e.slice(0,t)}const v=c(e=>m(f(e),t=>Object.keys(t.expandableSections),(t,n)=>t.length===n.length&&t.every((o,i)=>o===n[i])));function _(e){return v(e)}export{R as activeDiscriminatorSelectAtom,D as activeOneOfSelectAtom,K as buildCollapsibleEntryKey,j as buildVariantStateKey,T as collapsibleEntrySection,F as expandableSectionAtom,_ as expandableSectionKeysAtom,f as itemStoreAtom,S as itemStoreFieldAtom};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{atom as o}from"jotai";const m=o(null);export{m as routeIndexAtom};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{atom as t}from"jotai";import{atomFamily as r}from"jotai-family";import{storeAtom as e}from"./store.js";const a=t(o=>o(e).schemaStore??{}),i=r(o=>t(m=>m(a)[o]));export{i as schemaEntryAtom,a as schemaStoreAtom};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ApiItem, ApiStore } from '../types/store.js';
|
|
2
|
+
import type { ApiSpecType } from '../types/common.js';
|
|
3
|
+
import type { ApiDocsOptions } from '../types/options.js';
|
|
4
|
+
import type { OpenAPIDefinition } from '../types/openapi.js';
|
|
5
|
+
export type GlobalStoreAtom = {
|
|
6
|
+
items: ApiItem[];
|
|
7
|
+
store: ApiStore;
|
|
8
|
+
options: ApiDocsOptions;
|
|
9
|
+
replayDefinition: OpenAPIDefinition | null;
|
|
10
|
+
};
|
|
11
|
+
export declare const globalStoreAtom: import("jotai").PrimitiveAtom<GlobalStoreAtom> & {
|
|
12
|
+
init: GlobalStoreAtom;
|
|
13
|
+
};
|
|
14
|
+
export declare const globalItemsAtom: import("jotai").Atom<ApiItem[]>;
|
|
15
|
+
/** Maps a component-schema name to the route slug of its schema-definition page (if it has one). */
|
|
16
|
+
export declare const schemaDefinitionSlugMapAtom: import("jotai").Atom<Record<string, string>>;
|
|
17
|
+
export declare const globalOptionsAtom: import("jotai").Atom<ApiDocsOptions>;
|
|
18
|
+
export declare const specTypeAtom: import("jotai").Atom<ApiSpecType>;
|
|
19
|
+
export declare const routingBasePathAtom: import("jotai").Atom<string>;
|
|
20
|
+
export declare const licenseKeyAtom: import("jotai").Atom<string | undefined>;
|
|
21
|
+
export declare const storeAtom: import("jotai").Atom<ApiStore>;
|
|
22
|
+
export declare const replayDefinitionAtom: import("jotai").Atom<OpenAPIDefinition | null>;
|
|
23
|
+
export declare const setReplayDefinitionAtom: import("jotai").WritableAtom<null, [value: OpenAPIDefinition | null], void> & {
|
|
24
|
+
init: null;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{atom as o}from"jotai";const m={schemaStore:{},exampleStore:{},securitySchemeStore:{}},e=o({items:[],store:m,options:{},replayDefinition:null}),c=o(t=>t(e).items),l=o(t=>{const s={};function i(p){for(const n of p){const r=n.content?.meta?.name;n.httpVerb==="schema"&&r&&n.routeSlug&&(s[r]=n.routeSlug),"items"in n&&Array.isArray(n.items)&&i(n.items)}}return i(t(e).items),s}),f=o(t=>t(e).options),y=o(t=>t(e).options.specType),A=o(t=>t(e).options.basePath),u=o(t=>t(e).options.licenseKey),x=o(t=>t(e).store??m),S=o(t=>t(e).replayDefinition),g=o(null,(t,s,i)=>{s(e,{...t(e),replayDefinition:i})});export{c as globalItemsAtom,f as globalOptionsAtom,e as globalStoreAtom,u as licenseKeyAtom,S as replayDefinitionAtom,A as routingBasePathAtom,l as schemaDefinitionSlugMapAtom,g as setReplayDefinitionAtom,y as specTypeAtom,x as storeAtom};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LayoutVariant } from '@redocly/config';
|
|
2
|
+
export declare const DEFAULT_LAYOUT = LayoutVariant.THREE_PANEL;
|
|
3
|
+
export declare const DEFAULT_FEEDBACK: {
|
|
4
|
+
readonly hide: false;
|
|
5
|
+
readonly type: 'sentiment';
|
|
6
|
+
};
|
|
7
|
+
export declare const DEFAULT_MAX_DISPLAYED_ENUM_VALUES = 10;
|
|
8
|
+
export declare const DEFAULT_ROUTING_BASE_PATH = "";
|
|
9
|
+
export declare const GRAPHQL_DEFAULT_JSON_SAMPLES_DEPTH = 1;
|
|
10
|
+
export declare const ASYNCAPI_DEFAULT_JSON_SAMPLES_DEPTH = 3;
|
|
11
|
+
export declare const GRAPHQL_DEFAULT_SAMPLES_MAX_INLINE_ARGS = 2;
|
|
12
|
+
export declare const GRAPHQL_DEFAULT_FIELD_EXPAND_LEVEL = 4;
|
|
13
|
+
export declare const JSON_SAMPLES_EXPAND_LEVEL_DEFAULT = 2;
|
|
14
|
+
export declare const GENERATED_SAMPLES_MAX_DEPTH_DEFAULT = 8;
|
|
15
|
+
export declare const MOCK_SERVER_DEFAULT_POSITION = "first";
|
|
16
|
+
export declare const MOCK_SERVER_DEFAULT_DESCRIPTION = "Mock server";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{LayoutVariant as E}from"@redocly/config";const A=E.THREE_PANEL,t={hide:!1,type:"sentiment"},L=10,o="",D=1,S=3,T=2,e=4,P=2,r=8,s="first",U="Mock server";export{S as ASYNCAPI_DEFAULT_JSON_SAMPLES_DEPTH,t as DEFAULT_FEEDBACK,A as DEFAULT_LAYOUT,L as DEFAULT_MAX_DISPLAYED_ENUM_VALUES,o as DEFAULT_ROUTING_BASE_PATH,r as GENERATED_SAMPLES_MAX_DEPTH_DEFAULT,e as GRAPHQL_DEFAULT_FIELD_EXPAND_LEVEL,D as GRAPHQL_DEFAULT_JSON_SAMPLES_DEPTH,T as GRAPHQL_DEFAULT_SAMPLES_MAX_INLINE_ARGS,P as JSON_SAMPLES_EXPAND_LEVEL_DEFAULT,U as MOCK_SERVER_DEFAULT_DESCRIPTION,s as MOCK_SERVER_DEFAULT_POSITION};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LayoutVariant, type RedocConfig } from '@redocly/config';
|
|
2
|
+
import type { ApiSpecType } from '../types/common.js';
|
|
3
|
+
import type { RawApiDocsOptions } from '../types/options.js';
|
|
4
|
+
import type { CodeSamplesConfig } from '../types/options.js';
|
|
5
|
+
export declare function argValueToBoolean(val?: string | boolean, defaultValue?: boolean): boolean;
|
|
6
|
+
export declare function argValueToNumber(value: number | string | undefined, defaultValue?: number): number;
|
|
7
|
+
export declare function argValueToInt(value: number | string | undefined, defaultValue?: number): number;
|
|
8
|
+
export declare function argValueToExpandLevel(value?: number | string | undefined, defaultValue?: number): number | undefined;
|
|
9
|
+
export declare function normalizePath(path: string): string;
|
|
10
|
+
export declare function normalizeShowExtensions(value: RedocConfig['showExtensions']): string[] | boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Normalize scrollYOffset for OpenAPI options. Safe for SSR: no DOM (querySelector).
|
|
13
|
+
* In browser, openapi-docs version also supports CSS selector strings.
|
|
14
|
+
*/
|
|
15
|
+
export declare function normalizeScrollYOffset(value: RedocConfig['scrollYOffset']): () => number;
|
|
16
|
+
export declare function normalizeCodeSamples(value?: RedocConfig['codeSamples']): CodeSamplesConfig;
|
|
17
|
+
export declare function normalizeIgnoreNamedSchemas(value: RawApiDocsOptions['ignoreNamedSchemas']): string[];
|
|
18
|
+
export declare function normalizeDownloadUrls(downloadUrls: {
|
|
19
|
+
title?: string;
|
|
20
|
+
url: string;
|
|
21
|
+
}[], type: ApiSpecType): {
|
|
22
|
+
title: string;
|
|
23
|
+
url: string;
|
|
24
|
+
}[];
|
|
25
|
+
export declare function normalizeLayout(layout: RawApiDocsOptions['layout']): LayoutVariant;
|
|
26
|
+
export declare function isGraphqlDocsSidebarHidden(options: Pick<RawApiDocsOptions, 'specType' | 'sidebar'>): boolean;
|